aws-sdk-route53recoverycontrolconfig 1.20.0 → 1.21.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: 3414a7f1c146db8e479012d426830eb69ff71174ee6e6b8d6b88e23e84d517d1
4
- data.tar.gz: fe609a6c039799049d8ce5f45ef732da79f903d5de2bd2fc72fc1b82625b4d8b
3
+ metadata.gz: 81d6d49a173fce0ee1691285714d9b0210f8467f790e7d7659ae75c16dc6e504
4
+ data.tar.gz: 3c4da7cf39d72a763e2fe790472edd56cf7b90d23dc68b1d3bfb267c29bb287b
5
5
  SHA512:
6
- metadata.gz: 4a29e51100413f3349ab194c64c5e3e3291883564d42ff942aa242ee7b4c07056ee42e31b995af25970dd2fd915a238c634cef5d06f64c97d3f9fbe28ce9daaf
7
- data.tar.gz: 929504b1b858cc83d95394880a2525c6f51dd823a548c0bb8c0ff42724299833856efde0ed3d9cfc1e1e63a269975d9a517a4e94fd30bfb9389a86380d7b019c
6
+ metadata.gz: 0b944ffd4d00f41afa71958f26c46aa388fd23a7f82bb19b7ded74dec51f33f3ffb3d282de94e38adbd5fbe12c1bf46a6fe6ed3d1f7b93bc3d7bc04980acf058
7
+ data.tar.gz: 56d6f5cf9cac32a0ef8d76dd4324af1ffa1cba1b94b601a8d10b0d4faf52cea2c20d371522d65660b232025193a242076cd1860d1d7c26069250355455b59194
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.21.0 (2023-10-17)
5
+ ------------------
6
+
7
+ * Feature - Adds permissions for GetResourcePolicy to support returning details about AWS Resource Access Manager resource policies for shared resources.
8
+
4
9
  1.20.0 (2023-09-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.20.0
1
+ 1.21.0
@@ -431,6 +431,7 @@ module Aws::Route53RecoveryControlConfig
431
431
  # resp.cluster.cluster_endpoints[0].region #=> String
432
432
  # resp.cluster.name #=> String
433
433
  # resp.cluster.status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
434
+ # resp.cluster.owner #=> String
434
435
  #
435
436
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateCluster AWS API Documentation
436
437
  #
@@ -488,6 +489,7 @@ module Aws::Route53RecoveryControlConfig
488
489
  # resp.control_panel.name #=> String
489
490
  # resp.control_panel.routing_control_count #=> Integer
490
491
  # resp.control_panel.status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
492
+ # resp.control_panel.owner #=> String
491
493
  #
492
494
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateControlPanel AWS API Documentation
493
495
  #
@@ -546,6 +548,7 @@ module Aws::Route53RecoveryControlConfig
546
548
  # resp.routing_control.name #=> String
547
549
  # resp.routing_control.routing_control_arn #=> String
548
550
  # resp.routing_control.status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
551
+ # resp.routing_control.owner #=> String
549
552
  #
550
553
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateRoutingControl AWS API Documentation
551
554
  #
@@ -647,6 +650,7 @@ module Aws::Route53RecoveryControlConfig
647
650
  # resp.assertion_rule.safety_rule_arn #=> String
648
651
  # resp.assertion_rule.status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
649
652
  # resp.assertion_rule.wait_period_ms #=> Integer
653
+ # resp.assertion_rule.owner #=> String
650
654
  # resp.gating_rule.control_panel_arn #=> String
651
655
  # resp.gating_rule.gating_controls #=> Array
652
656
  # resp.gating_rule.gating_controls[0] #=> String
@@ -659,6 +663,7 @@ module Aws::Route53RecoveryControlConfig
659
663
  # resp.gating_rule.target_controls #=> Array
660
664
  # resp.gating_rule.target_controls[0] #=> String
661
665
  # resp.gating_rule.wait_period_ms #=> Integer
666
+ # resp.gating_rule.owner #=> String
662
667
  #
663
668
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/CreateSafetyRule AWS API Documentation
664
669
  #
@@ -778,6 +783,7 @@ module Aws::Route53RecoveryControlConfig
778
783
  # resp.cluster.cluster_endpoints[0].region #=> String
779
784
  # resp.cluster.name #=> String
780
785
  # resp.cluster.status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
786
+ # resp.cluster.owner #=> String
781
787
  #
782
788
  #
783
789
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -816,6 +822,7 @@ module Aws::Route53RecoveryControlConfig
816
822
  # resp.control_panel.name #=> String
817
823
  # resp.control_panel.routing_control_count #=> Integer
818
824
  # resp.control_panel.status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
825
+ # resp.control_panel.owner #=> String
819
826
  #
820
827
  #
821
828
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -859,6 +866,7 @@ module Aws::Route53RecoveryControlConfig
859
866
  # resp.routing_control.name #=> String
860
867
  # resp.routing_control.routing_control_arn #=> String
861
868
  # resp.routing_control.status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
869
+ # resp.routing_control.owner #=> String
862
870
  #
863
871
  #
864
872
  # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -902,6 +910,7 @@ module Aws::Route53RecoveryControlConfig
902
910
  # resp.assertion_rule.safety_rule_arn #=> String
903
911
  # resp.assertion_rule.status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
904
912
  # resp.assertion_rule.wait_period_ms #=> Integer
913
+ # resp.assertion_rule.owner #=> String
905
914
  # resp.gating_rule.control_panel_arn #=> String
906
915
  # resp.gating_rule.gating_controls #=> Array
907
916
  # resp.gating_rule.gating_controls[0] #=> String
@@ -914,6 +923,7 @@ module Aws::Route53RecoveryControlConfig
914
923
  # resp.gating_rule.target_controls #=> Array
915
924
  # resp.gating_rule.target_controls[0] #=> String
916
925
  # resp.gating_rule.wait_period_ms #=> Integer
926
+ # resp.gating_rule.owner #=> String
917
927
  #
918
928
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/DescribeSafetyRule AWS API Documentation
919
929
  #
@@ -924,6 +934,33 @@ module Aws::Route53RecoveryControlConfig
924
934
  req.send_request(options)
925
935
  end
926
936
 
937
+ # Get information about the resource policy for a cluster.
938
+ #
939
+ # @option params [required, String] :resource_arn
940
+ #
941
+ # @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
942
+ #
943
+ # * {Types::GetResourcePolicyResponse#policy #policy} => String
944
+ #
945
+ # @example Request syntax with placeholder values
946
+ #
947
+ # resp = client.get_resource_policy({
948
+ # resource_arn: "__string", # required
949
+ # })
950
+ #
951
+ # @example Response structure
952
+ #
953
+ # resp.policy #=> String
954
+ #
955
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/GetResourcePolicy AWS API Documentation
956
+ #
957
+ # @overload get_resource_policy(params = {})
958
+ # @param [Hash] params ({})
959
+ def get_resource_policy(params = {}, options = {})
960
+ req = build_request(:get_resource_policy, params)
961
+ req.send_request(options)
962
+ end
963
+
927
964
  # Returns an array of all Amazon Route 53 health checks associated with
928
965
  # a specific routing control.
929
966
  #
@@ -992,6 +1029,7 @@ module Aws::Route53RecoveryControlConfig
992
1029
  # resp.clusters[0].cluster_endpoints[0].region #=> String
993
1030
  # resp.clusters[0].name #=> String
994
1031
  # resp.clusters[0].status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
1032
+ # resp.clusters[0].owner #=> String
995
1033
  # resp.next_token #=> String
996
1034
  #
997
1035
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListClusters AWS API Documentation
@@ -1035,6 +1073,7 @@ module Aws::Route53RecoveryControlConfig
1035
1073
  # resp.control_panels[0].name #=> String
1036
1074
  # resp.control_panels[0].routing_control_count #=> Integer
1037
1075
  # resp.control_panels[0].status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
1076
+ # resp.control_panels[0].owner #=> String
1038
1077
  # resp.next_token #=> String
1039
1078
  #
1040
1079
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListControlPanels AWS API Documentation
@@ -1081,6 +1120,7 @@ module Aws::Route53RecoveryControlConfig
1081
1120
  # resp.routing_controls[0].name #=> String
1082
1121
  # resp.routing_controls[0].routing_control_arn #=> String
1083
1122
  # resp.routing_controls[0].status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
1123
+ # resp.routing_controls[0].owner #=> String
1084
1124
  #
1085
1125
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListRoutingControls AWS API Documentation
1086
1126
  #
@@ -1129,6 +1169,7 @@ module Aws::Route53RecoveryControlConfig
1129
1169
  # resp.safety_rules[0].assertion.safety_rule_arn #=> String
1130
1170
  # resp.safety_rules[0].assertion.status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
1131
1171
  # resp.safety_rules[0].assertion.wait_period_ms #=> Integer
1172
+ # resp.safety_rules[0].assertion.owner #=> String
1132
1173
  # resp.safety_rules[0].gating.control_panel_arn #=> String
1133
1174
  # resp.safety_rules[0].gating.gating_controls #=> Array
1134
1175
  # resp.safety_rules[0].gating.gating_controls[0] #=> String
@@ -1141,6 +1182,7 @@ module Aws::Route53RecoveryControlConfig
1141
1182
  # resp.safety_rules[0].gating.target_controls #=> Array
1142
1183
  # resp.safety_rules[0].gating.target_controls[0] #=> String
1143
1184
  # resp.safety_rules[0].gating.wait_period_ms #=> Integer
1185
+ # resp.safety_rules[0].gating.owner #=> String
1144
1186
  #
1145
1187
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ListSafetyRules AWS API Documentation
1146
1188
  #
@@ -1258,6 +1300,7 @@ module Aws::Route53RecoveryControlConfig
1258
1300
  # resp.control_panel.name #=> String
1259
1301
  # resp.control_panel.routing_control_count #=> Integer
1260
1302
  # resp.control_panel.status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
1303
+ # resp.control_panel.owner #=> String
1261
1304
  #
1262
1305
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateControlPanel AWS API Documentation
1263
1306
  #
@@ -1296,6 +1339,7 @@ module Aws::Route53RecoveryControlConfig
1296
1339
  # resp.routing_control.name #=> String
1297
1340
  # resp.routing_control.routing_control_arn #=> String
1298
1341
  # resp.routing_control.status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
1342
+ # resp.routing_control.owner #=> String
1299
1343
  #
1300
1344
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateRoutingControl AWS API Documentation
1301
1345
  #
@@ -1348,6 +1392,7 @@ module Aws::Route53RecoveryControlConfig
1348
1392
  # resp.assertion_rule.safety_rule_arn #=> String
1349
1393
  # resp.assertion_rule.status #=> String, one of "PENDING", "DEPLOYED", "PENDING_DELETION"
1350
1394
  # resp.assertion_rule.wait_period_ms #=> Integer
1395
+ # resp.assertion_rule.owner #=> String
1351
1396
  # resp.gating_rule.control_panel_arn #=> String
1352
1397
  # resp.gating_rule.gating_controls #=> Array
1353
1398
  # resp.gating_rule.gating_controls[0] #=> String
@@ -1360,6 +1405,7 @@ module Aws::Route53RecoveryControlConfig
1360
1405
  # resp.gating_rule.target_controls #=> Array
1361
1406
  # resp.gating_rule.target_controls[0] #=> String
1362
1407
  # resp.gating_rule.wait_period_ms #=> Integer
1408
+ # resp.gating_rule.owner #=> String
1363
1409
  #
1364
1410
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/UpdateSafetyRule AWS API Documentation
1365
1411
  #
@@ -1383,7 +1429,7 @@ module Aws::Route53RecoveryControlConfig
1383
1429
  params: params,
1384
1430
  config: config)
