aws-sdk-eventbridge 1.11.0 → 1.16.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
  SHA256:
3
- metadata.gz: 930ed1f329ab48b879ffaa8784f776ac6214c7d1e51221a6c0aabd358bb30959
4
- data.tar.gz: 7111fd66b622d499d68ae4d7fb31fd001d974512c86cb6e5484a42150335812d
3
+ metadata.gz: 4c0fa1440e1268eeca6871f8f3875ce7556df05d9809fae8d187a536097b73cd
4
+ data.tar.gz: 65a14584c37e6fe9ff3ce69406e25b1be9daba74ee0ff8dbbab1e16ae84c73dd
5
5
  SHA512:
6
- metadata.gz: 6ed2e6d5e77c7827725ae68325888b7faeb3e91ea6deba6ca19240403c5fb87f2add8af1b7e3578a5eba3c61b82491ce9be7e0a6518df241164077e951a18a40
7
- data.tar.gz: 351626b0b0937e15adb65ba33fbfd5d22142ad966a363348595a34c1ff8b4e8966ebe0b33e2c1b631491035e447c00af21beea743151ee8bbbc1e3d17987c815
6
+ metadata.gz: 3e7e1c743be6a1d38545ceb3c79e6b335618d7f88d8ad212abfb205e6fdbed6410e0dc637e9fec8c1addfc3e514884208a9c9281f23dffe92110ff4a586cf17e
7
+ data.tar.gz: a915b150618a7e464bc6f1018d6a4ff47a5e07e38e3953cbd703eafb131794977eb33aa5e6d4155bc436fcaf95ebccb6e0bf04da3666b3b0b5e45cbcecdaa34f
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-eventbridge/customizations'
44
45
  #
45
46
  # See {Errors} for more information.
46
47
  #
47
- # @service
48
+ # @!group service
48
49
  module Aws::EventBridge
49
50
 
50
- GEM_VERSION = '1.11.0'
51
+ GEM_VERSION = '1.16.0'
51
52
 
52
53
  end
@@ -85,13 +85,28 @@ module Aws::EventBridge
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::EventBridge
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -1216,6 +1231,15 @@ module Aws::EventBridge
1216
1231
  # resp.targets[0].http_parameters.header_parameters["HeaderKey"] #=> String
1217
1232
  # resp.targets[0].http_parameters.query_string_parameters #=> Hash
1218
1233
  # resp.targets[0].http_parameters.query_string_parameters["QueryStringKey"] #=> String
1234
+ # resp.targets[0].redshift_data_parameters.secret_manager_arn #=> String
1235
+ # resp.targets[0].redshift_data_parameters.database #=> String
1236
+ # resp.targets[0].redshift_data_parameters.db_user #=> String
1237
+ # resp.targets[0].redshift_data_parameters.sql #=> String
1238
+ # resp.targets[0].redshift_data_parameters.statement_name #=> String
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
1219
1243
  # resp.next_token #=> String
1220
1244
  #
1221
1245
  # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/ListTargetsByRule AWS API Documentation
@@ -1582,6 +1606,8 @@ module Aws::EventBridge
1582
1606
  #
1583
1607
  # * Amazon API Gateway REST APIs
1584
1608
  #
1609
+ # * Redshift Clusters to invoke Data API ExecuteStatement on
1610
+ #
1585
1611
  # Creating rules with built-in targets is supported only in the AWS
1586
1612
  # Management Console. The built-in targets are `EC2 CreateSnapshot API
1587
1613
  # call`, `EC2 RebootInstances API call`, `EC2 StopInstances API call`,
@@ -1747,6 +1773,21 @@ module Aws::EventBridge
1747
1773
  # "QueryStringKey" => "QueryStringValue",
1748
1774
  # },
1749
1775
  # },
1776
+ # redshift_data_parameters: {
1777
+ # secret_manager_arn: "RedshiftSecretManagerArn",
1778
+ # database: "Database", # required
1779
+ # db_user: "DbUser",
1780
+ # sql: "Sql", # required
1781
+ # statement_name: "StatementName",
1782
+ # with_event: false,
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
+ # },
1750
1791
  # },
1751
1792
  # ],
1752
1793
  # })
@@ -1989,7 +2030,7 @@ module Aws::EventBridge
1989
2030
  params: params,
1990
2031
  config: config)
1991
2032
  context[:gem_name] = 'aws-sdk-eventbridge'
1992
- context[:gem_version] = '1.11.0'
2033
+ context[:gem_version] = '1.16.0'
1993
2034
  Seahorse::Client::Request.new(handlers, context)
1994
2035
  end
1995
2036
 
@@ -29,7 +29,10 @@ module Aws::EventBridge
29
29
  CreateEventBusResponse = Shapes::StructureShape.new(name: 'CreateEventBusResponse')
30
30
  CreatePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'CreatePartnerEventSourceRequest')
31
31
  CreatePartnerEventSourceResponse = Shapes::StructureShape.new(name: 'CreatePartnerEventSourceResponse')
32
+ Database = Shapes::StringShape.new(name: 'Database')
33
+ DbUser = Shapes::StringShape.new(name: 'DbUser')
32
34
  DeactivateEventSourceRequest = Shapes::StructureShape.new(name: 'DeactivateEventSourceRequest')
35
+ DeadLetterConfig = Shapes::StructureShape.new(name: 'DeadLetterConfig')
33
36
  DeleteEventBusRequest = Shapes::StructureShape.new(name: 'DeleteEventBusRequest')
34
37
  DeletePartnerEventSourceRequest = Shapes::StructureShape.new(name: 'DeletePartnerEventSourceRequest')
35
38
  DeleteRuleRequest = Shapes::StructureShape.new(name: 'DeleteRuleRequest')
@@ -92,6 +95,8 @@ module Aws::EventBridge
92
95
  ListTargetsByRuleResponse = Shapes::StructureShape.new(name: 'ListTargetsByRuleResponse')
93
96
  ManagedBy = Shapes::StringShape.new(name: 'ManagedBy')
94
97
  ManagedRuleException = Shapes::StructureShape.new(name: 'ManagedRuleException')
98
+ MaximumEventAgeInSeconds = Shapes::IntegerShape.new(name: 'MaximumEventAgeInSeconds')
99
+ MaximumRetryAttempts = Shapes::IntegerShape.new(name: 'MaximumRetryAttempts')
95
100
  MessageGroupId = Shapes::StringShape.new(name: 'MessageGroupId')
96
101
  NetworkConfiguration = Shapes::StructureShape.new(name: 'NetworkConfiguration')
97
102
  NextToken = Shapes::StringShape.new(name: 'NextToken')
@@ -128,13 +133,17 @@ module Aws::EventBridge
128
133
  QueryStringKey = Shapes::StringShape.new(name: 'QueryStringKey')
129
134
  QueryStringParametersMap = Shapes::MapShape.new(name: 'QueryStringParametersMap')
130
135
  QueryStringValue = Shapes::StringShape.new(name: 'QueryStringValue')
136
+ RedshiftDataParameters = Shapes::StructureShape.new(name: 'RedshiftDataParameters')
137
+ RedshiftSecretManagerArn = Shapes::StringShape.new(name: 'RedshiftSecretManagerArn')
131
138
  RemovePermissionRequest = Shapes::StructureShape.new(name: 'RemovePermissionRequest')
132
139
  RemoveTargetsRequest = Shapes::StructureShape.new(name: 'RemoveTargetsRequest')
133
140
  RemoveTargetsResponse = Shapes::StructureShape.new(name: 'RemoveTargetsResponse')
134
141
  RemoveTargetsResultEntry = Shapes::StructureShape.new(name: 'RemoveTargetsResultEntry')
135
142
  RemoveTargetsResultEntryList = Shapes::ListShape.new(name: 'RemoveTargetsResultEntryList')
136
143
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
144
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
137
145
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
146
+ RetryPolicy = Shapes::StructureShape.new(name: 'RetryPolicy')
138
147
  RoleArn = Shapes::StringShape.new(name: 'RoleArn')
139
148
  Rule = Shapes::StructureShape.new(name: 'Rule')
140
149
  RuleArn = Shapes::StringShape.new(name: 'RuleArn')
@@ -150,8 +159,10 @@ module Aws::EventBridge
150
159
  RunCommandTargetValues = Shapes::ListShape.new(name: 'RunCommandTargetValues')
151
160
  RunCommandTargets = Shapes::ListShape.new(name: 'RunCommandTargets')
152
161
  ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
162
+ Sql = Shapes::StringShape.new(name: 'Sql')
153
163
  SqsParameters = Shapes::StructureShape.new(name: 'SqsParameters')
154
164
  StatementId = Shapes::StringShape.new(name: 'StatementId')
165
+ StatementName = Shapes::StringShape.new(name: 'StatementName')
155
166
  String = Shapes::StringShape.new(name: 'String')
156
167
  StringList = Shapes::ListShape.new(name: 'StringList')
157
168
  Tag = Shapes::StructureShape.new(name: 'Tag')
@@ -222,6 +233,9 @@ module Aws::EventBridge
222
233
  DeactivateEventSourceRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventSourceName, required: true, location_name: "Name"))
223
234
  DeactivateEventSourceRequest.struct_class = Types::DeactivateEventSourceRequest
224
235
 
236
+ DeadLetterConfig.add_member(:arn, Shapes::ShapeRef.new(shape: ResourceArn, location_name: "Arn"))
237
+ DeadLetterConfig.struct_class = Types::DeadLetterConfig
238
+
225
239
  DeleteEventBusRequest.add_member(:name, Shapes::ShapeRef.new(shape: EventBusName, required: true, location_name: "Name"))
226
240
  DeleteEventBusRequest.struct_class = Types::DeleteEventBusRequest
227
241
 
@@ -516,6 +530,14 @@ module Aws::EventBridge
516
530
  QueryStringParametersMap.key = Shapes::ShapeRef.new(shape: QueryStringKey)
517
531
  QueryStringParametersMap.value = Shapes::ShapeRef.new(shape: QueryStringValue)
518
532
 
533
+ RedshiftDataParameters.add_member(:secret_manager_arn, Shapes::ShapeRef.new(shape: RedshiftSecretManagerArn, location_name: "SecretManagerArn"))
534
+ RedshiftDataParameters.add_member(:database, Shapes::ShapeRef.new(shape: Database, required: true, location_name: "Database"))
535
+ RedshiftDataParameters.add_member(:db_user, Shapes::ShapeRef.new(shape: DbUser, location_name: "DbUser"))
536
+ RedshiftDataParameters.add_member(:sql, Shapes::ShapeRef.new(shape: Sql, required: true, location_name: "Sql"))
537
+ RedshiftDataParameters.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementName, location_name: "StatementName"))
538
+ RedshiftDataParameters.add_member(:with_event, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithEvent"))
539
+ RedshiftDataParameters.struct_class = Types::RedshiftDataParameters
540
+
519
541
  RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, required: true, location_name: "StatementId"))
520
542
  RemovePermissionRequest.add_member(:event_bus_name, Shapes::ShapeRef.new(shape: NonPartnerEventBusName, location_name: "EventBusName"))
521
543
  RemovePermissionRequest.struct_class = Types::RemovePermissionRequest
@@ -541,6 +563,10 @@ module Aws::EventBridge
541
563
 
542
564
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
543
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
+
544
570
  Rule.add_member(:name, Shapes::ShapeRef.new(shape: RuleName, location_name: "Name"))
545
571
  Rule.add_member(:arn, Shapes::ShapeRef.new(shape: RuleArn, location_name: "Arn"))
546
572
  Rule.add_member(:event_pattern, Shapes::ShapeRef.new(shape: EventPattern, location_name: "EventPattern"))
@@ -598,6 +624,9 @@ module Aws::EventBridge
598
624
  Target.add_member(:batch_parameters, Shapes::ShapeRef.new(shape: BatchParameters, location_name: "BatchParameters"))
599
625
  Target.add_member(:sqs_parameters, Shapes::ShapeRef.new(shape: SqsParameters, location_name: "SqsParameters"))
600
626
  Target.add_member(:http_parameters, Shapes::ShapeRef.new(shape: HttpParameters, location_name: "HttpParameters"))
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"))
601
630
  Target.struct_class = Types::Target
602
631
 
603
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
  #
@@ -2047,6 +2070,21 @@ module Aws::EventBridge
2047
2070
  # "QueryStringKey" => "QueryStringValue",
2048
2071
  # },
2049
2072
  # },
2073
+ # redshift_data_parameters: {
2074
+ # secret_manager_arn: "RedshiftSecretManagerArn",
2075
+ # database: "Database", # required
2076
+ # db_user: "DbUser",
2077
+ # sql: "Sql", # required
2078
+ # statement_name: "StatementName",
2079
+ # with_event: false,
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
+ # },
2050
2088
  # },
2051
2089
  # ],
2052
2090
  # }
@@ -2117,6 +2155,64 @@ module Aws::EventBridge
2117
2155
  include Aws::Structure
2118
2156
  end
2119
2157
 
