aws-sdk-route53recoverycontrolconfig 1.40.0 → 1.41.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: a5a029245cb57099eb81105a39ec23ca74ce6ba2008e6ace5d9e2a485c346650
4
- data.tar.gz: ea912d9fb68b4ea6c278a9370db4173701ec8ebcc382874d6b101fce24fb1b54
3
+ metadata.gz: 5bdd5a0c1dc6793afa40fb3592705a73e63a01b62a361d0569475209d8e419f9
4
+ data.tar.gz: 9cc84d2cd8543e89ffe2bd2fbdf7c8c186c55cfb76909cf3bf705765ea2b21d8
5
5
  SHA512:
6
- metadata.gz: 81ec028285bc3a6738359449d2f3cddb6971a7724f26aa46c4b6fc80ae9a66f21a54cac266ea9aac6ff76e4ef95104ec4cd578b5863512766fc9499ac029c532
7
- data.tar.gz: f3e221eed3eae9b61886ee73f8bd3c9cfefe0af9f11a0f5f296a5351e6da724744326c7999bf2f10718458a99951b4c466078d7802b085f3cc88c6dd165725b6
6
+ metadata.gz: 49da83c065d907995c5b81efcc0dbe8cab49ebebc377e462b1889cad30a9bdcf1852e8e1fefe7cdbbd697242afaa39de63aa5a6970ccc5306a353dbe815f1629
7
+ data.tar.gz: 2ee480f4a62c774690f370280c29f5598a1be5be7346391450207c20bba55e06861abdab05ccd1b2e5dbd1b6bfec730e951e22a58db5a42c8ceab6df2aa56aa7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.41.0 (2025-03-21)
5
+ ------------------
6
+
7
+ * Feature - Adds dual-stack (IPv4 and IPv6) endpoint support for route53-recovery-control-config operations, opt-in dual-stack addresses for cluster endpoints, and UpdateCluster API to update the network-type of clusters between IPv4 and dual-stack.
8
+
4
9
  1.40.0 (2025-02-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.40.0
1
+ 1.41.0
@@ -491,6 +491,10 @@ module Aws::Route53RecoveryControlConfig
491
491
  # @option params [Hash<String,String>] :tags
492
492
  # The tags associated with the cluster.
493
493
  #
494
+ # @option params [String] :network_type
495
+ # The network-type is optional, and can either be IPV4 or DUALSTACK. The
496
+ # default is IPV4.
497
+ #
494
498
  # @return [Types::CreateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
495
499
  #
496
500
  # * {Types::CreateClusterResponse#cluster #cluster} => Types::Cluster
@@ -503,6 +507,7 @@ module Aws::Route53RecoveryControlConfig
503
507
  # tags: {
504
508
  # "__string" => "__stringMin0Max256PatternS",
505
509
  # },
510
+ # network_type: "IPV4", # accepts IPV4, DUALSTACK
506
511
  # })
507
512
  #
508
513
  # @example Response structure
@@ -514,6 +519,7 @@ module Aws::Route53RecoveryControlConfig
514
519
  # resp.cluster.name #=> String
515
520
  # resp.cluster.status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
516
521
  # resp.cluster.owner #=> String
522
+ # resp.cluster.network_type #=> String, one of "IPV4", "DUALSTACK"
517
523
  #
518
524
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateCluster AWS API Documentation
519
525
  #
@@ -866,6 +872,7 @@ module Aws::Route53RecoveryControlConfig
866
872
  # resp.cluster.name #=> String
867
873
  # resp.cluster.status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
868
874
  # resp.cluster.owner #=> String
875
+ # resp.cluster.network_type #=> String, one of "IPV4", "DUALSTACK"
869
876
  #
870
877
  #
871
878
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -1112,6 +1119,7 @@ module Aws::Route53RecoveryControlConfig
1112
1119
  # resp.clusters[0].name #=> String
1113
1120
  # resp.clusters[0].status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
1114
1121
  # resp.clusters[0].owner #=> String
1122
+ # resp.clusters[0].network_type #=> String, one of "IPV4", "DUALSTACK"
1115
1123
  # resp.next_token #=> String
1116
1124
  #
1117
1125
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListClusters AWS API Documentation
@@ -1354,6 +1362,44 @@ module Aws::Route53RecoveryControlConfig
1354
1362
  req.send_request(options)
1355
1363
  end
1356
1364
 
1365
+ # Updates a cluster. You can only update the network-type of a cluster.
1366
+ #
1367
+ # @option params [required, String] :cluster_arn
1368
+ #
1369
+ # @option params [required, String] :network_type
1370
+ # The network-type is required, and can either be IPV4 or DUALSTACK.
1371
+ #
1372
+ # @return [Types::UpdateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1373
+ #
1374
+ # * {Types::UpdateClusterResponse#cluster #cluster} => Types::Cluster
1375
+ #
1376
+ # @example Request syntax with placeholder values
1377
+ #
1378
+ # resp = client.update_cluster({
1379
+ # cluster_arn: "__stringMin1Max256PatternAZaZ09", # required
1380
+ # network_type: "IPV4", # required, accepts IPV4, DUALSTACK
1381
+ # })
1382
+ #
1383
+ # @example Response structure
1384
+ #
1385
+ # resp.cluster.cluster_arn #=> String
1386
+ # resp.cluster.cluster_endpoints #=> Array
1387
+ # resp.cluster.cluster_endpoints[0].endpoint #=> String
1388
+ # resp.cluster.cluster_endpoints[0].region #=> String
1389
+ # resp.cluster.name #=> String
1390
+ # resp.cluster.status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
1391
+ # resp.cluster.owner #=> String
1392
+ # resp.cluster.network_type #=> String, one of "IPV4", "DUALSTACK"
1393
+ #
1394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateCluster AWS API Documentation
1395
+ #
1396
+ # @overload update_cluster(params = {})
1397
+ # @param [Hash] params ({})
1398
+ def update_cluster(params = {}, options = {})
1399
+ req = build_request(:update_cluster, params)
1400
+ req.send_request(options)
1401
+ end
1402
+
1357
1403
  # Updates a control panel. The only update you can make to a control
1358
1404
  # panel is to change the name of the control panel.
1359
1405
  #
@@ -1516,7 +1562,7 @@ module Aws::Route53RecoveryControlConfig
1516
1562
  tracer: tracer
1517
1563
  )
