Class: TencentCloud::Mps::V20190612::AwsS3FileUploadTrigger
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mps::V20190612::AwsS3FileUploadTrigger
- Defined in:
- lib/v20190612/models.rb
Overview
AWS S3 文件是上传触发器。
Instance Attribute Summary collapse
-
#AwsSQS ⇒ Object
us-east-1 eu-west-3 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:队列和桶需要在同一区域。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Dir ⇒ Object
us-east-1 eu-west-3 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:队列和桶需要在同一区域。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Formats ⇒ Object
us-east-1 eu-west-3 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:队列和桶需要在同一区域。 注意:此字段可能返回 null,表示取不到有效值。.
-
#S3Bucket ⇒ Object
us-east-1 eu-west-3 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:队列和桶需要在同一区域。 注意:此字段可能返回 null,表示取不到有效值。.
-
#S3Region ⇒ Object
us-east-1 eu-west-3 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:队列和桶需要在同一区域。 注意:此字段可能返回 null,表示取不到有效值。.
-
#S3SecretId ⇒ Object
us-east-1 eu-west-3 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:队列和桶需要在同一区域。 注意:此字段可能返回 null,表示取不到有效值。.
-
#S3SecretKey ⇒ Object
us-east-1 eu-west-3 注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。 注意:队列和桶需要在同一区域。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(s3bucket = nil, s3region = nil, dir = nil, formats = nil, s3secretid = nil, s3secretkey = nil, awssqs = nil) ⇒ AwsS3FileUploadTrigger
constructor
A new instance of AwsS3FileUploadTrigger.
Constructor Details
#initialize(s3bucket = nil, s3region = nil, dir = nil, formats = nil, s3secretid = nil, s3secretkey = nil, awssqs = nil) ⇒ AwsS3FileUploadTrigger
Returns a new instance of AwsS3FileUploadTrigger.
5696 5697 5698 5699 5700 5701 5702 5703 5704 |
# File 'lib/v20190612/models.rb', line 5696 def initialize(s3bucket=nil, s3region=nil, dir=nil, formats=nil, s3secretid=nil, s3secretkey=nil, awssqs=nil) @S3Bucket = s3bucket @S3Region = s3region @Dir = dir @Formats = formats @S3SecretId = s3secretid @S3SecretKey = s3secretkey @AwsSQS = awssqs end |
Instance Attribute Details
#AwsSQS ⇒ Object
us-east-1 eu-west-3 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:队列和桶需要在同一区域。注意:此字段可能返回 null,表示取不到有效值。
5694 5695 5696 |
# File 'lib/v20190612/models.rb', line 5694 def AwsSQS @AwsSQS end |
#Dir ⇒ Object
us-east-1 eu-west-3 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:队列和桶需要在同一区域。注意:此字段可能返回 null,表示取不到有效值。
5694 5695 5696 |
# File 'lib/v20190612/models.rb', line 5694 def Dir @Dir end |
#Formats ⇒ Object
us-east-1 eu-west-3 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:队列和桶需要在同一区域。注意:此字段可能返回 null,表示取不到有效值。
5694 5695 5696 |
# File 'lib/v20190612/models.rb', line 5694 def Formats @Formats end |
#S3Bucket ⇒ Object
us-east-1 eu-west-3 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:队列和桶需要在同一区域。注意:此字段可能返回 null,表示取不到有效值。
5694 5695 5696 |
# File 'lib/v20190612/models.rb', line 5694 def S3Bucket @S3Bucket end |
#S3Region ⇒ Object
us-east-1 eu-west-3 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:队列和桶需要在同一区域。注意:此字段可能返回 null,表示取不到有效值。
5694 5695 5696 |
# File 'lib/v20190612/models.rb', line 5694 def S3Region @S3Region end |
#S3SecretId ⇒ Object
us-east-1 eu-west-3 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:队列和桶需要在同一区域。注意:此字段可能返回 null,表示取不到有效值。
5694 5695 5696 |
# File 'lib/v20190612/models.rb', line 5694 def S3SecretId @S3SecretId end |
#S3SecretKey ⇒ Object
us-east-1 eu-west-3 注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。注意:队列和桶需要在同一区域。注意:此字段可能返回 null,表示取不到有效值。
5694 5695 5696 |
# File 'lib/v20190612/models.rb', line 5694 def S3SecretKey @S3SecretKey end |
Instance Method Details
#deserialize(params) ⇒ Object
5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 |
# File 'lib/v20190612/models.rb', line 5706 def deserialize(params) @S3Bucket = params['S3Bucket'] @S3Region = params['S3Region'] @Dir = params['Dir'] @Formats = params['Formats'] @S3SecretId = params['S3SecretId'] @S3SecretKey = params['S3SecretKey'] unless params['AwsSQS'].nil? @AwsSQS = AwsSQS.new @AwsSQS.deserialize(params['AwsSQS']) end end |