aws-sdk-controltower 1.11.0 → 1.13.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-controltower/client.rb +293 -19
- data/lib/aws-sdk-controltower/client_api.rb +198 -0
- data/lib/aws-sdk-controltower/endpoints.rb +98 -0
- data/lib/aws-sdk-controltower/plugins/endpoints.rb +14 -0
- data/lib/aws-sdk-controltower/types.rb +388 -19
- data/lib/aws-sdk-controltower.rb +2 -2
- metadata +5 -5
@@ -20,6 +20,10 @@ module Aws::ControlTower
|
|
20
20
|
ControlOperation = Shapes::StructureShape.new(name: 'ControlOperation')
|
21
21
|
ControlOperationStatus = Shapes::StringShape.new(name: 'ControlOperationStatus')
|
22
22
|
ControlOperationType = Shapes::StringShape.new(name: 'ControlOperationType')
|
23
|
+
CreateLandingZoneInput = Shapes::StructureShape.new(name: 'CreateLandingZoneInput')
|
24
|
+
CreateLandingZoneOutput = Shapes::StructureShape.new(name: 'CreateLandingZoneOutput')
|
25
|
+
DeleteLandingZoneInput = Shapes::StructureShape.new(name: 'DeleteLandingZoneInput')
|
26
|
+
DeleteLandingZoneOutput = Shapes::StructureShape.new(name: 'DeleteLandingZoneOutput')
|
23
27
|
DisableControlInput = Shapes::StructureShape.new(name: 'DisableControlInput')
|
24
28
|
DisableControlOutput = Shapes::StructureShape.new(name: 'DisableControlOutput')
|
25
29
|
DriftStatus = Shapes::StringShape.new(name: 'DriftStatus')
|
@@ -35,16 +39,36 @@ module Aws::ControlTower
|
|
35
39
|
GetControlOperationOutput = Shapes::StructureShape.new(name: 'GetControlOperationOutput')
|
36
40
|
GetEnabledControlInput = Shapes::StructureShape.new(name: 'GetEnabledControlInput')
|
37
41
|
GetEnabledControlOutput = Shapes::StructureShape.new(name: 'GetEnabledControlOutput')
|
42
|
+
GetLandingZoneInput = Shapes::StructureShape.new(name: 'GetLandingZoneInput')
|
43
|
+
GetLandingZoneOperationInput = Shapes::StructureShape.new(name: 'GetLandingZoneOperationInput')
|
44
|
+
GetLandingZoneOperationOutput = Shapes::StructureShape.new(name: 'GetLandingZoneOperationOutput')
|
45
|
+
GetLandingZoneOutput = Shapes::StructureShape.new(name: 'GetLandingZoneOutput')
|
38
46
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
39
47
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
48
|
+
LandingZoneDetail = Shapes::StructureShape.new(name: 'LandingZoneDetail')
|
49
|
+
LandingZoneDriftStatus = Shapes::StringShape.new(name: 'LandingZoneDriftStatus')
|
50
|
+
LandingZoneDriftStatusSummary = Shapes::StructureShape.new(name: 'LandingZoneDriftStatusSummary')
|
51
|
+
LandingZoneOperationDetail = Shapes::StructureShape.new(name: 'LandingZoneOperationDetail')
|
52
|
+
LandingZoneOperationStatus = Shapes::StringShape.new(name: 'LandingZoneOperationStatus')
|
53
|
+
LandingZoneOperationType = Shapes::StringShape.new(name: 'LandingZoneOperationType')
|
54
|
+
LandingZoneStatus = Shapes::StringShape.new(name: 'LandingZoneStatus')
|
55
|
+
LandingZoneSummary = Shapes::StructureShape.new(name: 'LandingZoneSummary')
|
56
|
+
LandingZoneVersion = Shapes::StringShape.new(name: 'LandingZoneVersion')
|
40
57
|
ListEnabledControlsInput = Shapes::StructureShape.new(name: 'ListEnabledControlsInput')
|
41
58
|
ListEnabledControlsOutput = Shapes::StructureShape.new(name: 'ListEnabledControlsOutput')
|
59
|
+
ListLandingZonesInput = Shapes::StructureShape.new(name: 'ListLandingZonesInput')
|
60
|
+
ListLandingZonesMaxResults = Shapes::IntegerShape.new(name: 'ListLandingZonesMaxResults')
|
61
|
+
ListLandingZonesOutput = Shapes::StructureShape.new(name: 'ListLandingZonesOutput')
|
62
|
+
ListLandingZonesOutputLandingZonesList = Shapes::ListShape.new(name: 'ListLandingZonesOutputLandingZonesList')
|
42
63
|
ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
|
43
64
|
ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
|
65
|
+
Manifest = Shapes::DocumentShape.new(name: 'Manifest', document: true)
|
44
66
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
45
67
|
OperationIdentifier = Shapes::StringShape.new(name: 'OperationIdentifier')
|
46
68
|
Region = Shapes::StructureShape.new(name: 'Region')
|
47
69
|
RegionName = Shapes::StringShape.new(name: 'RegionName')
|
70
|
+
ResetLandingZoneInput = Shapes::StructureShape.new(name: 'ResetLandingZoneInput')
|
71
|
+
ResetLandingZoneOutput = Shapes::StructureShape.new(name: 'ResetLandingZoneOutput')
|
48
72
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
49
73
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
50
74
|
String = Shapes::StringShape.new(name: 'String')
|
@@ -58,8 +82,11 @@ module Aws::ControlTower
|
|
58
82
|
TargetIdentifier = Shapes::StringShape.new(name: 'TargetIdentifier')
|
59
83
|
TargetRegions = Shapes::ListShape.new(name: 'TargetRegions')
|
60
84
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
85
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
61
86
|
UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
|
62
87
|
UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
|
88
|
+
UpdateLandingZoneInput = Shapes::StructureShape.new(name: 'UpdateLandingZoneInput')
|
89
|
+
UpdateLandingZoneOutput = Shapes::StructureShape.new(name: 'UpdateLandingZoneOutput')
|
63
90
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
64
91
|
|
65
92
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -75,6 +102,21 @@ module Aws::ControlTower
|
|
75
102
|
ControlOperation.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
76
103
|
ControlOperation.struct_class = Types::ControlOperation
|
77
104
|
|
105
|
+
CreateLandingZoneInput.add_member(:manifest, Shapes::ShapeRef.new(shape: Manifest, required: true, location_name: "manifest"))
|
106
|
+
CreateLandingZoneInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
107
|
+
CreateLandingZoneInput.add_member(:version, Shapes::ShapeRef.new(shape: LandingZoneVersion, required: true, location_name: "version"))
|
108
|
+
CreateLandingZoneInput.struct_class = Types::CreateLandingZoneInput
|
109
|
+
|
110
|
+
CreateLandingZoneOutput.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
|
111
|
+
CreateLandingZoneOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
|
112
|
+
CreateLandingZoneOutput.struct_class = Types::CreateLandingZoneOutput
|
113
|
+
|
114
|
+
DeleteLandingZoneInput.add_member(:landing_zone_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "landingZoneIdentifier"))
|
115
|
+
DeleteLandingZoneInput.struct_class = Types::DeleteLandingZoneInput
|
116
|
+
|
117
|
+
DeleteLandingZoneOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
|
118
|
+
DeleteLandingZoneOutput.struct_class = Types::DeleteLandingZoneOutput
|
119
|
+
|
78
120
|
DisableControlInput.add_member(:control_identifier, Shapes::ShapeRef.new(shape: ControlIdentifier, required: true, location_name: "controlIdentifier"))
|
79
121
|
DisableControlInput.add_member(:target_identifier, Shapes::ShapeRef.new(shape: TargetIdentifier, required: true, location_name: "targetIdentifier"))
|
80
122
|
DisableControlInput.struct_class = Types::DisableControlInput
|
@@ -127,9 +169,42 @@ module Aws::ControlTower
|
|
127
169
|
GetEnabledControlOutput.add_member(:enabled_control_details, Shapes::ShapeRef.new(shape: EnabledControlDetails, required: true, location_name: "enabledControlDetails"))
|
128
170
|
GetEnabledControlOutput.struct_class = Types::GetEnabledControlOutput
|
129
171
|
|
172
|
+
GetLandingZoneInput.add_member(:landing_zone_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "landingZoneIdentifier"))
|
173
|
+
GetLandingZoneInput.struct_class = Types::GetLandingZoneInput
|
174
|
+
|
175
|
+
GetLandingZoneOperationInput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
|
176
|
+
GetLandingZoneOperationInput.struct_class = Types::GetLandingZoneOperationInput
|
177
|
+
|
178
|
+
GetLandingZoneOperationOutput.add_member(:operation_details, Shapes::ShapeRef.new(shape: LandingZoneOperationDetail, required: true, location_name: "operationDetails"))
|
179
|
+
GetLandingZoneOperationOutput.struct_class = Types::GetLandingZoneOperationOutput
|
180
|
+
|
181
|
+
GetLandingZoneOutput.add_member(:landing_zone, Shapes::ShapeRef.new(shape: LandingZoneDetail, required: true, location_name: "landingZone"))
|
182
|
+
GetLandingZoneOutput.struct_class = Types::GetLandingZoneOutput
|
183
|
+
|
130
184
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
131
185
|
InternalServerException.struct_class = Types::InternalServerException
|
132
186
|
|
187
|
+
LandingZoneDetail.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
|
188
|
+
LandingZoneDetail.add_member(:drift_status, Shapes::ShapeRef.new(shape: LandingZoneDriftStatusSummary, location_name: "driftStatus"))
|
189
|
+
LandingZoneDetail.add_member(:latest_available_version, Shapes::ShapeRef.new(shape: LandingZoneVersion, location_name: "latestAvailableVersion"))
|
190
|
+
LandingZoneDetail.add_member(:manifest, Shapes::ShapeRef.new(shape: Manifest, required: true, location_name: "manifest"))
|
191
|
+
LandingZoneDetail.add_member(:status, Shapes::ShapeRef.new(shape: LandingZoneStatus, location_name: "status"))
|
192
|
+
LandingZoneDetail.add_member(:version, Shapes::ShapeRef.new(shape: LandingZoneVersion, required: true, location_name: "version"))
|
193
|
+
LandingZoneDetail.struct_class = Types::LandingZoneDetail
|
194
|
+
|
195
|
+
LandingZoneDriftStatusSummary.add_member(:status, Shapes::ShapeRef.new(shape: LandingZoneDriftStatus, location_name: "status"))
|
196
|
+
LandingZoneDriftStatusSummary.struct_class = Types::LandingZoneDriftStatusSummary
|
197
|
+
|
198
|
+
LandingZoneOperationDetail.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
|
199
|
+
LandingZoneOperationDetail.add_member(:operation_type, Shapes::ShapeRef.new(shape: LandingZoneOperationType, location_name: "operationType"))
|
200
|
+
LandingZoneOperationDetail.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
|
201
|
+
LandingZoneOperationDetail.add_member(:status, Shapes::ShapeRef.new(shape: LandingZoneOperationStatus, location_name: "status"))
|
202
|
+
LandingZoneOperationDetail.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
203
|
+
LandingZoneOperationDetail.struct_class = Types::LandingZoneOperationDetail
|
204
|
+
|
205
|
+
LandingZoneSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
|
206
|
+
LandingZoneSummary.struct_class = Types::LandingZoneSummary
|
207
|
+
|
133
208
|
ListEnabledControlsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
134
209
|
ListEnabledControlsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
135
210
|
ListEnabledControlsInput.add_member(:target_identifier, Shapes::ShapeRef.new(shape: TargetIdentifier, required: true, location_name: "targetIdentifier"))
|
@@ -139,6 +214,16 @@ module Aws::ControlTower
|
|
139
214
|
ListEnabledControlsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
140
215
|
ListEnabledControlsOutput.struct_class = Types::ListEnabledControlsOutput
|
141
216
|
|
217
|
+
ListLandingZonesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLandingZonesMaxResults, location_name: "maxResults"))
|
218
|
+
ListLandingZonesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
219
|
+
ListLandingZonesInput.struct_class = Types::ListLandingZonesInput
|
220
|
+
|
221
|
+
ListLandingZonesOutput.add_member(:landing_zones, Shapes::ShapeRef.new(shape: ListLandingZonesOutputLandingZonesList, required: true, location_name: "landingZones"))
|
222
|
+
ListLandingZonesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
223
|
+
ListLandingZonesOutput.struct_class = Types::ListLandingZonesOutput
|
224
|
+
|
225
|
+
ListLandingZonesOutputLandingZonesList.member = Shapes::ShapeRef.new(shape: LandingZoneSummary)
|
226
|
+
|
142
227
|
ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
|
143
228
|
ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
|
144
229
|
|
@@ -148,6 +233,12 @@ module Aws::ControlTower
|
|
148
233
|
Region.add_member(:name, Shapes::ShapeRef.new(shape: RegionName, location_name: "name"))
|
149
234
|
Region.struct_class = Types::Region
|
150
235
|
|
236
|
+
ResetLandingZoneInput.add_member(:landing_zone_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "landingZoneIdentifier"))
|
237
|
+
ResetLandingZoneInput.struct_class = Types::ResetLandingZoneInput
|
238
|
+
|
239
|
+
ResetLandingZoneOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
|
240
|
+
ResetLandingZoneOutput.struct_class = Types::ResetLandingZoneOutput
|
241
|
+
|
151
242
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
152
243
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
153
244
|
|
@@ -179,6 +270,14 @@ module Aws::ControlTower
|
|
179
270
|
|
180
271
|
UntagResourceOutput.struct_class = Types::UntagResourceOutput
|
181
272
|
|
273
|
+
UpdateLandingZoneInput.add_member(:landing_zone_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "landingZoneIdentifier"))
|
274
|
+
UpdateLandingZoneInput.add_member(:manifest, Shapes::ShapeRef.new(shape: Manifest, required: true, location_name: "manifest"))
|
275
|
+
UpdateLandingZoneInput.add_member(:version, Shapes::ShapeRef.new(shape: LandingZoneVersion, required: true, location_name: "version"))
|
276
|
+
UpdateLandingZoneInput.struct_class = Types::UpdateLandingZoneInput
|
277
|
+
|
278
|
+
UpdateLandingZoneOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
|
279
|
+
UpdateLandingZoneOutput.struct_class = Types::UpdateLandingZoneOutput
|
280
|
+
|
182
281
|
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
183
282
|
ValidationException.struct_class = Types::ValidationException
|
184
283
|
|
@@ -200,6 +299,33 @@ module Aws::ControlTower
|
|
200
299
|
"uid" => "controltower-2018-05-10",
|
201
300
|
}
|
202
301
|
|
302
|
+
api.add_operation(:create_landing_zone, Seahorse::Model::Operation.new.tap do |o|
|
303
|
+
o.name = "CreateLandingZone"
|
304
|
+
o.http_method = "POST"
|
305
|
+
o.http_request_uri = "/create-landingzone"
|
306
|
+
o.input = Shapes::ShapeRef.new(shape: CreateLandingZoneInput)
|
307
|
+
o.output = Shapes::ShapeRef.new(shape: CreateLandingZoneOutput)
|
308
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
309
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
310
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
311
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
312
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
313
|
+
end)
|
314
|
+
|
315
|
+
api.add_operation(:delete_landing_zone, Seahorse::Model::Operation.new.tap do |o|
|
316
|
+
o.name = "DeleteLandingZone"
|
317
|
+
o.http_method = "POST"
|
318
|
+
o.http_request_uri = "/delete-landingzone"
|
319
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteLandingZoneInput)
|
320
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteLandingZoneOutput)
|
321
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
322
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
323
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
324
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
325
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
326
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
327
|
+
end)
|
328
|
+
|
203
329
|
api.add_operation(:disable_control, Seahorse::Model::Operation.new.tap do |o|
|
204
330
|
o.name = "DisableControl"
|
205
331
|
o.http_method = "POST"
|
@@ -256,6 +382,32 @@ module Aws::ControlTower
|
|
256
382
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
257
383
|
end)
|
258
384
|
|
385
|
+
api.add_operation(:get_landing_zone, Seahorse::Model::Operation.new.tap do |o|
|
386
|
+
o.name = "GetLandingZone"
|
387
|
+
o.http_method = "POST"
|
388
|
+
o.http_request_uri = "/get-landingzone"
|
389
|
+
o.input = Shapes::ShapeRef.new(shape: GetLandingZoneInput)
|
390
|
+
o.output = Shapes::ShapeRef.new(shape: GetLandingZoneOutput)
|
391
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
392
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
393
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
394
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
395
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
396
|
+
end)
|
397
|
+
|
398
|
+
api.add_operation(:get_landing_zone_operation, Seahorse::Model::Operation.new.tap do |o|
|
399
|
+
o.name = "GetLandingZoneOperation"
|
400
|
+
o.http_method = "POST"
|
401
|
+
o.http_request_uri = "/get-landingzone-operation"
|
402
|
+
o.input = Shapes::ShapeRef.new(shape: GetLandingZoneOperationInput)
|
403
|
+
o.output = Shapes::ShapeRef.new(shape: GetLandingZoneOperationOutput)
|
404
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
405
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
406
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
407
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
408
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
409
|
+
end)
|
410
|
+
|
259
411
|
api.add_operation(:list_enabled_controls, Seahorse::Model::Operation.new.tap do |o|
|
260
412
|
o.name = "ListEnabledControls"
|
261
413
|
o.http_method = "POST"
|
@@ -275,6 +427,24 @@ module Aws::ControlTower
|
|
275
427
|
)
|
276
428
|
end)
|
277
429
|
|
430
|
+
api.add_operation(:list_landing_zones, Seahorse::Model::Operation.new.tap do |o|
|
431
|
+
o.name = "ListLandingZones"
|
432
|
+
o.http_method = "POST"
|
433
|
+
o.http_request_uri = "/list-landingzones"
|
434
|
+
o.input = Shapes::ShapeRef.new(shape: ListLandingZonesInput)
|
435
|
+
o.output = Shapes::ShapeRef.new(shape: ListLandingZonesOutput)
|
436
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
437
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
438
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
439
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
440
|
+
o[:pager] = Aws::Pager.new(
|
441
|
+
limit_key: "max_results",
|
442
|
+
tokens: {
|
443
|
+
"next_token" => "next_token"
|
444
|
+
}
|
445
|
+
)
|
446
|
+
end)
|
447
|
+
|
278
448
|
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
279
449
|
o.name = "ListTagsForResource"
|
280
450
|
o.http_method = "GET"
|
@@ -286,6 +456,20 @@ module Aws::ControlTower
|
|
286
456
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
287
457
|
end)
|
288
458
|
|
459
|
+
api.add_operation(:reset_landing_zone, Seahorse::Model::Operation.new.tap do |o|
|
460
|
+
o.name = "ResetLandingZone"
|
461
|
+
o.http_method = "POST"
|
462
|
+
o.http_request_uri = "/reset-landingzone"
|
463
|
+
o.input = Shapes::ShapeRef.new(shape: ResetLandingZoneInput)
|
464
|
+
o.output = Shapes::ShapeRef.new(shape: ResetLandingZoneOutput)
|
465
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
466
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
467
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
468
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
469
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
470
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
471
|
+
end)
|
472
|
+
|
289
473
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
290
474
|
o.name = "TagResource"
|
291
475
|
o.http_method = "POST"
|
@@ -307,6 +491,20 @@ module Aws::ControlTower
|
|
307
491
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
308
492
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
309
493
|
end)
|
494
|
+
|
495
|
+
api.add_operation(:update_landing_zone, Seahorse::Model::Operation.new.tap do |o|
|
496
|
+
o.name = "UpdateLandingZone"
|
497
|
+
o.http_method = "POST"
|
498
|
+
o.http_request_uri = "/update-landingzone"
|
499
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateLandingZoneInput)
|
500
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateLandingZoneOutput)
|
501
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
502
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
503
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
504
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
505
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
506
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
507
|
+
end)
|
310
508
|
end
|
311
509
|
|
312
510
|
end
|
@@ -12,6 +12,34 @@ module Aws::ControlTower
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
+
class CreateLandingZone
|
16
|
+
def self.build(context)
|
17
|
+
unless context.config.regional_endpoint
|
18
|
+
endpoint = context.config.endpoint.to_s
|
19
|
+
end
|
20
|
+
Aws::ControlTower::EndpointParameters.new(
|
21
|
+
region: context.config.region,
|
22
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
23
|
+
use_fips: context.config.use_fips_endpoint,
|
24
|
+
endpoint: endpoint,
|
25
|
+
)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
class DeleteLandingZone
|
30
|
+
def self.build(context)
|
31
|
+
unless context.config.regional_endpoint
|
32
|
+
endpoint = context.config.endpoint.to_s
|
33
|
+
end
|
34
|
+
Aws::ControlTower::EndpointParameters.new(
|
35
|
+
region: context.config.region,
|
36
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
37
|
+
use_fips: context.config.use_fips_endpoint,
|
38
|
+
endpoint: endpoint,
|
39
|
+
)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
15
43
|
class DisableControl
|
16
44
|
def self.build(context)
|
17
45
|
unless context.config.regional_endpoint
|
@@ -68,6 +96,34 @@ module Aws::ControlTower
|
|
68
96
|
end
|
69
97
|
end
|
70
98
|
|
99
|
+
class GetLandingZone
|
100
|
+
def self.build(context)
|
101
|
+
unless context.config.regional_endpoint
|
102
|
+
endpoint = context.config.endpoint.to_s
|
103
|
+
end
|
104
|
+
Aws::ControlTower::EndpointParameters.new(
|
105
|
+
region: context.config.region,
|
106
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
107
|
+
use_fips: context.config.use_fips_endpoint,
|
108
|
+
endpoint: endpoint,
|
109
|
+
)
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
class GetLandingZoneOperation
|
114
|
+
def self.build(context)
|
115
|
+
unless context.config.regional_endpoint
|
116
|
+
endpoint = context.config.endpoint.to_s
|
117
|
+
end
|
118
|
+
Aws::ControlTower::EndpointParameters.new(
|
119
|
+
region: context.config.region,
|
120
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
121
|
+
use_fips: context.config.use_fips_endpoint,
|
122
|
+
endpoint: endpoint,
|
123
|
+
)
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
71
127
|
class ListEnabledControls
|
72
128
|
def self.build(context)
|
73
129
|
unless context.config.regional_endpoint
|
@@ -82,6 +138,20 @@ module Aws::ControlTower
|
|
82
138
|
end
|
83
139
|
end
|
84
140
|
|
141
|
+
class ListLandingZones
|
142
|
+
def self.build(context)
|
143
|
+
unless context.config.regional_endpoint
|
144
|
+
endpoint = context.config.endpoint.to_s
|
145
|
+
end
|
146
|
+
Aws::ControlTower::EndpointParameters.new(
|
147
|
+
region: context.config.region,
|
148
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
149
|
+
use_fips: context.config.use_fips_endpoint,
|
150
|
+
endpoint: endpoint,
|
151
|
+
)
|
152
|
+
end
|
153
|
+
end
|
154
|
+
|
85
155
|
class ListTagsForResource
|
86
156
|
def self.build(context)
|
87
157
|
unless context.config.regional_endpoint
|
@@ -96,6 +166,20 @@ module Aws::ControlTower
|
|
96
166
|
end
|
97
167
|
end
|
98
168
|
|
169
|
+
class ResetLandingZone
|
170
|
+
def self.build(context)
|
171
|
+
unless context.config.regional_endpoint
|
172
|
+
endpoint = context.config.endpoint.to_s
|
173
|
+
end
|
174
|
+
Aws::ControlTower::EndpointParameters.new(
|
175
|
+
region: context.config.region,
|
176
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
177
|
+
use_fips: context.config.use_fips_endpoint,
|
178
|
+
endpoint: endpoint,
|
179
|
+
)
|
180
|
+
end
|
181
|
+
end
|
182
|
+
|
99
183
|
class TagResource
|
100
184
|
def self.build(context)
|
101
185
|
unless context.config.regional_endpoint
|
@@ -124,5 +208,19 @@ module Aws::ControlTower
|
|
124
208
|
end
|
125
209
|
end
|
126
210
|
|
211
|
+
class UpdateLandingZone
|
212
|
+
def self.build(context)
|
213
|
+
unless context.config.regional_endpoint
|
214
|
+
endpoint = context.config.endpoint.to_s
|
215
|
+
end
|
216
|
+
Aws::ControlTower::EndpointParameters.new(
|
217
|
+
region: context.config.region,
|
218
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
219
|
+
use_fips: context.config.use_fips_endpoint,
|
220
|
+
endpoint: endpoint,
|
221
|
+
)
|
222
|
+
end
|
223
|
+
end
|
224
|
+
|
127
225
|
end
|
128
226
|
end
|
@@ -56,6 +56,10 @@ module Aws::ControlTower
|
|
56
56
|
|
57
57
|
def parameters_for_operation(context)
|
58
58
|
case context.operation_name
|
59
|
+
when :create_landing_zone
|
60
|
+
Aws::ControlTower::Endpoints::CreateLandingZone.build(context)
|
61
|
+
when :delete_landing_zone
|
62
|
+
Aws::ControlTower::Endpoints::DeleteLandingZone.build(context)
|
59
63
|
when :disable_control
|
60
64
|
Aws::ControlTower::Endpoints::DisableControl.build(context)
|
61
65
|
when :enable_control
|
@@ -64,14 +68,24 @@ module Aws::ControlTower
|
|
64
68
|
Aws::ControlTower::Endpoints::GetControlOperation.build(context)
|
65
69
|
when :get_enabled_control
|
66
70
|
Aws::ControlTower::Endpoints::GetEnabledControl.build(context)
|
71
|
+
when :get_landing_zone
|
72
|
+
Aws::ControlTower::Endpoints::GetLandingZone.build(context)
|
73
|
+
when :get_landing_zone_operation
|
74
|
+
Aws::ControlTower::Endpoints::GetLandingZoneOperation.build(context)
|
67
75
|
when :list_enabled_controls
|
68
76
|
Aws::ControlTower::Endpoints::ListEnabledControls.build(context)
|
77
|
+
when :list_landing_zones
|
78
|
+
Aws::ControlTower::Endpoints::ListLandingZones.build(context)
|
69
79
|
when :list_tags_for_resource
|
70
80
|
Aws::ControlTower::Endpoints::ListTagsForResource.build(context)
|
81
|
+
when :reset_landing_zone
|
82
|
+
Aws::ControlTower::Endpoints::ResetLandingZone.build(context)
|
71
83
|
when :tag_resource
|
72
84
|
Aws::ControlTower::Endpoints::TagResource.build(context)
|
73
85
|
when :untag_resource
|
74
86
|
Aws::ControlTower::Endpoints::UntagResource.build(context)
|
87
|
+
when :update_landing_zone
|
88
|
+
Aws::ControlTower::Endpoints::UpdateLandingZone.build(context)
|
75
89
|
end
|
76
90
|
end
|
77
91
|
end
|