aws-sdk-route53recoverycontrolconfig 1.3.0 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-route53recoverycontrolconfig/client.rb +168 -50
- data/lib/aws-sdk-route53recoverycontrolconfig/client_api.rb +112 -40
- data/lib/aws-sdk-route53recoverycontrolconfig/types.rb +250 -122
- data/lib/aws-sdk-route53recoverycontrolconfig.rb +1 -1
- metadata +4 -4
@@ -57,6 +57,8 @@ module Aws::Route53RecoveryControlConfig
|
|
57
57
|
ListRoutingControlsResponse = Shapes::StructureShape.new(name: 'ListRoutingControlsResponse')
|
58
58
|
ListSafetyRulesRequest = Shapes::StructureShape.new(name: 'ListSafetyRulesRequest')
|
59
59
|
ListSafetyRulesResponse = Shapes::StructureShape.new(name: 'ListSafetyRulesResponse')
|
60
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
61
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
60
62
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
61
63
|
NewAssertionRule = Shapes::StructureShape.new(name: 'NewAssertionRule')
|
62
64
|
NewGatingRule = Shapes::StructureShape.new(name: 'NewGatingRule')
|
@@ -67,7 +69,11 @@ module Aws::Route53RecoveryControlConfig
|
|
67
69
|
RuleType = Shapes::StringShape.new(name: 'RuleType')
|
68
70
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
69
71
|
Status = Shapes::StringShape.new(name: 'Status')
|
72
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
73
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
70
74
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
75
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
76
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
71
77
|
UpdateControlPanelRequest = Shapes::StructureShape.new(name: 'UpdateControlPanelRequest')
|
72
78
|
UpdateControlPanelResponse = Shapes::StructureShape.new(name: 'UpdateControlPanelResponse')
|
73
79
|
UpdateRoutingControlRequest = Shapes::StructureShape.new(name: 'UpdateRoutingControlRequest')
|
@@ -84,72 +90,79 @@ module Aws::Route53RecoveryControlConfig
|
|
84
90
|
__listOfRoutingControl = Shapes::ListShape.new(name: '__listOfRoutingControl')
|
85
91
|
__listOfRule = Shapes::ListShape.new(name: '__listOfRule')
|
86
92
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
93
|
+
__listOf__stringMax36PatternS = Shapes::ListShape.new(name: '__listOf__stringMax36PatternS')
|
94
|
+
__listOf__stringMin1Max256PatternAZaZ09 = Shapes::ListShape.new(name: '__listOf__stringMin1Max256PatternAZaZ09')
|
87
95
|
__long = Shapes::IntegerShape.new(name: '__long')
|
96
|
+
__mapOf__stringMin0Max256PatternS = Shapes::MapShape.new(name: '__mapOf__stringMin0Max256PatternS')
|
88
97
|
__string = Shapes::StringShape.new(name: '__string')
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
98
|
+
__stringMax36PatternS = Shapes::StringShape.new(name: '__stringMax36PatternS')
|
99
|
+
__stringMin0Max256PatternS = Shapes::StringShape.new(name: '__stringMin0Max256PatternS')
|
100
|
+
__stringMin1Max128PatternAZaZ09 = Shapes::StringShape.new(name: '__stringMin1Max128PatternAZaZ09')
|
101
|
+
__stringMin1Max256PatternAZaZ09 = Shapes::StringShape.new(name: '__stringMin1Max256PatternAZaZ09')
|
102
|
+
__stringMin1Max32PatternS = Shapes::StringShape.new(name: '__stringMin1Max32PatternS')
|
93
103
|
__stringMin1Max64PatternS = Shapes::StringShape.new(name: '__stringMin1Max64PatternS')
|
104
|
+
__stringMin1Max8096PatternS = Shapes::StringShape.new(name: '__stringMin1Max8096PatternS')
|
94
105
|
__timestampIso8601 = Shapes::TimestampShape.new(name: '__timestampIso8601', timestampFormat: "iso8601")
|
95
106
|
__timestampUnix = Shapes::TimestampShape.new(name: '__timestampUnix', timestampFormat: "unixTimestamp")
|
96
107
|
|
97
108
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
|
98
109
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
99
110
|
|
100
|
-
AssertionRule.add_member(:asserted_controls, Shapes::ShapeRef.new(shape:
|
101
|
-
AssertionRule.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape:
|
111
|
+
AssertionRule.add_member(:asserted_controls, Shapes::ShapeRef.new(shape: __listOf__stringMin1Max256PatternAZaZ09, required: true, location_name: "AssertedControls"))
|
112
|
+
AssertionRule.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, required: true, location_name: "ControlPanelArn"))
|
102
113
|
AssertionRule.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, required: true, location_name: "Name"))
|
103
114
|
AssertionRule.add_member(:rule_config, Shapes::ShapeRef.new(shape: RuleConfig, required: true, location_name: "RuleConfig"))
|
104
|
-
AssertionRule.add_member(:safety_rule_arn, Shapes::ShapeRef.new(shape:
|
115
|
+
AssertionRule.add_member(:safety_rule_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, required: true, location_name: "SafetyRuleArn"))
|
105
116
|
AssertionRule.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "Status"))
|
106
117
|
AssertionRule.add_member(:wait_period_ms, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "WaitPeriodMs"))
|
107
118
|
AssertionRule.struct_class = Types::AssertionRule
|
108
119
|
|
109
120
|
AssertionRuleUpdate.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, required: true, location_name: "Name"))
|
110
|
-
AssertionRuleUpdate.add_member(:safety_rule_arn, Shapes::ShapeRef.new(shape:
|
121
|
+
AssertionRuleUpdate.add_member(:safety_rule_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, required: true, location_name: "SafetyRuleArn"))
|
111
122
|
AssertionRuleUpdate.add_member(:wait_period_ms, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "WaitPeriodMs"))
|
112
123
|
AssertionRuleUpdate.struct_class = Types::AssertionRuleUpdate
|
113
124
|
|
114
|
-
Cluster.add_member(:cluster_arn, Shapes::ShapeRef.new(shape:
|
125
|
+
Cluster.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, location_name: "ClusterArn"))
|
115
126
|
Cluster.add_member(:cluster_endpoints, Shapes::ShapeRef.new(shape: __listOfClusterEndpoint, location_name: "ClusterEndpoints"))
|
116
127
|
Cluster.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, location_name: "Name"))
|
117
128
|
Cluster.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
118
129
|
Cluster.struct_class = Types::Cluster
|
119
130
|
|
120
|
-
ClusterEndpoint.add_member(:endpoint, Shapes::ShapeRef.new(shape:
|
121
|
-
ClusterEndpoint.add_member(:region, Shapes::ShapeRef.new(shape:
|
131
|
+
ClusterEndpoint.add_member(:endpoint, Shapes::ShapeRef.new(shape: __stringMin1Max128PatternAZaZ09, location_name: "Endpoint"))
|
132
|
+
ClusterEndpoint.add_member(:region, Shapes::ShapeRef.new(shape: __stringMin1Max32PatternS, location_name: "Region"))
|
122
133
|
ClusterEndpoint.struct_class = Types::ClusterEndpoint
|
123
134
|
|
124
135
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
|
125
136
|
ConflictException.struct_class = Types::ConflictException
|
126
137
|
|
127
|
-
ControlPanel.add_member(:cluster_arn, Shapes::ShapeRef.new(shape:
|
128
|
-
ControlPanel.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape:
|
138
|
+
ControlPanel.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, location_name: "ClusterArn"))
|
139
|
+
ControlPanel.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, location_name: "ControlPanelArn"))
|
129
140
|
ControlPanel.add_member(:default_control_panel, Shapes::ShapeRef.new(shape: __boolean, location_name: "DefaultControlPanel"))
|
130
141
|
ControlPanel.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, location_name: "Name"))
|
131
142
|
ControlPanel.add_member(:routing_control_count, Shapes::ShapeRef.new(shape: __integer, location_name: "RoutingControlCount"))
|
132
143
|
ControlPanel.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
133
144
|
ControlPanel.struct_class = Types::ControlPanel
|
134
145
|
|
135
|
-
CreateClusterRequest.add_member(:client_token, Shapes::ShapeRef.new(shape:
|
146
|
+
CreateClusterRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
136
147
|
CreateClusterRequest.add_member(:cluster_name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, required: true, location_name: "ClusterName"))
|
148
|
+
CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__stringMin0Max256PatternS, location_name: "Tags"))
|
137
149
|
CreateClusterRequest.struct_class = Types::CreateClusterRequest
|
138
150
|
|
139
151
|
CreateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "Cluster"))
|
140
152
|
CreateClusterResponse.struct_class = Types::CreateClusterResponse
|
141
153
|
|
142
|
-
CreateControlPanelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape:
|
143
|
-
CreateControlPanelRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape:
|
154
|
+
CreateControlPanelRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
155
|
+
CreateControlPanelRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, required: true, location_name: "ClusterArn"))
|
144
156
|
CreateControlPanelRequest.add_member(:control_panel_name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, required: true, location_name: "ControlPanelName"))
|
157
|
+
CreateControlPanelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__stringMin0Max256PatternS, location_name: "Tags"))
|
145
158
|
CreateControlPanelRequest.struct_class = Types::CreateControlPanelRequest
|
146
159
|
|
147
160
|
CreateControlPanelResponse.add_member(:control_panel, Shapes::ShapeRef.new(shape: ControlPanel, location_name: "ControlPanel"))
|
148
161
|
CreateControlPanelResponse.struct_class = Types::CreateControlPanelResponse
|
149
162
|
|
150
|
-
CreateRoutingControlRequest.add_member(:client_token, Shapes::ShapeRef.new(shape:
|
151
|
-
CreateRoutingControlRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape:
|
152
|
-
CreateRoutingControlRequest.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape:
|
163
|
+
CreateRoutingControlRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
164
|
+
CreateRoutingControlRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, required: true, location_name: "ClusterArn"))
|
165
|
+
CreateRoutingControlRequest.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, location_name: "ControlPanelArn"))
|
153
166
|
CreateRoutingControlRequest.add_member(:routing_control_name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, required: true, location_name: "RoutingControlName"))
|
154
167
|
CreateRoutingControlRequest.struct_class = Types::CreateRoutingControlRequest
|
155
168
|
|
@@ -157,8 +170,9 @@ module Aws::Route53RecoveryControlConfig
|
|
157
170
|
CreateRoutingControlResponse.struct_class = Types::CreateRoutingControlResponse
|
158
171
|
|
159
172
|
CreateSafetyRuleRequest.add_member(:assertion_rule, Shapes::ShapeRef.new(shape: NewAssertionRule, location_name: "AssertionRule"))
|
160
|
-
CreateSafetyRuleRequest.add_member(:client_token, Shapes::ShapeRef.new(shape:
|
173
|
+
CreateSafetyRuleRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
|
161
174
|
CreateSafetyRuleRequest.add_member(:gating_rule, Shapes::ShapeRef.new(shape: NewGatingRule, location_name: "GatingRule"))
|
175
|
+
CreateSafetyRuleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__stringMin0Max256PatternS, location_name: "Tags"))
|
162
176
|
CreateSafetyRuleRequest.struct_class = Types::CreateSafetyRuleRequest
|
163
177
|
|
164
178
|
CreateSafetyRuleResponse.add_member(:assertion_rule, Shapes::ShapeRef.new(shape: AssertionRule, location_name: "AssertionRule"))
|
@@ -210,18 +224,18 @@ module Aws::Route53RecoveryControlConfig
|
|
210
224
|
DescribeSafetyRuleResponse.add_member(:gating_rule, Shapes::ShapeRef.new(shape: GatingRule, location_name: "GatingRule"))
|
211
225
|
DescribeSafetyRuleResponse.struct_class = Types::DescribeSafetyRuleResponse
|
212
226
|
|
213
|
-
GatingRule.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape:
|
214
|
-
GatingRule.add_member(:gating_controls, Shapes::ShapeRef.new(shape:
|
227
|
+
GatingRule.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, required: true, location_name: "ControlPanelArn"))
|
228
|
+
GatingRule.add_member(:gating_controls, Shapes::ShapeRef.new(shape: __listOf__stringMin1Max256PatternAZaZ09, required: true, location_name: "GatingControls"))
|
215
229
|
GatingRule.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, required: true, location_name: "Name"))
|
216
230
|
GatingRule.add_member(:rule_config, Shapes::ShapeRef.new(shape: RuleConfig, required: true, location_name: "RuleConfig"))
|
217
|
-
GatingRule.add_member(:safety_rule_arn, Shapes::ShapeRef.new(shape:
|
231
|
+
GatingRule.add_member(:safety_rule_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, required: true, location_name: "SafetyRuleArn"))
|
218
232
|
GatingRule.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "Status"))
|
219
|
-
GatingRule.add_member(:target_controls, Shapes::ShapeRef.new(shape:
|
233
|
+
GatingRule.add_member(:target_controls, Shapes::ShapeRef.new(shape: __listOf__stringMin1Max256PatternAZaZ09, required: true, location_name: "TargetControls"))
|
220
234
|
GatingRule.add_member(:wait_period_ms, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "WaitPeriodMs"))
|
221
235
|
GatingRule.struct_class = Types::GatingRule
|
222
236
|
|
223
237
|
GatingRuleUpdate.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, required: true, location_name: "Name"))
|
224
|
-
GatingRuleUpdate.add_member(:safety_rule_arn, Shapes::ShapeRef.new(shape:
|
238
|
+
GatingRuleUpdate.add_member(:safety_rule_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, required: true, location_name: "SafetyRuleArn"))
|
225
239
|
GatingRuleUpdate.add_member(:wait_period_ms, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "WaitPeriodMs"))
|
226
240
|
GatingRuleUpdate.struct_class = Types::GatingRuleUpdate
|
227
241
|
|
@@ -233,8 +247,8 @@ module Aws::Route53RecoveryControlConfig
|
|
233
247
|
ListAssociatedRoute53HealthChecksRequest.add_member(:routing_control_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "RoutingControlArn"))
|
234
248
|
ListAssociatedRoute53HealthChecksRequest.struct_class = Types::ListAssociatedRoute53HealthChecksRequest
|
235
249
|
|
236
|
-
ListAssociatedRoute53HealthChecksResponse.add_member(:health_check_ids, Shapes::ShapeRef.new(shape:
|
237
|
-
ListAssociatedRoute53HealthChecksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape:
|
250
|
+
ListAssociatedRoute53HealthChecksResponse.add_member(:health_check_ids, Shapes::ShapeRef.new(shape: __listOf__stringMax36PatternS, location_name: "HealthCheckIds"))
|
251
|
+
ListAssociatedRoute53HealthChecksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __stringMin1Max8096PatternS, location_name: "NextToken"))
|
238
252
|
ListAssociatedRoute53HealthChecksResponse.struct_class = Types::ListAssociatedRoute53HealthChecksResponse
|
239
253
|
|
240
254
|
ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "MaxResults"))
|
@@ -242,7 +256,7 @@ module Aws::Route53RecoveryControlConfig
|
|
242
256
|
ListClustersRequest.struct_class = Types::ListClustersRequest
|
243
257
|
|
244
258
|
ListClustersResponse.add_member(:clusters, Shapes::ShapeRef.new(shape: __listOfCluster, location_name: "Clusters"))
|
245
|
-
ListClustersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape:
|
259
|
+
ListClustersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __stringMin1Max8096PatternS, location_name: "NextToken"))
|
246
260
|
ListClustersResponse.struct_class = Types::ListClustersResponse
|
247
261
|
|
248
262
|
ListControlPanelsRequest.add_member(:cluster_arn, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "ClusterArn"))
|
@@ -251,7 +265,7 @@ module Aws::Route53RecoveryControlConfig
|
|
251
265
|
ListControlPanelsRequest.struct_class = Types::ListControlPanelsRequest
|
252
266
|
|
253
267
|
ListControlPanelsResponse.add_member(:control_panels, Shapes::ShapeRef.new(shape: __listOfControlPanel, location_name: "ControlPanels"))
|
254
|
-
ListControlPanelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape:
|
268
|
+
ListControlPanelsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __stringMin1Max8096PatternS, location_name: "NextToken"))
|
255
269
|
ListControlPanelsResponse.struct_class = Types::ListControlPanelsResponse
|
256
270
|
|
257
271
|
ListRoutingControlsRequest.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ControlPanelArn"))
|
@@ -259,7 +273,7 @@ module Aws::Route53RecoveryControlConfig
|
|
259
273
|
ListRoutingControlsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
|
260
274
|
ListRoutingControlsRequest.struct_class = Types::ListRoutingControlsRequest
|
261
275
|
|
262
|
-
ListRoutingControlsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape:
|
276
|
+
ListRoutingControlsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __stringMin1Max8096PatternS, location_name: "NextToken"))
|
263
277
|
ListRoutingControlsResponse.add_member(:routing_controls, Shapes::ShapeRef.new(shape: __listOfRoutingControl, location_name: "RoutingControls"))
|
264
278
|
ListRoutingControlsResponse.struct_class = Types::ListRoutingControlsResponse
|
265
279
|
|
@@ -268,31 +282,37 @@ module Aws::Route53RecoveryControlConfig
|
|
268
282
|
ListSafetyRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "NextToken"))
|
269
283
|
ListSafetyRulesRequest.struct_class = Types::ListSafetyRulesRequest
|
270
284
|
|
271
|
-
ListSafetyRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape:
|
285
|
+
ListSafetyRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __stringMin1Max8096PatternS, location_name: "NextToken"))
|
272
286
|
ListSafetyRulesResponse.add_member(:safety_rules, Shapes::ShapeRef.new(shape: __listOfRule, location_name: "SafetyRules"))
|
273
287
|
ListSafetyRulesResponse.struct_class = Types::ListSafetyRulesResponse
|
274
288
|
|
275
|
-
|
276
|
-
|
289
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ResourceArn"))
|
290
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
291
|
+
|
292
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__stringMin0Max256PatternS, location_name: "Tags"))
|
293
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
294
|
+
|
295
|
+
NewAssertionRule.add_member(:asserted_controls, Shapes::ShapeRef.new(shape: __listOf__stringMin1Max256PatternAZaZ09, required: true, location_name: "AssertedControls"))
|
296
|
+
NewAssertionRule.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, required: true, location_name: "ControlPanelArn"))
|
277
297
|
NewAssertionRule.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, required: true, location_name: "Name"))
|
278
298
|
NewAssertionRule.add_member(:rule_config, Shapes::ShapeRef.new(shape: RuleConfig, required: true, location_name: "RuleConfig"))
|
279
299
|
NewAssertionRule.add_member(:wait_period_ms, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "WaitPeriodMs"))
|
280
300
|
NewAssertionRule.struct_class = Types::NewAssertionRule
|
281
301
|
|
282
|
-
NewGatingRule.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape:
|
283
|
-
NewGatingRule.add_member(:gating_controls, Shapes::ShapeRef.new(shape:
|
302
|
+
NewGatingRule.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, required: true, location_name: "ControlPanelArn"))
|
303
|
+
NewGatingRule.add_member(:gating_controls, Shapes::ShapeRef.new(shape: __listOf__stringMin1Max256PatternAZaZ09, required: true, location_name: "GatingControls"))
|
284
304
|
NewGatingRule.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, required: true, location_name: "Name"))
|
285
305
|
NewGatingRule.add_member(:rule_config, Shapes::ShapeRef.new(shape: RuleConfig, required: true, location_name: "RuleConfig"))
|
286
|
-
NewGatingRule.add_member(:target_controls, Shapes::ShapeRef.new(shape:
|
306
|
+
NewGatingRule.add_member(:target_controls, Shapes::ShapeRef.new(shape: __listOf__stringMin1Max256PatternAZaZ09, required: true, location_name: "TargetControls"))
|
287
307
|
NewGatingRule.add_member(:wait_period_ms, Shapes::ShapeRef.new(shape: __integer, required: true, location_name: "WaitPeriodMs"))
|
288
308
|
NewGatingRule.struct_class = Types::NewGatingRule
|
289
309
|
|
290
310
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
|
291
311
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
292
312
|
|
293
|
-
RoutingControl.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape:
|
313
|
+
RoutingControl.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, location_name: "ControlPanelArn"))
|
294
314
|
RoutingControl.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, location_name: "Name"))
|
295
|
-
RoutingControl.add_member(:routing_control_arn, Shapes::ShapeRef.new(shape:
|
315
|
+
RoutingControl.add_member(:routing_control_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, location_name: "RoutingControlArn"))
|
296
316
|
RoutingControl.add_member(:status, Shapes::ShapeRef.new(shape: Status, location_name: "Status"))
|
297
317
|
RoutingControl.struct_class = Types::RoutingControl
|
298
318
|
|
@@ -308,17 +328,29 @@ module Aws::Route53RecoveryControlConfig
|
|
308
328
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
|
309
329
|
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
|
310
330
|
|
331
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ResourceArn"))
|
332
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: __mapOf__stringMin0Max256PatternS, required: true, location_name: "Tags"))
|
333
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
334
|
+
|
335
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
336
|
+
|
311
337
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "message"))
|
312
338
|
ThrottlingException.struct_class = Types::ThrottlingException
|
313
339
|
|
314
|
-
|
340
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "ResourceArn"))
|
341
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: __listOf__string, required: true, location: "querystring", location_name: "TagKeys"))
|
342
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
343
|
+
|
344
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
345
|
+
|
346
|
+
UpdateControlPanelRequest.add_member(:control_panel_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, required: true, location_name: "ControlPanelArn"))
|
315
347
|
UpdateControlPanelRequest.add_member(:control_panel_name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, required: true, location_name: "ControlPanelName"))
|
316
348
|
UpdateControlPanelRequest.struct_class = Types::UpdateControlPanelRequest
|
317
349
|
|
318
350
|
UpdateControlPanelResponse.add_member(:control_panel, Shapes::ShapeRef.new(shape: ControlPanel, location_name: "ControlPanel"))
|
319
351
|
UpdateControlPanelResponse.struct_class = Types::UpdateControlPanelResponse
|
320
352
|
|
321
|
-
UpdateRoutingControlRequest.add_member(:routing_control_arn, Shapes::ShapeRef.new(shape:
|
353
|
+
UpdateRoutingControlRequest.add_member(:routing_control_arn, Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09, required: true, location_name: "RoutingControlArn"))
|
322
354
|
UpdateRoutingControlRequest.add_member(:routing_control_name, Shapes::ShapeRef.new(shape: __stringMin1Max64PatternS, required: true, location_name: "RoutingControlName"))
|
323
355
|
UpdateRoutingControlRequest.struct_class = Types::UpdateRoutingControlRequest
|
324
356
|
|
@@ -348,6 +380,13 @@ module Aws::Route53RecoveryControlConfig
|
|
348
380
|
|
349
381
|
__listOf__string.member = Shapes::ShapeRef.new(shape: __string)
|
350
382
|
|
383
|
+
__listOf__stringMax36PatternS.member = Shapes::ShapeRef.new(shape: __stringMax36PatternS)
|
384
|
+
|
385
|
+
__listOf__stringMin1Max256PatternAZaZ09.member = Shapes::ShapeRef.new(shape: __stringMin1Max256PatternAZaZ09)
|
386
|
+
|
387
|
+
__mapOf__stringMin0Max256PatternS.key = Shapes::ShapeRef.new(shape: __string)
|
388
|
+
__mapOf__stringMin0Max256PatternS.value = Shapes::ShapeRef.new(shape: __stringMin0Max256PatternS)
|
389
|
+
|
351
390
|
|
352
391
|
# @api private
|
353
392
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -619,6 +658,39 @@ module Aws::Route53RecoveryControlConfig
|
|
619
658
|
)
|
620
659
|
end)
|
621
660
|
|
661
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
662
|
+
o.name = "ListTagsForResource"
|
663
|
+
o.http_method = "GET"
|
664
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
665
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
666
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
667
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
668
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
669
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
670
|
+
end)
|
671
|
+
|
672
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
673
|
+
o.name = "TagResource"
|
674
|
+
o.http_method = "POST"
|
675
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
676
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
677
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
678
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
679
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
680
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
681
|
+
end)
|
682
|
+
|
683
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
684
|
+
o.name = "UntagResource"
|
685
|
+
o.http_method = "DELETE"
|
686
|
+
o.http_request_uri = "/tags/{ResourceArn}"
|
687
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
688
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
689
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
690
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
691
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
692
|
+
end)
|
693
|
+
|
622
694
|
api.add_operation(:update_control_panel, Seahorse::Model::Operation.new.tap do |o|
|
623
695
|
o.name = "UpdateControlPanel"
|
624
696
|
o.http_method = "PUT"
|