1385
1431
  context[:gem_name] = 'aws-sdk-route53recoverycontrolconfig'
1386
- context[:gem_version] = '1.20.0'
1432
+ context[:gem_version] = '1.21.0'
1387
1433
  Seahorse::Client::Request.new(handlers, context)
1388
1434
  end
1389
1435
 
@@ -46,6 +46,8 @@ module Aws::Route53RecoveryControlConfig
46
46
  DescribeSafetyRuleResponse = Shapes::StructureShape.new(name: 'DescribeSafetyRuleResponse')
47
47
  GatingRule = Shapes::StructureShape.new(name: 'GatingRule')
48
48
  GatingRuleUpdate = Shapes::StructureShape.new(name: 'GatingRuleUpdate')
49
+ GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
50
+ GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
49
51
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
50
52
  ListAssociatedRoute53HealthChecksRequest = Shapes::StructureShape.new(name: 'ListAssociatedRoute53HealthChecksRequest')
51
53
  ListAssociatedRoute53HealthChecksResponse = Shapes::StructureShape.new(name: 'ListAssociatedRoute53HealthChecksResponse')
@@ -94,9 +96,11 @@ module Aws::Route53RecoveryControlConfig
94
96
  __listOf__stringMin1Max256PatternAZaZ09 = Shapes::ListShape.new(name: '__listOf__stringMin1Max256PatternAZaZ09')
95
97
  __long = Shapes::IntegerShape.new(name: '__long')
96
98
  __mapOf__stringMin0Max256PatternS = Shapes::MapShape.new(name: '__mapOf__stringMin0Max256PatternS')
99
+ __policy = Shapes::StringShape.new(name: '__policy')
97
100
  __string = Shapes::StringShape.new(name: '__string')
98
101
  __stringMax36PatternS = Shapes::StringShape.new(name: '__stringMax36PatternS')
99
102
  __stringMin0Max256PatternS = Shapes::StringShape.new(name: '__stringMin0Max256PatternS')
103
+ __stringMin12Max12PatternD12 = Shapes::StringShape.new(name: '__stringMin12Max12PatternD12')
100
104
  __stringMin1Max128PatternAZaZ09 = Shapes::StringShape.new(name: '__stringMin1Max128PatternAZaZ09')
101
105
  __stringMin1Max256PatternAZaZ09 = Shapes::StringShape.new(name: '__stringMin1Max256PatternAZaZ09')
102
106
  __stringMin1Max32PatternS = Shapes::StringShape.new(name: '__stringMin1Max32PatternS')
@@ -115,6 +119,7 @@ module Aws::Route53RecoveryControlConfig
115
119
  AssertionRule.add_member(:safety_rule_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, required: true, location_name: "SafetyRuleArn"))
