aws-sdk-eventbridge 1.42.0 → 1.44.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: 45b0975c8e25a947ab7e9bf75ed24a1b109feae359e582499e55321d0b83292c
4
- data.tar.gz: 5efce2887ff6d9f0f28c8c6cd562e96001110489d165d7c513c8c79cde71482a
3
+ metadata.gz: 62e150069cae4277e6ac2900042bdca98ec500a95901fcf1f803f29b99142246
4
+ data.tar.gz: '009077085d77d06d325f02c463f10187b9d3ec8e344bdfebbb565f0b4647f813'
5
5
  SHA512:
6
- metadata.gz: 758711c1643775c3618b20893c94b1037fe2b6625e0ebd4604efb99d9f68979c5b1a868e4d8f1c192c21d9f6328190311c217c22c698a5cb6d28c3bf115e151d
7
- data.tar.gz: 95eb7d36668e709367a5e91cdb5f8d812eec572fa436e31b7a44c710b4fb635da6f10f5cbd45753e6a5989c8979c785414c25f2a58c7f47da75f980123fdd333
6
+ metadata.gz: a75b0f433aadba4857b4168b498d1ce1511b0ad1aeb920ce284cdf1ae72a8808828a472b9ee51286fcff176d387fb0440c20b7bd10b7d9e36f5f874e12db051d
7
+ data.tar.gz: 55ef28332818b1c3cea36e8f962fe8faa0ee9a2d1e8ea54ebd14672c36a90bb2fb64103b8e82c09684ee8a540f8aadd129d817abf60913a6c21015f3ffd3ad72
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.44.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.43.0 (2023-04-11)
10
+ ------------------
11
+
12
+ * Feature - EventBridge PutTarget support for multiple SQL arguments on RedshiftDataParameters
13
+
4
14
  1.42.0 (2023-01-26)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.42.0
1
+ 1.44.0
@@ -275,6 +275,11 @@ module Aws::EventBridge
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -2431,6 +2436,8 @@ module Aws::EventBridge
2431
2436
  # resp.targets[0].redshift_data_parameters.sql #=> String
2432
2437
  # resp.targets[0].redshift_data_parameters.statement_name #=> String
2433
2438
  # resp.targets[0].redshift_data_parameters.with_event #=> Boolean
2439
+ # resp.targets[0].redshift_data_parameters.sqls #=> Array
2440
+ # resp.targets[0].redshift_data_parameters.sqls[0] #=> String
2434
2441
  # resp.targets[0].sage_maker_pipeline_parameters.pipeline_parameter_list #=> Array
2435
2442
  # resp.targets[0].sage_maker_pipeline_parameters.pipeline_parameter_list[0].name #=> String
2436
2443
  # resp.targets[0].sage_maker_pipeline_parameters.pipeline_parameter_list[0].value #=> String
@@ -3078,9 +3085,10 @@ module Aws::EventBridge
3078
3085
  # secret_manager_arn: "RedshiftSecretManagerArn",
3079
3086
  # database: "Database", # required
3080
3087
  # db_user: "DbUser",
3081
- # sql: "Sql", # required
3088
+ # sql: "Sql",
3082
3089
  # statement_name: "StatementName",
3083
3090
  # with_event: false,
3091
+ # sqls: ["Sql"],
3084
3092
  # },
3085
3093
  # sage_maker_pipeline_parameters: {
3086
3094
  # pipeline_parameter_list: [
@@ -3744,7 +3752,7 @@ module Aws::EventBridge
3744
3752
  params: params,
3745
3753
  config: config)
3746
3754
  context[:gem_name] = 'aws-sdk-eventbridge'
3747
- context[:gem_version] = '1.42.0'
3755
+ context[:gem_version] = '1.44.0'
3748
3756
  Seahorse::Client::Request.new(handlers, context)
3749
3757
  end
3750
3758
 
@@ -301,6 +301,7 @@ module Aws::EventBridge
301
301
  Secondary = Shapes::StructureShape.new(name: 'Secondary')
302
302
  SecretsManagerSecretArn = Shapes::StringShape.new(name: 'SecretsManagerSecretArn')
303
303
  Sql = Shapes::StringShape.new(name: 'Sql')
304
+ Sqls = Shapes::ListShape.new(name: 'Sqls')
304
305
  SqsParameters = Shapes::StructureShape.new(name: 'SqsParameters')
305
306
  StartReplayRequest = Shapes::StructureShape.new(name: 'StartReplayRequest')
306
307
  StartReplayResponse = Shapes::StructureShape.new(name: 'StartReplayResponse')
@@ -1094,9 +1095,10 @@ module Aws::EventBridge
1094
1095
  RedshiftDataParameters.add_member(:secret_manager_arn, Shapes::ShapeRef.new(shape: RedshiftSecretManagerArn, location_name: "SecretManagerArn"))
1095
1096
  RedshiftDataParameters.add_member(:database, Shapes::ShapeRef.new(shape: Database, required: true, location_name: "Database"))
1096
1097
  RedshiftDataParameters.add_member(:db_user, Shapes::ShapeRef.new(shape: DbUser, location_name: "DbUser"))
1097
- RedshiftDataParameters.add_member(:sql, Shapes::ShapeRef.new(shape: Sql, required: true, location_name: "Sql"))
1098
+ RedshiftDataParameters.add_member(:sql, Shapes::ShapeRef.new(shape: Sql, location_name: "Sql"))
1098
1099
  RedshiftDataParameters.add_member(:statement_name, Shapes::ShapeRef.new(shape: StatementName, location_name: "StatementName"))
1099
1100
  RedshiftDataParameters.add_member(:with_event, Shapes::ShapeRef.new(shape: Boolean, location_name: "WithEvent"))
1101
+ RedshiftDataParameters.add_member(:sqls, Shapes::ShapeRef.new(shape: Sqls, location_name: "Sqls"))
1100
1102
  RedshiftDataParameters.struct_class = Types::RedshiftDataParameters
1101
1103
 
1102
1104
  RemovePermissionRequest.add_member(:statement_id, Shapes::ShapeRef.new(shape: StatementId, location_name: "StatementId"))
@@ -1192,6 +1194,8 @@ module Aws::EventBridge
1192
1194
  Secondary.add_member(:route, Shapes::ShapeRef.new(shape: Route, required: true, location_name: "Route"))
1193
1195
  Secondary.struct_class = Types::Secondary
1194
1196
 
1197
+ Sqls.member = Shapes::ShapeRef.new(shape: Sql)
1198
+
1195
1199
  SqsParameters.add_member(:message_group_id, Shapes::ShapeRef.new(shape: MessageGroupId, location_name: "MessageGroupId"))
1196
1200
  SqsParameters.struct_class = Types::SqsParameters
1197
1201
 
@@ -57,9 +57,6 @@ module Aws::EventBridge
57
57
 
58
58
  def initialize(options = {})
59
59
  self[:region] = options[:region]
60
- if self[:region].nil?
61
- raise ArgumentError, "Missing required EndpointParameter: :region"
62
- end
63
60
  self[:use_dual_stack] = options[:use_dual_stack]
64
61
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
65
62
  if self[:use_dual_stack].nil?
@@ -15,60 +15,63 @@ module Aws::EventBridge
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
17
  endpoint_id = parameters.endpoint_id
18
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
19
- if Aws::Endpoints::Matchers.set?(endpoint_id)
20
- if Aws::Endpoints::Matchers.valid_host_label?(endpoint_id, true)
21
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, false)
22
- if Aws::Endpoints::Matchers.set?(endpoint)
23
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"events", "signingRegionSet"=>["*"]}]})
24
- end
25
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
26
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
27
- return Aws::Endpoints::Endpoint.new(url: "https://#{endpoint_id}.endpoint.events.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"events", "signingRegionSet"=>["*"]}]})
28
- end
29
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
18
+ if Aws::Endpoints::Matchers.set?(endpoint_id) && Aws::Endpoints::Matchers.set?(region) && (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
19
+ if Aws::Endpoints::Matchers.valid_host_label?(endpoint_id, true)
20
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, false)
21
+ if Aws::Endpoints::Matchers.set?(endpoint)
22
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"events", "signingRegionSet"=>["*"]}]})
23
+ end
24
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
25
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
26
+ return Aws::Endpoints::Endpoint.new(url: "https://#{endpoint_id}.endpoint.events.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"events", "signingRegionSet"=>["*"]}]})
30
27
  end
31
- return Aws::Endpoints::Endpoint.new(url: "https://#{endpoint_id}.endpoint.events.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"events", "signingRegionSet"=>["*"]}]})
28
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
32
29
  end
33
- raise ArgumentError, "Invalid Configuration: FIPS is not supported with EventBridge multi-region endpoints."
30
+ return Aws::Endpoints::Endpoint.new(url: "https://#{endpoint_id}.endpoint.events.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"events", "signingRegionSet"=>["*"]}]})
34
31
  end
35
- raise ArgumentError, "EndpointId must be a valid host label."
32
+ raise ArgumentError, "Invalid Configuration: FIPS is not supported with EventBridge multi-region endpoints."
36
33
  end
37
- if Aws::Endpoints::Matchers.set?(endpoint)
38
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
39
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
40
- end
41
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
42
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
43
- end
44
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
34
+ raise ArgumentError, "EndpointId must be a valid host label."
35
+ end
36
+ if Aws::Endpoints::Matchers.set?(endpoint)
37
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
38
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
45
39
  end
46
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
47
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
48
- return Aws::Endpoints::Endpoint.new(url: "https://events-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
49
- end
50
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
51
42
  end
52
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
53
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
54
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
55
- return Aws::Endpoints::Endpoint.new(url: "https://events.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
43
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
44
+ end
45
+ if Aws::Endpoints::Matchers.set?(region)
46
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
47
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
48
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
49
+ return Aws::Endpoints::Endpoint.new(url: "https://events-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
56
50
  end
57
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
58
- return Aws::Endpoints::Endpoint.new(url: "https://events.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
51
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
52
+ end
53
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
54
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
55
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
56
+ return Aws::Endpoints::Endpoint.new(url: "https://events.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
57
+ end
58
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
59
+ return Aws::Endpoints::Endpoint.new(url: "https://events.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
60
+ end
61
+ return Aws::Endpoints::Endpoint.new(url: "https://events-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
59
62
  end
60
- return Aws::Endpoints::Endpoint.new(url: "https://events-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
63
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
61
64
  end
62
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
63
- end
64
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
65
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
66
- return Aws::Endpoints::Endpoint.new(url: "https://events.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
65
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
66
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
67
+ return Aws::Endpoints::Endpoint.new(url: "https://events.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
68
+ end
69
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
67
70
  end
68
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
71
+ return Aws::Endpoints::Endpoint.new(url: "https://events.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
69
72
  end
70
- return Aws::Endpoints::Endpoint.new(url: "https://events.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
71
73
  end
74
+ raise ArgumentError, "Invalid Configuration: Missing Region"
72
75
  raise ArgumentError, 'No endpoint could be resolved'
73
76
 
74
77
  end
@@ -316,7 +316,7 @@ module Aws::EventBridge
316
316
  # the only supported condition is membership in a certain Amazon Web
317
317
  # Services organization. The string must contain `Type`, `Key`, and
318
318
  # `Value` fields. The `Value` field specifies the ID of the Amazon Web
319
- # Services organization. Following is an example value for `Condition`\:
319
+ # Services organization. Following is an example value for `Condition`:
320
320
  #
321
321
  # `'\{"Type" : "StringEquals", "Key": "aws:PrincipalOrgID", "Value":
322
322
  # "o-1234567890"\}'`
@@ -3751,6 +3751,10 @@ module Aws::EventBridge
3751
3751
  # statement runs.
3752
3752
  # @return [Boolean]
3753
3753
  #
3754
+ # @!attribute [rw] sqls
3755
+ # A list of SQLs.
3756
+ # @return [Array<String>]
3757
+ #
3754
3758
  # @see http://docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/RedshiftDataParameters AWS API Documentation
3755
3759
  #
3756
3760
  class RedshiftDataParameters < Struct.new(
@@ -3759,8 +3763,9 @@ module Aws::EventBridge
3759
3763
  :db_user,
3760
3764
  :sql,
3761
3765
  :statement_name,
3762
- :with_event)
3763
- SENSITIVE = []
3766
+ :with_event,
3767
+ :sqls)
3768
+ SENSITIVE = [:sql, :sqls]
3764
3769
  include Aws::Structure
3765
3770
  end
3766
3771
 
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-eventbridge/customizations'
52
52
  # @!group service
53
53
  module Aws::EventBridge
54
54
 
55
- GEM_VERSION = '1.42.0'
55
+ GEM_VERSION = '1.44.0'
56
56
 
57
57
  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.42.0
4
+ version: 1.44.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: 2023-01-26 00:00:00.000000000 Z
11
+ date: 2023-05-31 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.165.0
22
+ version: 3.174.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.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement