aws-sdk-cloudwatchevents 1.37.0 → 1.38.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01e6bef957bfde6779a4940999120738a761dd282ea1114b65449d8cc81bdce5
4
- data.tar.gz: b8880ad923ae03e661233d6f8f76a2937702901ae21c1e399c52956e5a5cb0f5
3
+ metadata.gz: '0480117e540fcb334262c222149f76c73b8f529e11370e8eadb501ba879fa8b2'
4
+ data.tar.gz: c41361261ba74687c207804cb2e399e71a6dcf6612a67f9bcb1b162e4eae8946
5
5
  SHA512:
6
- metadata.gz: e9600824ee5d5a424476fa003e56bd4be7cb639f9335721c8a728308132bb3a5e8be0266f4a2aa375f98132576419bf3b8f56ab7860915afffd0e0dceb37ee45
7
- data.tar.gz: 48e68de03e9f217cd3ae59b8c7ba23163458e3aa0d2460720368e71057b258f6e6fa171fb867132d76c6f635d4fda53136db618898218474459323aa844b23a5
6
+ metadata.gz: 21137ed8b17d72281691ae5f921aa0f7a6d235eb0531ed3cf8c9b239d051da515d7f82431831bd9f6d501842cdf46c5dc594865b2a7748ebddb5c9fa15a8ce0d
7
+ data.tar.gz: 622d14da3f058ea97ae9a9b48f0c03cee1c31af34a5cb73a12d92a4c28e174a857a7bc8bd6120ea115d2e572aebe68312fab47b74e0b6cd670bbf6b8a71a33b8
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-cloudwatchevents/customizations'
48
48
  # @!group service
49
49
  module Aws::CloudWatchEvents
50
50
 
51
- GEM_VERSION = '1.37.0'
51
+ GEM_VERSION = '1.38.0'
52
52
 
53
53
  end
@@ -1237,6 +1237,9 @@ module Aws::CloudWatchEvents
1237
1237
  # resp.targets[0].redshift_data_parameters.sql #=> String
1238
1238
  # resp.targets[0].redshift_data_parameters.statement_name #=> String
1239
1239
  # resp.targets[0].redshift_data_parameters.with_event #=> Boolean
1240
+ # resp.targets[0].dead_letter_config.arn #=> String
1241
+ # resp.targets[0].retry_policy.maximum_retry_attempts #=> Integer
1242
+ # resp.targets[0].retry_policy.maximum_event_age_in_seconds #=> Integer
1240
1243
  # resp.next_token #=> String
1241
1244
  #
1242
1245
  # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/ListTargetsByRule AWS API Documentation
@@ -1778,6 +1781,13 @@ module Aws::CloudWatchEvents
1778
1781
  # statement_name: "StatementName",
1779
1782
  # with_event: false,
1780
1783
  # },
1784
+ # dead_letter_config: {
1785
+ # arn: "ResourceArn",
1786
+ # },
1787
+ # retry_policy: {
1788
+ # maximum_retry_attempts: 1,
1789
+ # maximum_event_age_in_seconds: 1,
1790
+ # },
1781
1791
  # },
1782
1792
  # ],
1783
1793
  # })
@@ -2020,7 +2030,7 @@ module Aws::CloudWatchEvents
2020
2030
  params: params,
2021
2031
  config: config)
2022
2032
  context[:gem_name] = 'aws-sdk-cloudwatchevents'
2023
- context[:gem_version] = '1.37.0'
2033
+ context[:gem_version] = '1.38.0'
2024
2034
  Seahorse::Client::Request.new(handlers, context)
2025
2035
  end
2026
2036
 
@@ -32,6 +32,7 @@ module Aws::CloudWatchEvents
32
32
  Database = Shapes::StringShape.new(name: 'Database')
33
33
  DbUser = Shapes::StringShape.new(name: 'DbUser')
34
34
  DeactivateEventSourceRequest = Shapes::StructureShape.new(name: 'DeactivateEventSourceRequest')
35
+ DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
35
36
  DeleteEventBusRequest = Shapes::StructureShape.new(name: 'DeleteEventBusRequest')
36
37
  DeletePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'DeletePartnerEventSourceRequest')
37
38
  DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
@@ -94,6 +95,8 @@ module Aws::CloudWatchEvents
94
95
  ListTargetsByRuleResponse = Shapes::StructureShape.new(name: 'ListTargetsByRuleResponse')
95
96
  ManagedBy = Shapes::StringShape.new(name: 'ManagedBy')
96
97
  ManagedRuleException = Shapes::StructureShape.new(name: 'ManagedRuleException')
98
+ MaximumEventAgeInSeconds = Shapes::IntegerShape.new(name: 'MaximumEventAgeInSeconds')
99
+ MaximumRetryAttempts = Shapes::IntegerShape.new(name: 'MaximumRetryAttempts')
97
100
  MessageGroupId = Shapes::StringShape.new(name: 'MessageGroupId')
98
101
  NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
99
102
  NextToken = Shapes::StringShape.new(name: 'NextToken')
@@ -138,7 +141,9 @@ module Aws::CloudWatchEvents
138
141
  RemoveTargetsResultEntry = Shapes::StructureShape.new(name: 'RemoveTargetsResultEntry')
139
142
  RemoveTargetsResultEntryList = Shapes::ListShape.new(name: 'RemoveTargetsResultEntryList')
140
143
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
144
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
141
145
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
146
+ RetryPolicy = Shapes::StructureShape.new(name: 'RetryPolicy')
142
147
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
143
148
  Rule = Shapes::StructureShape.new(name: 'Rule')
144
149
  RuleArn = Shapes::StringShape.new(name: 'RuleArn')
@@ -228,6 +233,9 @@ module Aws::CloudWatchEvents
228
233
  DeactivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
229
234
  DeactivateEventSourceRequest.struct_class = Types::DeactivateEventSourceRequest
230
235
 
236
+ DeadLetterConfig.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "Arn"))
237
+ DeadLetterConfig.struct_class = Types::DeadLetterConfig
238
+
231
239
  DeleteEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
232
240
  DeleteEventBusRequest.struct_class = Types::DeleteEventBusRequest
233
241
 
@@ -555,6 +563,10 @@ module Aws::CloudWatchEvents
555
563
 
556
564
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
557
565
 
566
+ RetryPolicy.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttempts, location_name: "MaximumRetryAttempts"))
567
+ RetryPolicy.add_member(:maximum_event_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumEventAgeInSeconds, location_name: "MaximumEventAgeInSeconds"))
568
+ RetryPolicy.struct_class = Types::RetryPolicy
569
+
558
570
  Rule.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
559
571
  Rule.add_member(:arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "Arn"))
560
572
  Rule.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
@@ -613,6 +625,8 @@ module Aws::CloudWatchEvents
613
625
  Target.add_member(:sqs_parameters, Shapes::ShapeRef.new(shape: SqsParameters, location_name: "SqsParameters"))
614
626
  Target.add_member(:http_parameters, Shapes::ShapeRef.new(shape: HttpParameters, location_name: "HttpParameters"))
615
627
  Target.add_member(:redshift_data_parameters, Shapes::ShapeRef.new(shape: RedshiftDataParameters, location_name: "RedshiftDataParameters"))
628
+ Target.add_member(:dead_letter_config, Shapes::ShapeRef.new(shape: DeadLetterConfig, location_name: "DeadLetterConfig"))
629
+ Target.add_member(:retry_policy, Shapes::ShapeRef.new(shape: RetryPolicy, location_name: "RetryPolicy"))
616
630
  Target.struct_class = Types::Target
617
631
 
618
632
  TargetIdList.member = Shapes::ShapeRef.new(shape: TargetId)
@@ -338,6 +338,29 @@ module Aws::CloudWatchEvents
338
338
  include Aws::Structure
339
339
  end
340
340
 
341
+ # A `DeadLetterConfig` object that contains information about a
342
+ # dead-letter queue configuration.
343
+ #
344
+ # @note When making an API call, you may pass DeadLetterConfig
345
+ # data as a hash:
346
+ #
347
+ # {
348
+ # arn: "ResourceArn",
349
+ # }
350
+ #
351
+ # @!attribute [rw] arn
352
+ # The ARN of the SQS queue specified as the target for the dead-letter
353
+ # queue.
354
+ # @return [String]
355
+ #
356
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/DeadLetterConfig AWS API Documentation
357
+ #
358
+ class DeadLetterConfig < Struct.new(
359
+ :arn)
360
+ SENSITIVE = []
361
+ include Aws::Structure
362
+ end
363
+
341
364
  # @note When making an API call, you may pass DeleteEventBusRequest
342
365
  # data as a hash:
343
366
  #
@@ -2055,6 +2078,13 @@ module Aws::CloudWatchEvents
2055
2078
  # statement_name: "StatementName",
2056
2079
  # with_event: false,
2057
2080
  # },
2081
+ # dead_letter_config: {
2082
+ # arn: "ResourceArn",
2083
+ # },
2084
+ # retry_policy: {
2085
+ # maximum_retry_attempts: 1,
2086
+ # maximum_event_age_in_seconds: 1,
2087
+ # },
2058
2088
  # },
2059
2089
  # ],
2060
2090
  # }
@@ -2306,6 +2336,38 @@ module Aws::CloudWatchEvents
2306
2336
  #
2307
2337
  class ResourceNotFoundException < Aws::EmptyStructure; end
2308
2338
 
2339
+ # A `RetryPolicy` object that includes information about the retry
2340
+ # policy settings.
2341
+ #
2342
+ # @note When making an API call, you may pass RetryPolicy
2343
+ # data as a hash:
2344
+ #
2345
+ # {
2346
+ # maximum_retry_attempts: 1,
2347
+ # maximum_event_age_in_seconds: 1,
2348
+ # }
2349
+ #
2350
+ # @!attribute [rw] maximum_retry_attempts
2351
+ # The maximum number of retry attempts to make before the request
2352
+ # fails. Retry attempts continue until either the maximum number of
2353
+ # attempts is made or until the duration of the
2354
+ # `MaximumEventAgeInSeconds` is met.
2355
+ # @return [Integer]
2356
+ #
2357
+ # @!attribute [rw] maximum_event_age_in_seconds
2358
+ # The maximum amount of time, in seconds, to continue to make retry
2359
+ # attempts.
2360
+ # @return [Integer]
2361
+ #
2362
+ # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/RetryPolicy AWS API Documentation
2363
+ #
2364
+ class RetryPolicy < Struct.new(
2365
+ :maximum_retry_attempts,
2366
+ :maximum_event_age_in_seconds)
2367
+ SENSITIVE = []
2368
+ include Aws::Structure
2369
+ end
2370
+
2309
2371
  # Contains information about a rule in Amazon EventBridge.
2310
2372
  #
2311
2373
  # @!attribute [rw] name
@@ -2598,6 +2660,13 @@ module Aws::CloudWatchEvents
2598
2660
  # statement_name: "StatementName",
2599
2661
  # with_event: false,
2600
2662
  # },
2663
+ # dead_letter_config: {
2664
+ # arn: "ResourceArn",
2665
+ # },
2666
+ # retry_policy: {
2667
+ # maximum_retry_attempts: 1,
2668
+ # maximum_event_age_in_seconds: 1,
2669
+ # },
2601
2670
  # }
2602
2671
  #
2603
2672
  # @!attribute [rw] id
@@ -2700,6 +2769,16 @@ module Aws::CloudWatchEvents
2700
2769
  # based on EventBridge events.
2701
2770
  # @return [Types::RedshiftDataParameters]
2702
2771
  #
2772
+ # @!attribute [rw] dead_letter_config
2773
+ # The `DeadLetterConfig` that defines the target queue to send
2774
+ # dead-letter queue events to.
2775
+ # @return [Types::DeadLetterConfig]
2776
+ #
2777
+ # @!attribute [rw] retry_policy
2778
+ # The `RetryPolicy` object that contains the retry policy
2779
+ # configuration to use for the dead-letter queue.
2780
+ # @return [Types::RetryPolicy]
2781
+ #
2703
2782
  # @see http://docs.aws.amazon.com/goto/WebAPI/events-2015-10-07/Target AWS API Documentation
2704
2783
  #
2705
2784
  class Target < Struct.new(
@@ -2715,7 +2794,9 @@ module Aws::CloudWatchEvents
2715
2794
  :batch_parameters,
2716
2795
  :sqs_parameters,
2717
2796
  :http_parameters,
2718
- :redshift_data_parameters)
2797
+ :redshift_data_parameters,
2798
+ :dead_letter_config,
2799
+ :retry_policy)
2719
2800
  SENSITIVE = []
2720
2801
  include Aws::Structure
2721
2802
  end
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.37.0
4
+ version: 1.38.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: 2020-09-30 00:00:00.000000000 Z
11
+ date: 2020-10-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core