116
120
  AssertionRule.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "Status"))
117
121
  AssertionRule.add_member(:wait_period_ms, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "WaitPeriodMs"))
122
+ AssertionRule.add_member(:owner, Shapes::ShapeRef.new(shape: __stringMin12Max12PatternD12, location_name: "Owner"))
118
123
  AssertionRule.struct_class = Types::AssertionRule
119
124
 
120
125
  AssertionRuleUpdate.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, required: true, location_name: "Name"))
@@ -126,6 +131,7 @@ module Aws::Route53RecoveryControlConfig
126
131
  Cluster.add_member(:cluster_endpoints, Shapes::ShapeRef.new(shape: __listOfClusterEndpoint, location_name: "ClusterEndpoints"))
127
132
  Cluster.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, location_name: "Name"))
128
133
  Cluster.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
134
+ Cluster.add_member(:owner, Shapes::ShapeRef.new(shape: __stringMin12Max12PatternD12, location_name: "Owner"))
129
135
  Cluster.struct_class = Types::Cluster
130
136
 
131
137
  ClusterEndpoint.add_member(:endpoint, Shapes::ShapeRef.new(shape: __stringMin1Max128PatternAZaZ09, location_name: "Endpoint"))
@@ -141,6 +147,7 @@ module Aws::Route53RecoveryControlConfig
141
147
  ControlPanel.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, location_name: "Name"))
142
148
  ControlPanel.add_member(:routing_control_count, Shapes::ShapeRef.new(shape: __integer, location_name: "RoutingControlCount"))
143
149
  ControlPanel.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
150
+ ControlPanel.add_member(:owner, Shapes::ShapeRef.new(shape: __stringMin12Max12PatternD12, location_name: "Owner"))
144
151
  ControlPanel.struct_class = Types::ControlPanel
145
152
 
146
153
  CreateClusterRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
@@ -232,6 +239,7 @@ module Aws::Route53RecoveryControlConfig
232
239
  GatingRule.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "Status"))
233
240
  GatingRule.add_member(:target_controls, Shapes::ShapeRef.new(shape: __listOf__stringMin1Max256PatternAZaZ09, required: true, location_name: "TargetControls"))
234
241
  GatingRule.add_member(:wait_period_ms, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "WaitPeriodMs"))
242
+ GatingRule.add_member(:owner, Shapes::ShapeRef.new(shape: __stringMin12Max12PatternD12, location_name: "Owner"))
235
243
  GatingRule.struct_class = Types::GatingRule
236
244
 
237
245
  GatingRuleUpdate.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, required: true, location_name: "Name"))
@@ -239,6 +247,12 @@ module Aws::Route53RecoveryControlConfig
239
247
  GatingRuleUpdate.add_member(:wait_period_ms, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "WaitPeriodMs"))
240
248
  GatingRuleUpdate.struct_class = Types::GatingRuleUpdate
241
249
 
250
+ GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ResourceArn"))
251
+ GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
252
+
253
+ GetResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: __policy, location_name: "Policy"))
254
+ GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
255
+
242
256
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
243
257
  InternalServerException.struct_class = Types::InternalServerException
244
258
 
@@ -314,6 +328,7 @@ module Aws::Route53RecoveryControlConfig
314
328
  RoutingControl.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, location_name: "Name"))
315
329
  RoutingControl.add_member(:routing_control_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, location_name: "RoutingControlArn"))
316
330
  RoutingControl.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
331
+ RoutingControl.add_member(:owner, Shapes::ShapeRef.new(shape: __stringMin12Max12PatternD12, location_name: "Owner"))
317
332
  RoutingControl.struct_class = Types::RoutingControl
318
333
 
319
334
  Rule.add_member(:assertion, Shapes::ShapeRef.new(shape: AssertionRule, location_name: "ASSERTION"))
@@ -565,6 +580,16 @@ module Aws::Route53RecoveryControlConfig
565
580
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
566
581
  end)
567
582
 
583
+ api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
584
+ o.name = "GetResourcePolicy"
585
+ o.http_method = "GET"
586
+ o.http_request_uri = "/resourcePolicy/{ResourceArn}"
587
+ o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
588
+ o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
589
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
590
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
591
+ end)
592
+
568
593
  api.add_operation(:list_associated_route_53_health_checks, Seahorse::Model::Operation.new.tap do |o|
569
594
  o.name = "ListAssociatedRoute53HealthChecks"
570
595
  o.http_method = "GET"
@@ -32,7 +32,7 @@ module Aws::Route53RecoveryControlConfig
32
32
  raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
33
  end
34
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"))
35
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
36
36
  return Aws::Endpoints::Endpoint.new(url: "https://route53-recovery-control-config-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
37
  end
38
38
  raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
@@ -180,6 +180,20 @@ module Aws::Route53RecoveryControlConfig
180
180
  end
181
181
  end
182
182
 
183
+ class GetResourcePolicy
184
+ def self.build(context)
185
+ unless context.config.regional_endpoint
186
+ endpoint = context.config.endpoint.to_s
187
+ end
188
+ Aws::Route53RecoveryControlConfig::EndpointParameters.new(
189
+ region: context.config.region,
190
+ use_dual_stack: context.config.use_dualstack_endpoint,
191
+ use_fips: context.config.use_fips_endpoint,
192
+ endpoint: endpoint,
193
+ )
194
+ end
195
+ end
196
+
183
197
  class ListAssociatedRoute53HealthChecks
184
198
  def self.build(context)
185
199
  unless context.config.regional_endpoint
@@ -80,6 +80,8 @@ module Aws::Route53RecoveryControlConfig
80
80
  Aws::Route53RecoveryControlConfig::Endpoints::DescribeRoutingControl.build(context)
81
81
  when :describe_safety_rule
82
82
  Aws::Route53RecoveryControlConfig::Endpoints::DescribeSafetyRule.build(context)
83
+ when :get_resource_policy
84
+ Aws::Route53RecoveryControlConfig::Endpoints::GetResourcePolicy.build(context)
83
85
  when :list_associated_route_53_health_checks
84
86
  Aws::Route53RecoveryControlConfig::Endpoints::ListAssociatedRoute53HealthChecks.build(context)
85
87
  when :list_clusters
@@ -74,6 +74,10 @@ module Aws::Route53RecoveryControlConfig
74
74
  # you can choose a custom value.
75
75
  # @return [Integer]
76
76
  #
77
+ # @!attribute [rw] owner
78
+ # The Amazon Web Services account ID of the assertion rule owner.
79
+ # @return [String]
80
+ #
77
81
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/AssertionRule AWS API Documentation
78
82
  #
79
83
  class AssertionRule < Struct.new(
@@ -83,7 +87,8 @@ module Aws::Route53RecoveryControlConfig
83
87
  :rule_config,
84
88
  :safety_rule_arn,
85
89
  :status,
86
- :wait_period_ms)
90
+ :wait_period_ms,
91
+ :owner)
87
92
  SENSITIVE = []
88
93
  include Aws::Structure
89
94
  end
@@ -143,13 +148,18 @@ module Aws::Route53RecoveryControlConfig
143
148
  # PENDING, DEPLOYED, PENDING\_DELETION.
144
149
  # @return [String]
145
150
  #
151
+ # @!attribute [rw] owner
152
+ # The Amazon Web Services account ID of the cluster owner.
153
+ # @return [String]
154
+ #
146
155
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/Cluster AWS API Documentation
147
156
  #
148
157
  class Cluster < Struct.new(
149
158
  :cluster_arn,
150
159
  :cluster_endpoints,
151
160
  :name,
152
- :status)
161
+ :status,
162
+ :owner)
153
163
  SENSITIVE = []
154
164
  include Aws::Structure
155
165
  end
@@ -227,6 +237,10 @@ module Aws::Route53RecoveryControlConfig
227
237
  # following: PENDING, DEPLOYED, PENDING\_DELETION.
228
238
  # @return [String]
229
239
  #
240
+ # @!attribute [rw] owner
241
+ # The Amazon Web Services account ID of the control panel owner.
242
+ # @return [String]
243
+ #
230
244
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/ControlPanel AWS API Documentation
231
245
  #
232
246
  class ControlPanel < Struct.new(
@@ -235,7 +249,8 @@ module Aws::Route53RecoveryControlConfig
235
249
  :default_control_panel,
236
250
  :name,
237
251
  :routing_control_count,
238
- :status)
252
+ :status,
253
+ :owner)
239
254
  SENSITIVE = []
240
255
  include Aws::Structure
241
256
  end
@@ -672,6 +687,10 @@ module Aws::Route53RecoveryControlConfig
672
687
  # you can choose a custom value.
673
688
  # @return [Integer]
674
689
  #
690
+ # @!attribute [rw] owner
691
+ # The Amazon Web Services account ID of the gating rule owner.
692
+ # @return [String]
693
+ #
675
694
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/GatingRule AWS API Documentation
676
695
  #
677
696
  class GatingRule < Struct.new(
@@ -682,7 +701,8 @@ module Aws::Route53RecoveryControlConfig
682
701
  :safety_rule_arn,
683
702
  :status,
684
703
  :target_controls,
685
- :wait_period_ms)
704
+ :wait_period_ms,
705
+ :owner)
686
706
  SENSITIVE = []
687
707
  include Aws::Structure
688
708
  end
@@ -717,6 +737,32 @@ module Aws::Route53RecoveryControlConfig
717
737
  include Aws::Structure
718
738
  end
719
739
 
740
+ # @!attribute [rw] resource_arn
741
+ # @return [String]
742
+ #
743
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/GetResourcePolicyRequest AWS API Documentation
744
+ #
745
+ class GetResourcePolicyRequest < Struct.new(
746
+ :resource_arn)
747
+ SENSITIVE = []
748
+ include Aws::Structure
749
+ end
750
+
751
+ # Returns the current Amazon Resource Access Manager resource policy for
752
+ # a cluster.
753
+ #
754
+ # @!attribute [rw] policy
755
+ # The resource policy.
756
+ # @return [String]
757
+ #
758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/GetResourcePolicyResponse AWS API Documentation
759
+ #
760
+ class GetResourcePolicyResponse < Struct.new(
761
+ :policy)
762
+ SENSITIVE = []
763
+ include Aws::Structure
764
+ end
765
+
720
766
  # 500 response - InternalServiceError. Temporary service error. Retry
721
767
  # the request.
722
768
  #
@@ -1081,13 +1127,18 @@ module Aws::Route53RecoveryControlConfig
1081
1127
  # following: PENDING, DEPLOYED, PENDING\_DELETION.
1082
1128
  # @return [String]
1083
1129
  #
1130
+ # @!attribute [rw] owner
1131
+ # The Amazon Web Services account ID of the routing control owner.
1132
+ # @return [String]
1133
+ #
1084
1134
  # @see http://docs.aws.amazon.com/goto/WebAPI/route53-recovery-control-config-2020-11-02/RoutingControl AWS API Documentation
1085
1135
  #
1086
1136
  class RoutingControl < Struct.new(
1087
1137
  :control_panel_arn,
1088
1138
  :name,
1089
1139
  :routing_control_arn,
1090
- :status)
1140
+ :status,
1141
+ :owner)
1091
1142
  SENSITIVE = []
1092
1143
  include Aws::Structure
1093
1144
  end
@@ -53,6 +53,6 @@ require_relative 'aws-sdk-route53recoverycontrolconfig/customizations'
53
53
  # @!group service
54
54
  module Aws::Route53RecoveryControlConfig
55
55
 
56
- GEM_VERSION = '1.20.0'
56
+ GEM_VERSION = '1.21.0'
57
57
 
58
58
  end
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.20.0
4
+ version: 1.21.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-09-27 00:00:00.000000000 Z
11
+ date: 2023-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core