2158
+ # These are custom parameters to be used when the target is a Redshift
2159
+ # cluster to invoke the Redshift Data API ExecuteStatement based on
2160
+ # EventBridge events.
2161
+ #
2162
+ # @note When making an API call, you may pass RedshiftDataParameters
2163
+ # data as a hash:
2164
+ #
2165
+ # {
2166
+ # secret_manager_arn: "RedshiftSecretManagerArn",
2167
+ # database: "Database", # required
2168
+ # db_user: "DbUser",
2169
+ # sql: "Sql", # required
2170
+ # statement_name: "StatementName",
2171
+ # with_event: false,
2172
+ # }
2173
+ #
2174
+ # @!attribute [rw] secret_manager_arn
2175
+ # The name or ARN of the secret that enables access to the database.
2176
+ # Required when authenticating using AWS Secrets Manager.
2177
+ # @return [String]
2178
+ #
2179
+ # @!attribute [rw] database
2180
+ # The name of the database. Required when authenticating using
2181
+ # temporary credentials.
2182
+ # @return [String]
2183
+ #
2184
+ # @!attribute [rw] db_user
2185
+ # The database user name. Required when authenticating using temporary
2186
+ # credentials.
2187
+ # @return [String]
2188
+ #
2189
+ # @!attribute [rw] sql
2190
+ # The SQL statement text to run.
2191
+ # @return [String]
2192
+ #
2193
+ # @!attribute [rw] statement_name
2194
+ # The name of the SQL statement. You can name the SQL statement when
2195
+ # you create it to identify the query.
2196
+ # @return [String]
2197
+ #
2198
+ # @!attribute [rw] with_event
2199
+ # Indicates whether to send an event back to EventBridge after the SQL
2200
+ # statement runs.
2201
+ # @return [Boolean]
2202
+ #
2203
+ # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/RedshiftDataParameters AWS API Documentation
2204
+ #
2205
+ class RedshiftDataParameters < Struct.new(
2206
+ :secret_manager_arn,
2207
+ :database,
2208
+ :db_user,
2209
+ :sql,
2210
+ :statement_name,
2211
+ :with_event)
2212
+ SENSITIVE = []
2213
+ include Aws::Structure
2214
+ end
2215
+
2120
2216
  # @note When making an API call, you may pass RemovePermissionRequest
2121
2217
  # data as a hash:
2122
2218
  #
@@ -2240,6 +2336,38 @@ module Aws::EventBridge
2240
2336
  #
2241
2337
  class ResourceNotFoundException < Aws::EmptyStructure; end
2242
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
+
2243
2371
  # Contains information about a rule in Amazon EventBridge.
2244
2372
  #
2245
2373
  # @!attribute [rw] name
@@ -2524,6 +2652,21 @@ module Aws::EventBridge
2524
2652
  # "QueryStringKey" => "QueryStringValue",
2525
2653
  # },
2526
2654
  # },
2655
+ # redshift_data_parameters: {
2656
+ # secret_manager_arn: "RedshiftSecretManagerArn",
2657
+ # database: "Database", # required
2658
+ # db_user: "DbUser",
2659
+ # sql: "Sql", # required
2660
+ # statement_name: "StatementName",
2661
+ # with_event: false,
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
+ # },
2527
2670
  # }
2528
2671
  #
2529
2672
  # @!attribute [rw] id
@@ -2617,6 +2760,25 @@ module Aws::EventBridge
2617
2760
  # keys/values as part of your target invoking request.
2618
2761
  # @return [Types::HttpParameters]
2619
2762
  #
2763
+ # @!attribute [rw] redshift_data_parameters
2764
+ # Contains the Redshift Data API parameters to use when the target is
2765
+ # a Redshift cluster.
2766
+ #
2767
+ # If you specify a Redshift Cluster as a Target, you can use this to
2768
+ # specify parameters to invoke the Redshift Data API ExecuteStatement
2769
+ # based on EventBridge events.
2770
+ # @return [Types::RedshiftDataParameters]
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
+ #
2620
2782
  # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/Target AWS API Documentation
2621
2783
  #
2622
2784
  class Target < Struct.new(
@@ -2631,7 +2793,10 @@ module Aws::EventBridge
2631
2793
  :ecs_parameters,
2632
2794
  :batch_parameters,
2633
2795
  :sqs_parameters,
2634
- :http_parameters)
2796
+ :http_parameters,
2797
+ :redshift_data_parameters,
2798
+ :dead_letter_config,
2799
+ :retry_policy)
2635
2800
  SENSITIVE = []
2636
2801
  include Aws::Structure
2637
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.11.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-07-09 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
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.109.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement