aws-sdk-cloudwatchevents 1.2.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3cadaf1443d575dcf8af329d5abfee80278d431c
4
- data.tar.gz: 10dd0b222eb1d3a3f91cbcf97ec899fe6d80aa00
3
+ metadata.gz: 8c7f1282b5219d011ec0f6c84f1a11be2cf19593
4
+ data.tar.gz: 259d11a76d5cb9ebb7f03005922dd1a62be96cda
5
5
  SHA512:
6
- metadata.gz: d08a7f5387ee32e77119789c90407e2315cc680284b163e072dbc51493800882411fd2240b793a0c4700a35e034cc28702af48a145113ee907387fce30b5d809
7
- data.tar.gz: 0d5cbdda1f81211e2c5dbdc3ce06506717cffade908425193e5c0bbb51e3c4e068d3cb10807671a88eaf87bbf19be93f29e9dd565de5cad9a251125cd2d5194c
6
+ metadata.gz: 728df8191ec293e78cc3de36b882b8f1b6d946fe759989fd491f6c8867d05cf854936951f924406acb4a71783b4d03478b80baca944acb184d0f9b395d83f37c
7
+ data.tar.gz: 1fb018234f5036b0a8682c27378a0a3973a1045c5246071f24b9151a9c8e7dcfe4b4980868d30610db2fcc1bf8be1e394e15be3942588179ec2c4a4de89e1291
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-cloudwatchevents/customizations'
42
42
  # @service
43
43
  module Aws::CloudWatchEvents
44
44
 
45
- GEM_VERSION = '1.2.0'
45
+ GEM_VERSION = '1.3.0'
46
46
 
47
47
  end
@@ -440,6 +440,7 @@ module Aws::CloudWatchEvents
440
440
  # resp.targets[0].batch_parameters.job_name #=> String
441
441
  # resp.targets[0].batch_parameters.array_properties.size #=> Integer
442
442
  # resp.targets[0].batch_parameters.retry_strategy.attempts #=> Integer
443
+ # resp.targets[0].sqs_parameters.message_group_id #=> String
443
444
  # resp.next_token #=> String
444
445
  #
445
446
  # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRule AWS API Documentation
@@ -656,7 +657,7 @@ module Aws::CloudWatchEvents
656
657
  #
657
658
  # * Amazon SNS topics
658
659
  #
659
- # * Amazon SQS queues
660
+ # * Amazon SQS queues, including FIFO queues
660
661
  #
661
662
  # * The default event bus of another AWS account
662
663
  #
@@ -783,6 +784,9 @@ module Aws::CloudWatchEvents
783
784
  # attempts: 1,
784
785
  # },
785
786
  # },
787
+ # sqs_parameters: {
788
+ # message_group_id: "MessageGroupId",
789
+ # },
786
790
  # },
787
791
  # ],
788
792
  # })
@@ -934,7 +938,7 @@ module Aws::CloudWatchEvents
934
938
  params: params,
935
939
  config: config)
936
940
  context[:gem_name] = 'aws-sdk-cloudwatchevents'
937
- context[:gem_version] = '1.2.0'
941
+ context[:gem_version] = '1.3.0'
938
942
  Seahorse::Client::Request.new(handlers, context)
939
943
  end
940
944
 
@@ -48,6 +48,7 @@ module Aws::CloudWatchEvents
48
48
  ListRulesResponse = Shapes::StructureShape.new(name: 'ListRulesResponse')
49
49
  ListTargetsByRuleRequest = Shapes::StructureShape.new(name: 'ListTargetsByRuleRequest')
50
50
  ListTargetsByRuleResponse = Shapes::StructureShape.new(name: 'ListTargetsByRuleResponse')
51
+ MessageGroupId = Shapes::StringShape.new(name: 'MessageGroupId')
51
52
  NextToken = Shapes::StringShape.new(name: 'NextToken')
52
53
  PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
53
54
  Principal = Shapes::StringShape.new(name: 'Principal')
@@ -85,6 +86,7 @@ module Aws::CloudWatchEvents
85
86
  RunCommandTargetValues = Shapes::ListShape.new(name: 'RunCommandTargetValues')
86
87
  RunCommandTargets = Shapes::ListShape.new(name: 'RunCommandTargets')
87
88
  ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
89
+ SqsParameters = Shapes::StructureShape.new(name: 'SqsParameters')
88
90
  StatementId = Shapes::StringShape.new(name: 'StatementId')
89
91
  String = Shapes::StringShape.new(name: 'String')
90
92
  Target = Shapes::StructureShape.new(name: 'Target')
@@ -276,6 +278,9 @@ module Aws::CloudWatchEvents
276
278
 
277
279
  RunCommandTargets.member = Shapes::ShapeRef.new(shape: RunCommandTarget)
278
280
 
281
+ SqsParameters.add_member(:message_group_id, Shapes::ShapeRef.new(shape: MessageGroupId, location_name: "MessageGroupId"))
282
+ SqsParameters.struct_class = Types::SqsParameters
283
+
279
284
  Target.add_member(:id, Shapes::ShapeRef.new(shape: TargetId, required: true, location_name: "Id"))
280
285
  Target.add_member(:arn, Shapes::ShapeRef.new(shape: TargetArn, required: true, location_name: "Arn"))
281
286
  Target.add_member(:role_arn, Shapes::ShapeRef.new(shape: RoleArn, location_name: "RoleArn"))
@@ -286,6 +291,7 @@ module Aws::CloudWatchEvents
286
291
  Target.add_member(:run_command_parameters, Shapes::ShapeRef.new(shape: RunCommandParameters, location_name: "RunCommandParameters"))
287
292
  Target.add_member(:ecs_parameters, Shapes::ShapeRef.new(shape: EcsParameters, location_name: "EcsParameters"))
288
293
  Target.add_member(:batch_parameters, Shapes::ShapeRef.new(shape: BatchParameters, location_name: "BatchParameters"))
294
+ Target.add_member(:sqs_parameters, Shapes::ShapeRef.new(shape: SqsParameters, location_name: "SqsParameters"))
289
295
  Target.struct_class = Types::Target
290
296
 
291
297
  TargetIdList.member = Shapes::ShapeRef.new(shape: TargetId)
@@ -764,6 +764,9 @@ module Aws::CloudWatchEvents
764
764
  # attempts: 1,
765
765
  # },
766
766
  # },
767
+ # sqs_parameters: {
768
+ # message_group_id: "MessageGroupId",
769
+ # },
767
770
  # },
768
771
  # ],
769
772
  # }
@@ -1016,6 +1019,27 @@ module Aws::CloudWatchEvents
1016
1019
  include Aws::Structure
1017
1020
  end
1018
1021
 
1022
+ # This structure includes the custom parameter to be used when the
1023
+ # target is an SQS FIFO queue.
1024
+ #
1025
+ # @note When making an API call, you may pass SqsParameters
1026
+ # data as a hash:
1027
+ #
1028
+ # {
1029
+ # message_group_id: "MessageGroupId",
1030
+ # }
1031
+ #
1032
+ # @!attribute [rw] message_group_id
1033
+ # The FIFO message group ID to use as the target.
1034
+ # @return [String]
1035
+ #
1036
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/SqsParameters AWS API Documentation
1037
+ #
1038
+ class SqsParameters < Struct.new(
1039
+ :message_group_id)
1040
+ include Aws::Structure
1041
+ end
1042
+
1019
1043
  # Targets are the resources to be invoked when a rule is triggered.
1020
1044
  # Target types include EC2 instances, AWS Lambda functions, Amazon
1021
1045
  # Kinesis streams, Amazon ECS tasks, AWS Step Functions state machines,
@@ -1061,6 +1085,9 @@ module Aws::CloudWatchEvents
1061
1085
  # attempts: 1,
1062
1086
  # },
1063
1087
  # },
1088
+ # sqs_parameters: {
1089
+ # message_group_id: "MessageGroupId",
1090
+ # },
1064
1091
  # }
1065
1092
  #
1066
1093
  # @!attribute [rw] id
@@ -1137,6 +1164,11 @@ module Aws::CloudWatchEvents
1137
1164
  # [1]: http://docs.aws.amazon.com/batch/latest/userguide/jobs.html
1138
1165
  # @return [Types::BatchParameters]
1139
1166
  #
1167
+ # @!attribute [rw] sqs_parameters
1168
+ # Contains the message group ID to use when the target is a FIFO
1169
+ # queue.
1170
+ # @return [Types::SqsParameters]
1171
+ #
1140
1172
  # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/Target AWS API Documentation
1141
1173
  #
1142
1174
  class Target < Struct.new(
@@ -1149,7 +1181,8 @@ module Aws::CloudWatchEvents
1149
1181
  :kinesis_parameters,
1150
1182
  :run_command_parameters,
1151
1183
  :ecs_parameters,
1152
- :batch_parameters)
1184
+ :batch_parameters,
1185
+ :sqs_parameters)
1153
1186
  include Aws::Structure
1154
1187
  end
1155
1188
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudwatchevents
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-01 00:00:00.000000000 Z
11
+ date: 2018-03-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  version: '0'
76
76
  requirements: []
77
77
  rubyforge_project:
78
- rubygems_version: 2.5.1
78
+ rubygems_version: 2.5.2.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: AWS SDK for Ruby - Amazon CloudWatch Events