aws-sdk-cloudwatchevents 1.64.0 → 1.66.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: 7e1749d2e16c183c4c17858d12e6e6532fb59b6e27e6c3f8e0ca2ecd94ebcd4a
4
- data.tar.gz: 75e077847eb36169bc36a20e073b3cdf06ec50515eab1f73d46fdfe50f9bf842
3
+ metadata.gz: 9ba206b3c0547ec2aed411af31464d09d2030f66ec86bd9c118791c7798abcee
4
+ data.tar.gz: 40562a9f878546ddef807658b23a79d8df42a5d12ee1ce0cfb9a618f18d7f4f1
5
5
  SHA512:
6
- metadata.gz: e9cf81714ce2c920451e5257ea0fa68cf568ba16d1924f3779ee13ed6f61a3ae1fdf11eff8403524163b0b6073a7e8361ae72ed3605183f77bcc69f45add5856
7
- data.tar.gz: 135294ec8300e2a3d0616af4ba878869f9585d0d9b7aa059eb8b62d1e803c37d1bf63c68dfd4f5c7ba9b243325a82e7ae1fe5f56d97f57785253c2e08c7f8e11
6
+ metadata.gz: 50fe75b296798e141e387bd89d82090d2d38bf42ae6591ceb6347a795abd9ad81d6f2007c125ad7ca1e7ce853ed0346b159f2dfd69e53af5cf51ac3b9a3c9955
7
+ data.tar.gz: d4a1a31a9f19fdac27c776575ce60a62f53fb99f84f546a932eb7fa950b70f0afde9b43f8285858ce74dc79ca3396d64c1a930039f42cee3d47fe95e9521dee3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.66.0 (2023-09-22)
5
+ ------------------
6
+
7
+ * Feature - Adds sensitive trait to various shapes in Jetstream Connections API model.
8
+
9
+ 1.65.0 (2023-08-31)
10
+ ------------------
11
+
12
+ * Feature - Documentation updates for CloudWatch Events.
13
+
4
14
  1.64.0 (2023-07-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.64.0
1
+ 1.66.0
@@ -601,12 +601,12 @@ module Aws::CloudWatchEvents
601
601
  # auth_parameters: { # required
602
602
  # basic_auth_parameters: {
603
603
  # username: "AuthHeaderParameters", # required
604
- # password: "AuthHeaderParameters", # required
604
+ # password: "AuthHeaderParametersSensitive", # required
605
605
  # },
606
606
  # o_auth_parameters: {
607
607
  # client_parameters: { # required
608
608
  # client_id: "AuthHeaderParameters", # required
609
- # client_secret: "AuthHeaderParameters", # required
609
+ # client_secret: "AuthHeaderParametersSensitive", # required
610
610
  # },
611
611
  # authorization_endpoint: "HttpsEndpoint", # required
612
612
  # http_method: "GET", # required, accepts GET, POST, PUT
@@ -614,21 +614,21 @@ module Aws::CloudWatchEvents
614
614
  # header_parameters: [
615
615
  # {
616
616
  # key: "HeaderKey",
617
- # value: "HeaderValue",
617
+ # value: "HeaderValueSensitive",
618
618
  # is_value_secret: false,
619
619
  # },
620
620
  # ],
621
621
  # query_string_parameters: [
622
622
  # {
623
623
  # key: "QueryStringKey",
624
- # value: "QueryStringValue",
624
+ # value: "QueryStringValueSensitive",
625
625
  # is_value_secret: false,
626
626
  # },
627
627
  # ],
628
628
  # body_parameters: [
629
629
  # {
630
630
  # key: "String",
631
- # value: "String",
631
+ # value: "SensitiveString",
632
632
  # is_value_secret: false,
633
633
  # },
634
634
  # ],
@@ -636,27 +636,27 @@ module Aws::CloudWatchEvents
636
636
  # },
637
637
  # api_key_auth_parameters: {
638
638
  # api_key_name: "AuthHeaderParameters", # required
639
- # api_key_value: "AuthHeaderParameters", # required
639
+ # api_key_value: "AuthHeaderParametersSensitive", # required
640
640
  # },
641
641
  # invocation_http_parameters: {
642
642
  # header_parameters: [
643
643
  # {
644
644
  # key: "HeaderKey",
645
- # value: "HeaderValue",
645
+ # value: "HeaderValueSensitive",
646
646
  # is_value_secret: false,
647
647
  # },
648
648
  # ],
649
649
  # query_string_parameters: [
650
650
  # {
651
651
  # key: "QueryStringKey",
652
- # value: "QueryStringValue",
652
+ # value: "QueryStringValueSensitive",
653
653
  # is_value_secret: false,
654
654
  # },
655
655
  # ],
656
656
  # body_parameters: [
657
657
  # {
658
658
  # key: "String",
659
- # value: "String",
659
+ # value: "SensitiveString",
660
660
  # is_value_secret: false,
661
661
  # },
662
662
  # ],
@@ -2602,10 +2602,10 @@ module Aws::CloudWatchEvents
2602
2602
  #
2603
2603
  # * Step Functions state machines
2604
2604
  #
2605
- # Creating rules with built-in targets is supported only in the
2606
- # Management Console. The built-in targets are `EC2 CreateSnapshot API
2607
- # call`, `EC2 RebootInstances API call`, `EC2 StopInstances API call`,
2608
- # and `EC2 TerminateInstances API call`.
2605
+ # Creating rules with built-in targets is supported only in the Amazon
2606
+ # Web Services Management Console. The built-in targets are `EC2
2607
+ # CreateSnapshot API call`, `EC2 RebootInstances API call`, `EC2
2608
+ # StopInstances API call`, and `EC2 TerminateInstances API call`.
2609
2609
  #
2610
2610
  # For some target types, `PutTargets` provides target-specific
2611
2611
  # parameters. If the target is a Kinesis data stream, you can optionally
@@ -3281,12 +3281,12 @@ module Aws::CloudWatchEvents
3281
3281
  # auth_parameters: {
3282
3282
  # basic_auth_parameters: {
3283
3283
  # username: "AuthHeaderParameters",
3284
- # password: "AuthHeaderParameters",
3284
+ # password: "AuthHeaderParametersSensitive",
3285
3285
  # },
3286
3286
  # o_auth_parameters: {
3287
3287
  # client_parameters: {
3288
3288
  # client_id: "AuthHeaderParameters",
3289
- # client_secret: "AuthHeaderParameters",
3289
+ # client_secret: "AuthHeaderParametersSensitive",
3290
3290
  # },
3291
3291
  # authorization_endpoint: "HttpsEndpoint",
3292
3292
  # http_method: "GET", # accepts GET, POST, PUT
@@ -3294,21 +3294,21 @@ module Aws::CloudWatchEvents
3294
3294
  # header_parameters: [
3295
3295
  # {
3296
3296
  # key: "HeaderKey",
3297
- # value: "HeaderValue",
3297
+ # value: "HeaderValueSensitive",
3298
3298
  # is_value_secret: false,
3299
3299
  # },
3300
3300
  # ],
3301
3301
  # query_string_parameters: [
3302
3302
  # {
3303
3303
  # key: "QueryStringKey",
3304
- # value: "QueryStringValue",
3304
+ # value: "QueryStringValueSensitive",
3305
3305
  # is_value_secret: false,
3306
3306
  # },
3307
3307
  # ],
3308
3308
  # body_parameters: [
3309
3309
  # {
3310
3310
  # key: "String",
3311
- # value: "String",
3311
+ # value: "SensitiveString",
3312
3312
  # is_value_secret: false,
3313
3313
  # },
3314
3314
  # ],
@@ -3316,27 +3316,27 @@ module Aws::CloudWatchEvents
3316
3316
  # },
3317
3317
  # api_key_auth_parameters: {
3318
3318
  # api_key_name: "AuthHeaderParameters",
3319
- # api_key_value: "AuthHeaderParameters",
3319
+ # api_key_value: "AuthHeaderParametersSensitive",
3320
3320
  # },
3321
3321
  # invocation_http_parameters: {
3322
3322
  # header_parameters: [
3323
3323
  # {
3324
3324
  # key: "HeaderKey",
3325
- # value: "HeaderValue",
3325
+ # value: "HeaderValueSensitive",
3326
3326
  # is_value_secret: false,
3327
3327
  # },
3328
3328
  # ],
3329
3329
  # query_string_parameters: [
3330
3330
  # {
3331
3331
  # key: "QueryStringKey",
3332
- # value: "QueryStringValue",
3332
+ # value: "QueryStringValueSensitive",
3333
3333
  # is_value_secret: false,
3334
3334
  # },
3335
3335
  # ],
3336
3336
  # body_parameters: [
3337
3337
  # {
3338
3338
  # key: "String",
3339
- # value: "String",
3339
+ # value: "SensitiveString",
3340
3340
  # is_value_secret: false,
3341
3341
  # },
3342
3342
  # ],
@@ -3374,7 +3374,7 @@ module Aws::CloudWatchEvents
3374
3374
  params: params,
3375
3375
  config: config)
3376
3376
  context[:gem_name] = 'aws-sdk-cloudwatchevents'
3377
- context[:gem_version] = '1.64.0'
3377
+ context[:gem_version] = '1.66.0'
3378
3378
  Seahorse::Client::Request.new(handlers, context)
3379
3379
  end
3380
3380
 
@@ -34,6 +34,7 @@ module Aws::CloudWatchEvents
34
34
  Arn = Shapes::StringShape.new(name: 'Arn')
35
35
  AssignPublicIp = Shapes::StringShape.new(name: 'AssignPublicIp')
36
36
  AuthHeaderParameters = Shapes::StringShape.new(name: 'AuthHeaderParameters')
37
+ AuthHeaderParametersSensitive = Shapes::StringShape.new(name: 'AuthHeaderParametersSensitive')
37
38
  AwsVpcConfiguration = Shapes::StructureShape.new(name: 'AwsVpcConfiguration')
38
39
  BatchArrayProperties = Shapes::StructureShape.new(name: 'BatchArrayProperties')
39
40
  BatchParameters = Shapes::StructureShape.new(name: 'BatchParameters')
@@ -138,6 +139,7 @@ module Aws::CloudWatchEvents
138
139
  HeaderKey = Shapes::StringShape.new(name: 'HeaderKey')
139
140
  HeaderParametersMap = Shapes::MapShape.new(name: 'HeaderParametersMap')
140
141
  HeaderValue = Shapes::StringShape.new(name: 'HeaderValue')
142
+ HeaderValueSensitive = Shapes::StringShape.new(name: 'HeaderValueSensitive')
141
143
  HttpParameters = Shapes::StructureShape.new(name: 'HttpParameters')
142
144
  HttpsEndpoint = Shapes::StringShape.new(name: 'HttpsEndpoint')
143
145
  IllegalStatusException = Shapes::StructureShape.new(name: 'IllegalStatusException')
@@ -227,6 +229,7 @@ module Aws::CloudWatchEvents
227
229
  QueryStringKey = Shapes::StringShape.new(name: 'QueryStringKey')
228
230
  QueryStringParametersMap = Shapes::MapShape.new(name: 'QueryStringParametersMap')
229
231
  QueryStringValue = Shapes::StringShape.new(name: 'QueryStringValue')
232
+ QueryStringValueSensitive = Shapes::StringShape.new(name: 'QueryStringValueSensitive')
230
233
  RedshiftDataParameters = Shapes::StructureShape.new(name: 'RedshiftDataParameters')
231
234
  RedshiftSecretManagerArn = Shapes::StringShape.new(name: 'RedshiftSecretManagerArn')
232
235
  ReferenceId = Shapes::StringShape.new(name: 'ReferenceId')
@@ -270,6 +273,7 @@ module Aws::CloudWatchEvents
270
273
  SageMakerPipelineParameters = Shapes::StructureShape.new(name: 'SageMakerPipelineParameters')
271
274
  ScheduleExpression = Shapes::StringShape.new(name: 'ScheduleExpression')
272
275
  SecretsManagerSecretArn = Shapes::StringShape.new(name: 'SecretsManagerSecretArn')
276
+ SensitiveString = Shapes::StringShape.new(name: 'SensitiveString')
273
277
  Sql = Shapes::StringShape.new(name: 'Sql')
274
278
  SqsParameters = Shapes::StructureShape.new(name: 'SqsParameters')
275
279
  StartReplayRequest = Shapes::StructureShape.new(name: 'StartReplayRequest')
@@ -403,14 +407,14 @@ module Aws::CloudWatchEvents
403
407
  ConnectionBasicAuthResponseParameters.struct_class = Types::ConnectionBasicAuthResponseParameters
404
408
 
405
409
  ConnectionBodyParameter.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "Key"))
406
- ConnectionBodyParameter.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "Value"))
410
+ ConnectionBodyParameter.add_member(:value, Shapes::ShapeRef.new(shape: SensitiveString, location_name: "Value"))
407
411
  ConnectionBodyParameter.add_member(:is_value_secret, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsValueSecret"))
408
412
  ConnectionBodyParameter.struct_class = Types::ConnectionBodyParameter
409
413
 
410
414
  ConnectionBodyParametersList.member = Shapes::ShapeRef.new(shape: ConnectionBodyParameter)
411
415
 
412
416
  ConnectionHeaderParameter.add_member(:key, Shapes::ShapeRef.new(shape: HeaderKey, location_name: "Key"))
413
- ConnectionHeaderParameter.add_member(:value, Shapes::ShapeRef.new(shape: HeaderValue, location_name: "Value"))
417
+ ConnectionHeaderParameter.add_member(:value, Shapes::ShapeRef.new(shape: HeaderValueSensitive, location_name: "Value"))
414
418
  ConnectionHeaderParameter.add_member(:is_value_secret, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsValueSecret"))
415
419
  ConnectionHeaderParameter.struct_class = Types::ConnectionHeaderParameter
416
420
 
@@ -431,7 +435,7 @@ module Aws::CloudWatchEvents
431
435
  ConnectionOAuthResponseParameters.struct_class = Types::ConnectionOAuthResponseParameters
432
436
 
433
437
  ConnectionQueryStringParameter.add_member(:key, Shapes::ShapeRef.new(shape: QueryStringKey, location_name: "Key"))
434
- ConnectionQueryStringParameter.add_member(:value, Shapes::ShapeRef.new(shape: QueryStringValue, location_name: "Value"))
438
+ ConnectionQueryStringParameter.add_member(:value, Shapes::ShapeRef.new(shape: QueryStringValueSensitive, location_name: "Value"))
435
439
  ConnectionQueryStringParameter.add_member(:is_value_secret, Shapes::ShapeRef.new(shape: Boolean, location_name: "IsValueSecret"))
436
440
  ConnectionQueryStringParameter.struct_class = Types::ConnectionQueryStringParameter
437
441
 
@@ -467,7 +471,7 @@ module Aws::CloudWatchEvents
467
471
  CreateArchiveResponse.struct_class = Types::CreateArchiveResponse
468
472
 
469
473
  CreateConnectionApiKeyAuthRequestParameters.add_member(:api_key_name, Shapes::ShapeRef.new(shape: AuthHeaderParameters, required: true, location_name: "ApiKeyName"))
470
- CreateConnectionApiKeyAuthRequestParameters.add_member(:api_key_value, Shapes::ShapeRef.new(shape: AuthHeaderParameters, required: true, location_name: "ApiKeyValue"))
474
+ CreateConnectionApiKeyAuthRequestParameters.add_member(:api_key_value, Shapes::ShapeRef.new(shape: AuthHeaderParametersSensitive, required: true, location_name: "ApiKeyValue"))
471
475
  CreateConnectionApiKeyAuthRequestParameters.struct_class = Types::CreateConnectionApiKeyAuthRequestParameters
472
476
 
473
477
  CreateConnectionAuthRequestParameters.add_member(:basic_auth_parameters, Shapes::ShapeRef.new(shape: CreateConnectionBasicAuthRequestParameters, location_name: "BasicAuthParameters"))
@@ -477,11 +481,11 @@ module Aws::CloudWatchEvents
477
481
  CreateConnectionAuthRequestParameters.struct_class = Types::CreateConnectionAuthRequestParameters
478
482
 
479
483
  CreateConnectionBasicAuthRequestParameters.add_member(:username, Shapes::ShapeRef.new(shape: AuthHeaderParameters, required: true, location_name: "Username"))
480
- CreateConnectionBasicAuthRequestParameters.add_member(:password, Shapes::ShapeRef.new(shape: AuthHeaderParameters, required: true, location_name: "Password"))
484
+ CreateConnectionBasicAuthRequestParameters.add_member(:password, Shapes::ShapeRef.new(shape: AuthHeaderParametersSensitive, required: true, location_name: "Password"))
481
485
  CreateConnectionBasicAuthRequestParameters.struct_class = Types::CreateConnectionBasicAuthRequestParameters
482
486
 
483
487
  CreateConnectionOAuthClientRequestParameters.add_member(:client_id, Shapes::ShapeRef.new(shape: AuthHeaderParameters, required: true, location_name: "ClientID"))
484
- CreateConnectionOAuthClientRequestParameters.add_member(:client_secret, Shapes::ShapeRef.new(shape: AuthHeaderParameters, required: true, location_name: "ClientSecret"))
488
+ CreateConnectionOAuthClientRequestParameters.add_member(:client_secret, Shapes::ShapeRef.new(shape: AuthHeaderParametersSensitive, required: true, location_name: "ClientSecret"))
485
489
  CreateConnectionOAuthClientRequestParameters.struct_class = Types::CreateConnectionOAuthClientRequestParameters
486
490
 
487
491
  CreateConnectionOAuthRequestParameters.add_member(:client_parameters, Shapes::ShapeRef.new(shape: CreateConnectionOAuthClientRequestParameters, required: true, location_name: "ClientParameters"))
@@ -1168,7 +1172,7 @@ module Aws::CloudWatchEvents
1168
1172
  UpdateArchiveResponse.struct_class = Types::UpdateArchiveResponse
1169
1173
 
1170
1174
  UpdateConnectionApiKeyAuthRequestParameters.add_member(:api_key_name, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "ApiKeyName"))
1171
- UpdateConnectionApiKeyAuthRequestParameters.add_member(:api_key_value, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "ApiKeyValue"))
1175
+ UpdateConnectionApiKeyAuthRequestParameters.add_member(:api_key_value, Shapes::ShapeRef.new(shape: AuthHeaderParametersSensitive, location_name: "ApiKeyValue"))
1172
1176
  UpdateConnectionApiKeyAuthRequestParameters.struct_class = Types::UpdateConnectionApiKeyAuthRequestParameters
1173
1177
 
1174
1178
  UpdateConnectionAuthRequestParameters.add_member(:basic_auth_parameters, Shapes::ShapeRef.new(shape: UpdateConnectionBasicAuthRequestParameters, location_name: "BasicAuthParameters"))
@@ -1178,11 +1182,11 @@ module Aws::CloudWatchEvents
1178
1182
  UpdateConnectionAuthRequestParameters.struct_class = Types::UpdateConnectionAuthRequestParameters
1179
1183
 
1180
1184
  UpdateConnectionBasicAuthRequestParameters.add_member(:username, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "Username"))
1181
- UpdateConnectionBasicAuthRequestParameters.add_member(:password, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "Password"))
1185
+ UpdateConnectionBasicAuthRequestParameters.add_member(:password, Shapes::ShapeRef.new(shape: AuthHeaderParametersSensitive, location_name: "Password"))
1182
1186
  UpdateConnectionBasicAuthRequestParameters.struct_class = Types::UpdateConnectionBasicAuthRequestParameters
1183
1187
 
1184
1188
  UpdateConnectionOAuthClientRequestParameters.add_member(:client_id, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "ClientID"))
1185
- UpdateConnectionOAuthClientRequestParameters.add_member(:client_secret, Shapes::ShapeRef.new(shape: AuthHeaderParameters, location_name: "ClientSecret"))
1189
+ UpdateConnectionOAuthClientRequestParameters.add_member(:client_secret, Shapes::ShapeRef.new(shape: AuthHeaderParametersSensitive, location_name: "ClientSecret"))
1186
1190
  UpdateConnectionOAuthClientRequestParameters.struct_class = Types::UpdateConnectionOAuthClientRequestParameters
1187
1191
 
1188
1192
  UpdateConnectionOAuthRequestParameters.add_member(:client_parameters, Shapes::ShapeRef.new(shape: UpdateConnectionOAuthClientRequestParameters, location_name: "ClientParameters"))
@@ -14,42 +14,45 @@ module Aws::CloudWatchEvents
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
18
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
26
20
  end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- 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"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://events-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
21
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
32
23
  end
33
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
36
- return Aws::Endpoints::Endpoint.new(url: "https://events.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ 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"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://events-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
37
31
  end
38
- if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
39
- return Aws::Endpoints::Endpoint.new(url: "https://events.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-east-1")
37
+ return Aws::Endpoints::Endpoint.new(url: "https://events.us-gov-east-1.amazonaws.com", headers: {}, properties: {})
38
+ end
39
+ if Aws::Endpoints::Matchers.string_equals?(region, "us-gov-west-1")
40
+ return Aws::Endpoints::Endpoint.new(url: "https://events.us-gov-west-1.amazonaws.com", headers: {}, properties: {})
41
+ end
42
+ return Aws::Endpoints::Endpoint.new(url: "https://events-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
40
43
  end
41
- return Aws::Endpoints::Endpoint.new(url: "https://events-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
42
45
  end
43
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
44
- end
45
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
46
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
47
- return Aws::Endpoints::Endpoint.new(url: "https://events.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
46
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
47
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
48
+ return Aws::Endpoints::Endpoint.new(url: "https://events.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
49
+ end
50
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
48
51
  end
49
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
52
+ return Aws::Endpoints::Endpoint.new(url: "https://events.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
50
53
  end
51
- return Aws::Endpoints::Endpoint.new(url: "https://events.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
52
54
  end
55
+ raise ArgumentError, "Invalid Configuration: Missing Region"
53
56
  raise ArgumentError, 'No endpoint could be resolved'
54
57
 
55
58
  end
@@ -478,7 +478,7 @@ module Aws::CloudWatchEvents
478
478
  :key,
479
479
  :value,
480
480
  :is_value_secret)
481
- SENSITIVE = []
481
+ SENSITIVE = [:value]
482
482
  include Aws::Structure
483
483
  end
484
484
 
@@ -504,7 +504,7 @@ module Aws::CloudWatchEvents
504
504
  :key,
505
505
  :value,
506
506
  :is_value_secret)
507
- SENSITIVE = []
507
+ SENSITIVE = [:value]
508
508
  include Aws::Structure
509
509
  end
510
510
 
@@ -604,7 +604,7 @@ module Aws::CloudWatchEvents
604
604
  :key,
605
605
  :value,
606
606
  :is_value_secret)
607
- SENSITIVE = []
607
+ SENSITIVE = [:value]
608
608
  include Aws::Structure
609
609
  end
610
610
 
@@ -752,7 +752,7 @@ module Aws::CloudWatchEvents
752
752
  class CreateConnectionApiKeyAuthRequestParameters < Struct.new(
753
753
  :api_key_name,
754
754
  :api_key_value)
755
- SENSITIVE = []
755
+ SENSITIVE = [:api_key_value]
756
756
  include Aws::Structure
757
757
  end
758
758
 
@@ -808,7 +808,7 @@ module Aws::CloudWatchEvents
808
808
  class CreateConnectionBasicAuthRequestParameters < Struct.new(
809
809
  :username,
810
810
  :password)
811
- SENSITIVE = []
811
+ SENSITIVE = [:password]
812
812
  include Aws::Structure
813
813
  end
814
814
 
@@ -828,7 +828,7 @@ module Aws::CloudWatchEvents
828
828
  class CreateConnectionOAuthClientRequestParameters < Struct.new(
829
829
  :client_id,
830
830
  :client_secret)
831
- SENSITIVE = []
831
+ SENSITIVE = [:client_secret]
832
832
  include Aws::Structure
833
833
  end
834
834
 
@@ -4198,7 +4198,7 @@ module Aws::CloudWatchEvents
4198
4198
  class UpdateConnectionApiKeyAuthRequestParameters < Struct.new(
4199
4199
  :api_key_name,
4200
4200
  :api_key_value)
4201
- SENSITIVE = []
4201
+ SENSITIVE = [:api_key_value]
4202
4202
  include Aws::Structure
4203
4203
  end
4204
4204
 
@@ -4251,7 +4251,7 @@ module Aws::CloudWatchEvents
4251
4251
  class UpdateConnectionBasicAuthRequestParameters < Struct.new(
4252
4252
  :username,
4253
4253
  :password)
4254
- SENSITIVE = []
4254
+ SENSITIVE = [:password]
4255
4255
  include Aws::Structure
4256
4256
  end
4257
4257
 
@@ -4271,7 +4271,7 @@ module Aws::CloudWatchEvents
4271
4271
  class UpdateConnectionOAuthClientRequestParameters < Struct.new(
4272
4272
  :client_id,
4273
4273
  :client_secret)
4274
- SENSITIVE = []
4274
+ SENSITIVE = [:client_secret]
4275
4275
  include Aws::Structure
4276
4276
  end
4277
4277
 
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cloudwatchevents/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudWatchEvents
54
54
 
55
- GEM_VERSION = '1.64.0'
55
+ GEM_VERSION = '1.66.0'
56
56
 
57
57
  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.64.0
4
+ version: 1.66.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-07-11 00:00:00.000000000 Z
11
+ date: 2023-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core