1518
1564
  context[:gem_name] = 'aws-sdk-route53recoverycontrolconfig'
1519
- context[:gem_version] = '1.40.0'
1565
+ context[:gem_version] = '1.41.0'
1520
1566
  Seahorse::Client::Request.new(handlers, context)
1521
1567
  end
1522
1568
 
@@ -63,6 +63,7 @@ module Aws::Route53RecoveryControlConfig
63
63
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
64
64
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
65
65
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
66
+ NetworkType = Shapes::StringShape.new(name: 'NetworkType')
66
67
  NewAssertionRule = Shapes::StructureShape.new(name: 'NewAssertionRule')
67
68
  NewGatingRule = Shapes::StructureShape.new(name: 'NewGatingRule')
68
69
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -77,6 +78,8 @@ module Aws::Route53RecoveryControlConfig
77
78
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
78
79
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
79
80
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
81
+ UpdateClusterRequest = Shapes::StructureShape.new(name: 'UpdateClusterRequest')
82
+ UpdateClusterResponse = Shapes::StructureShape.new(name: 'UpdateClusterResponse')
80
83
  UpdateControlPanelRequest = Shapes::StructureShape.new(name: 'UpdateControlPanelRequest')
81
84
  UpdateControlPanelResponse = Shapes::StructureShape.new(name: 'UpdateControlPanelResponse')
82
85
  UpdateRoutingControlRequest = Shapes::StructureShape.new(name: 'UpdateRoutingControlRequest')
@@ -133,6 +136,7 @@ module Aws::Route53RecoveryControlConfig
133
136
  Cluster.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, location_name: "Name"))
134
137
  Cluster.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
135
138
  Cluster.add_member(:owner, Shapes::ShapeRef.new(shape: __stringMin12Max12PatternD12, location_name: "Owner"))
139
+ Cluster.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "NetworkType"))
136
140
  Cluster.struct_class = Types::Cluster
137
141
 
138
142
  ClusterEndpoint.add_member(:endpoint, Shapes::ShapeRef.new(shape: __stringMin1Max128PatternAZaZ09, location_name: "Endpoint"))
@@ -154,6 +158,7 @@ module Aws::Route53RecoveryControlConfig
154
158
  CreateClusterRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
155
159
  CreateClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, required: true, location_name: "ClusterName"))
156
160
  CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__stringMin0Max256PatternS, location_name: "Tags"))
