aws-sdk-eventbridge 1.15.0 → 1.16.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: 4eb7ed6b4accc6cbfb8e1ce4e3640344579c6fd87db77c3c45f42d19e45ea94d
4
- data.tar.gz: fb867ecba7d978a91280b855315e86d3c7f386ea7be830e4e002fe4114a94d40
3
+ metadata.gz: 4c0fa1440e1268eeca6871f8f3875ce7556df05d9809fae8d187a536097b73cd
4
+ data.tar.gz: 65a14584c37e6fe9ff3ce69406e25b1be9daba74ee0ff8dbbab1e16ae84c73dd
5
5
  SHA512:
6
- metadata.gz: 452a0e19ba3770ced83664582676c1f05c571c0911cae5ff62916bc2d55471157f0cd60a221e8c79bc37a4660a11b7050d729d4acddca082561e6f975c3f084b
7
- data.tar.gz: 8639bbf406f9cf983059528cd6bfa0252bc5da1780fcfa0ba34d996372c0dff8d00dfbb344722a0e7516bcfee2282b059c8f7a81722e4fedb0c3f509eed24510
6
+ metadata.gz: 3e7e1c743be6a1d38545ceb3c79e6b335618d7f88d8ad212abfb205e6fdbed6410e0dc637e9fec8c1addfc3e514884208a9c9281f23dffe92110ff4a586cf17e
7
+ data.tar.gz: a915b150618a7e464bc6f1018d6a4ff47a5e07e38e3953cbd703eafb131794977eb33aa5e6d4155bc436fcaf95ebccb6e0bf04da3666b3b0b5e45cbcecdaa34f
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-eventbridge/customizations'
48
48
  # @!group service
49
49
  module Aws::EventBridge
50
50
 
51
- GEM_VERSION = '1.15.0'
51
+ GEM_VERSION = '1.16.0'
52
52
 
53
53
  end
@@ -1237,6 +1237,9 @@ module Aws::EventBridge
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/eventbridge-2015-10-07/ListTargetsByRule AWS API Documentation
@@ -1778,6 +1781,13 @@ module Aws::EventBridge
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::EventBridge
2020
2030
  params: params,
2021
2031
  config: config)
2022
2032
  context[:gem_name] = 'aws-sdk-eventbridge'
2023
- context[:gem_version] = '1.15.0'
2033
+ context[:gem_version] = '1.16.0'
2024
2034
  Seahorse::Client::Request.new(handlers, context)
2025
2035
  end
2026
2036
 
@@ -32,6 +32,7 @@ module Aws::EventBridge
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::EventBridge
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::EventBridge
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::EventBridge
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::EventBridge
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::EventBridge
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::EventBridge
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/eventbridge-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::EventBridge
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::EventBridge
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/eventbridge-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::EventBridge
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::EventBridge
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/eventbridge-2015-10-07/Target AWS API Documentation
2704
2783
  #
2705
2784
  class Target < Struct.new(
@@ -2715,7 +2794,9 @@ module Aws::EventBridge
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-eventbridge
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.15.0
4
+ version: 1.16.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