161
+ CreateClusterRequest.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, location_name: "NetworkType"))
157
162
  CreateClusterRequest.struct_class = Types::CreateClusterRequest
158
163
 
159
164
  CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
@@ -359,6 +364,13 @@ module Aws::Route53RecoveryControlConfig
359
364
 
360
365
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
361
366
 
367
+ UpdateClusterRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, required: true, location_name: "ClusterArn"))
368
+ UpdateClusterRequest.add_member(:network_type, Shapes::ShapeRef.new(shape: NetworkType, required: true, location_name: "NetworkType"))
369
+ UpdateClusterRequest.struct_class = Types::UpdateClusterRequest
370
+
371
+ UpdateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
372
+ UpdateClusterResponse.struct_class = Types::UpdateClusterResponse
373
+
362
374
  UpdateControlPanelRequest.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, required: true, location_name: "ControlPanelArn"))
363
375
  UpdateControlPanelRequest.add_member(:control_panel_name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, required: true, location_name: "ControlPanelName"))
364
376
  UpdateControlPanelRequest.struct_class = Types::UpdateControlPanelRequest
@@ -411,6 +423,7 @@ module Aws::Route53RecoveryControlConfig
411
423
 
412
424
  api.metadata = {
413
425
  "apiVersion" => "2020-11-02",
426
+ "auth" => ["aws.auth#sigv4"],
414
427
  "endpointPrefix" => "route53-recovery-control-config",
415
428
  "jsonVersion" => "1.1",
416
429
  "protocol" => "rest-json",
@@ -717,6 +730,20 @@ module Aws::Route53RecoveryControlConfig
717
730
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
718
731
  end)
719
732
 
733
+ api.add_operation(:update_cluster, Seahorse::Model::Operation.new.tap do |o|
734
+ o.name = "UpdateCluster"
735
+ o.http_method = "PUT"
736
+ o.http_request_uri = "/cluster"
737
+ o.input = Shapes::ShapeRef.new(shape: UpdateClusterRequest)
738
+ o.output = Shapes::ShapeRef.new(shape: UpdateClusterResponse)
739
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
740
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
741
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
742
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
743
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
744
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
745
+ end)
746
+
720
747
  api.add_operation(:update_control_panel, Seahorse::Model::Operation.new.tap do |o|
721
748
  o.name = "UpdateControlPanel"
722
749
  o.http_method = "PUT"
@@ -10,11 +10,6 @@
10
10
  module Aws::Route53RecoveryControlConfig
11
11
  # Endpoint parameters used to influence endpoints per request.
12
12
  #
13
- # @!attribute region
14
- # The AWS region used to dispatch the request.
15
- #
16
- # @return [String]
17
- #
18
13
  # @!attribute use_dual_stack
19
14
  # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
15
  #
@@ -30,39 +25,44 @@ module Aws::Route53RecoveryControlConfig
30
25
  #
31
26
  # @return [String]
32
27
  #
28
+ # @!attribute region
29
+ # The AWS region used to dispatch the request.
30
+ #
31
+ # @return [String]
32
+ #
33
33
  EndpointParameters = Struct.new(
34
- :region,
35
34
  :use_dual_stack,
36
35
  :use_fips,
37
36
  :endpoint,
37
+ :region,
38
38
  ) do
39
39
  include Aws::Structure
40
40
 
41
41
  # @api private
42
42
  class << self
43
43
  PARAM_MAP = {
44
- 'Region' => :region,
45
44
  'UseDualStack' => :use_dual_stack,
46
45
  'UseFIPS' => :use_fips,
47
46
  'Endpoint' => :endpoint,
47
+ 'Region' => :region,
48
48
  }.freeze
49
49
  end
50
50
 
51
51
  def initialize(options = {})
52
- self[:region] = options[:region]
53
52
  self[:use_dual_stack] = options[:use_dual_stack]
54
53
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
54
  self[:use_fips] = options[:use_fips]
56
55
  self[:use_fips] = false if self[:use_fips].nil?
57
56
  self[:endpoint] = options[:endpoint]
57
+ self[:region] = options[:region]
58
58
  end
59
59
 
60
60
  def self.create(config, options={})
61
61
  new({
62
- region: config.region,
63
62
  use_dual_stack: config.use_dualstack_endpoint,
64
63
  use_fips: config.use_fips_endpoint,
65
64
  endpoint: (config.endpoint.to_s unless config.regional_endpoint),
65
+ region: config.region,
66
66
  }.merge(options))
67
67
  end
68
68
  end
@@ -21,28 +21,31 @@ module Aws::Route53RecoveryControlConfig
21
21
  end
22
22
  if Aws::Endpoints::Matchers.set?(parameters.region)
23
23
  if (partition_result = Aws::Endpoints::Matchers.aws_partition(parameters.region))
24
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
25
+ return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config.us-west-2.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-west-2"}]})
26
+ end
27
+ if Aws::Endpoints::Matchers.string_equals?(Aws::Endpoints::Matchers.attr(partition_result, "name"), "aws") && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
28
+ return Aws::Endpoints::Endpoint.new(url: "https://arc-recovery-control-config.us-west-2.api.aws", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-west-2"}]})
29
+ end
24
30
  if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
25
31
  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"))
26
- return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config-fips.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
32
+ return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config-fips.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
27
33
  end
28
34
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
29
35
  end
30
- if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true)
36
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, false)
31
37
  if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
32
- return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config-fips.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
38
+ return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config-fips.#{partition_result['implicitGlobalRegion']}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
33
39
  end
34
40
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
35
41
  end
36
- if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
42
+ if Aws::Endpoints::Matchers.boolean_equals?(parameters.use_fips, false) && Aws::Endpoints::Matchers.boolean_equals?(parameters.use_dual_stack, true)
37
43
  if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
38
- return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config.#{parameters.region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
44
+ return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config.#{partition_result['implicitGlobalRegion']}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
39
45
  end
40
46
  raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
41
47
  end
42
- if Aws::Endpoints::Matchers.string_equals?(parameters.region, "aws-global")
43
- return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config.us-west-2.amazonaws.com", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53-recovery-control-config", "signingRegion"=>"us-west-2"}]})
44
- end
45
- return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config.#{parameters.region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
48
+ return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config.#{partition_result['implicitGlobalRegion']}.#{partition_result['dnsSuffix']}", headers: {}, properties: {"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"#{partition_result['implicitGlobalRegion']}"}]})
46
49
  end
47
50
  end
48
51
  raise ArgumentError, "Invalid Configuration: Missing Region"
@@ -152,6 +152,10 @@ module Aws::Route53RecoveryControlConfig
152
152
  # The Amazon Web Services account ID of the cluster owner.
153
153
  # @return [String]
154
154
  #
155
+ # @!attribute [rw] network_type
156
+ # The network-type can either be IPV4 or DUALSTACK.
157
+ # @return [String]
158
+ #
155
159
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/Cluster AWS API Documentation
156
160
  #
157
161
  class Cluster < Struct.new(
@@ -159,7 +163,8 @@ module Aws::Route53RecoveryControlConfig
159
163
  :cluster_endpoints,
160
164
  :name,
161
165
  :status,
162
- :owner)
166
+ :owner,
167
+ :network_type)
163
168
  SENSITIVE = []
164
169
  include Aws::Structure
165
170
  end
@@ -274,12 +279,18 @@ module Aws::Route53RecoveryControlConfig
274
279
  # The tags associated with the cluster.
275
280
  # @return [Hash<String,String>]
276
281
  #
282
+ # @!attribute [rw] network_type
283
+ # The network-type is optional, and can either be IPV4 or DUALSTACK.
284
+ # The default is IPV4.
285
+ # @return [String]
286
+ #
277
287
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateClusterRequest AWS API Documentation
278
288
  #
279
289
  class CreateClusterRequest < Struct.new(
280
290
  :client_token,
281
291
  :cluster_name,
282
- :tags)
292
+ :tags,
293
+ :network_type)
283
294
  SENSITIVE = []
284
295
  include Aws::Structure
285
296
  end
@@ -1281,6 +1292,38 @@ module Aws::Route53RecoveryControlConfig
1281
1292
  #
1282
1293
  class UntagResourceResponse < Aws::EmptyStructure; end
1283
1294
 
1295
+ # Updates an existing cluster.
1296
+ #
1297
+ # @!attribute [rw] cluster_arn
1298
+ # @return [String]
1299
+ #
1300
+ # @!attribute [rw] network_type
1301
+ # The network-type is required, and can either be IPV4 or DUALSTACK.
1302
+ # @return [String]
1303
+ #
1304
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateClusterRequest AWS API Documentation
1305
+ #
1306
+ class UpdateClusterRequest < Struct.new(
1307
+ :cluster_arn,
1308
+ :network_type)
1309
+ SENSITIVE = []
1310
+ include Aws::Structure
1311
+ end
1312
+
1313
+ # The result of a successful UpdateCluster request.
1314
+ #
1315
+ # @!attribute [rw] cluster
1316
+ # The cluster that was updated.
1317
+ # @return [Types::Cluster]
1318
+ #
1319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateClusterResponse AWS API Documentation
1320
+ #
1321
+ class UpdateClusterResponse < Struct.new(
1322
+ :cluster)
1323
+ SENSITIVE = []
1324
+ include Aws::Structure
1325
+ end
1326
+
1284
1327
  # Updates an existing control panel.
1285
1328
  #
1286
1329
  # @!attribute [rw] control_panel_arn
@@ -55,7 +55,7 @@ module Aws::Route53RecoveryControlConfig
55
55
  autoload :EndpointProvider, 'aws-sdk-route53recoverycontrolconfig/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-route53recoverycontrolconfig/endpoints'
57
57
 
58
- GEM_VERSION = '1.40.0'
58
+ GEM_VERSION = '1.41.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -85,7 +85,8 @@ module Aws
85
85
  def create_cluster: (
86
86
  ?client_token: ::String,
87
87
  cluster_name: ::String,
88
- ?tags: Hash[::String, ::String]
88
+ ?tags: Hash[::String, ::String],
89
+ ?network_type: ("IPV4" | "DUALSTACK")
89
90
  ) -> _CreateClusterResponseSuccess
90
91
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
91
92
 
@@ -331,6 +332,17 @@ module Aws
331
332
  ) -> _UntagResourceResponseSuccess
332
333
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
333
334
 
335
+ interface _UpdateClusterResponseSuccess
336
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateClusterResponse]
337
+ def cluster: () -> Types::Cluster
338
+ end
339
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Route53RecoveryControlConfig/Client.html#update_cluster-instance_method
340
+ def update_cluster: (
341
+ cluster_arn: ::String,
342
+ network_type: ("IPV4" | "DUALSTACK")
343
+ ) -> _UpdateClusterResponseSuccess
344
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateClusterResponseSuccess
345
+
334
346
  interface _UpdateControlPanelResponseSuccess
335
347
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateControlPanelResponse]
336
348
  def control_panel: () -> Types::ControlPanel
data/sig/types.rbs CHANGED
@@ -38,6 +38,7 @@ module Aws::Route53RecoveryControlConfig
38
38
  attr_accessor name: ::String
39
39
  attr_accessor status: ("PENDING" | "DEPLOYED" | "PENDING_DELETION")
40
40
  attr_accessor owner: ::String
41
+ attr_accessor network_type: ("IPV4" | "DUALSTACK")
41
42
  SENSITIVE: []
42
43
  end
43
44
 
@@ -67,6 +68,7 @@ module Aws::Route53RecoveryControlConfig
67
68
  attr_accessor client_token: ::String
68
69
  attr_accessor cluster_name: ::String
69
70
  attr_accessor tags: ::Hash[::String, ::String]
71
+ attr_accessor network_type: ("IPV4" | "DUALSTACK")
70
72
  SENSITIVE: []
71
73
  end
72
74
 
@@ -371,6 +373,17 @@ module Aws::Route53RecoveryControlConfig
371
373
  class UntagResourceResponse < Aws::EmptyStructure
372
374
  end
373
375
 
376
+ class UpdateClusterRequest
377
+ attr_accessor cluster_arn: ::String
378
+ attr_accessor network_type: ("IPV4" | "DUALSTACK")
379
+ SENSITIVE: []
380
+ end
381
+
382
+ class UpdateClusterResponse
383
+ attr_accessor cluster: Types::Cluster
384
+ SENSITIVE: []
385
+ end
386
+
374
387
  class UpdateControlPanelRequest
375
388
  attr_accessor control_panel_arn: ::String
376
389
  attr_accessor control_panel_name: ::String
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-route53recoverycontrolconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.40.0
4
+ version: 1.41.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: 2025-02-18 00:00:00.000000000 Z
11
+ date: 2025-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '1.5'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
46
+ version: '1.5'
47
47
  description: Official AWS Ruby gem for AWS Route53 Recovery Control Config. This gem
48
48
  is part of the AWS SDK for Ruby.
49
49
  email: