aws-sdk-controltower 1.12.0 → 1.14.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,13 +20,22 @@ 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')
29
+ Document = Shapes::DocumentShape.new(name: 'Document', document: true)
25
30
  DriftStatus = Shapes::StringShape.new(name: 'DriftStatus')
26
31
  DriftStatusSummary = Shapes::StructureShape.new(name: 'DriftStatusSummary')
27
32
  EnableControlInput = Shapes::StructureShape.new(name: 'EnableControlInput')
28
33
  EnableControlOutput = Shapes::StructureShape.new(name: 'EnableControlOutput')
29
34
  EnabledControlDetails = Shapes::StructureShape.new(name: 'EnabledControlDetails')
35
+ EnabledControlParameter = Shapes::StructureShape.new(name: 'EnabledControlParameter')
36
+ EnabledControlParameterSummaries = Shapes::ListShape.new(name: 'EnabledControlParameterSummaries')
37
+ EnabledControlParameterSummary = Shapes::StructureShape.new(name: 'EnabledControlParameterSummary')
38
+ EnabledControlParameters = Shapes::ListShape.new(name: 'EnabledControlParameters')
30
39
  EnabledControlSummary = Shapes::StructureShape.new(name: 'EnabledControlSummary')
31
40
  EnabledControls = Shapes::ListShape.new(name: 'EnabledControls')
32
41
  EnablementStatus = Shapes::StringShape.new(name: 'EnablementStatus')
@@ -35,16 +44,36 @@ module Aws::ControlTower
35
44
  GetControlOperationOutput = Shapes::StructureShape.new(name: 'GetControlOperationOutput')
36
45
  GetEnabledControlInput = Shapes::StructureShape.new(name: 'GetEnabledControlInput')
37
46
  GetEnabledControlOutput = Shapes::StructureShape.new(name: 'GetEnabledControlOutput')
47
+ GetLandingZoneInput = Shapes::StructureShape.new(name: 'GetLandingZoneInput')
48
+ GetLandingZoneOperationInput = Shapes::StructureShape.new(name: 'GetLandingZoneOperationInput')
49
+ GetLandingZoneOperationOutput = Shapes::StructureShape.new(name: 'GetLandingZoneOperationOutput')
50
+ GetLandingZoneOutput = Shapes::StructureShape.new(name: 'GetLandingZoneOutput')
38
51
  Integer = Shapes::IntegerShape.new(name: 'Integer')
39
52
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
53
+ LandingZoneDetail = Shapes::StructureShape.new(name: 'LandingZoneDetail')
54
+ LandingZoneDriftStatus = Shapes::StringShape.new(name: 'LandingZoneDriftStatus')
55
+ LandingZoneDriftStatusSummary = Shapes::StructureShape.new(name: 'LandingZoneDriftStatusSummary')
56
+ LandingZoneOperationDetail = Shapes::StructureShape.new(name: 'LandingZoneOperationDetail')
57
+ LandingZoneOperationStatus = Shapes::StringShape.new(name: 'LandingZoneOperationStatus')
58
+ LandingZoneOperationType = Shapes::StringShape.new(name: 'LandingZoneOperationType')
59
+ LandingZoneStatus = Shapes::StringShape.new(name: 'LandingZoneStatus')
60
+ LandingZoneSummary = Shapes::StructureShape.new(name: 'LandingZoneSummary')
61
+ LandingZoneVersion = Shapes::StringShape.new(name: 'LandingZoneVersion')
40
62
  ListEnabledControlsInput = Shapes::StructureShape.new(name: 'ListEnabledControlsInput')
41
63
  ListEnabledControlsOutput = Shapes::StructureShape.new(name: 'ListEnabledControlsOutput')
64
+ ListLandingZonesInput = Shapes::StructureShape.new(name: 'ListLandingZonesInput')
65
+ ListLandingZonesMaxResults = Shapes::IntegerShape.new(name: 'ListLandingZonesMaxResults')
66
+ ListLandingZonesOutput = Shapes::StructureShape.new(name: 'ListLandingZonesOutput')
67
+ ListLandingZonesOutputLandingZonesList = Shapes::ListShape.new(name: 'ListLandingZonesOutputLandingZonesList')
42
68
  ListTagsForResourceInput = Shapes::StructureShape.new(name: 'ListTagsForResourceInput')
43
69
  ListTagsForResourceOutput = Shapes::StructureShape.new(name: 'ListTagsForResourceOutput')
70
+ Manifest = Shapes::DocumentShape.new(name: 'Manifest', document: true)
44
71
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
45
72
  OperationIdentifier = Shapes::StringShape.new(name: 'OperationIdentifier')
46
73
  Region = Shapes::StructureShape.new(name: 'Region')
47
74
  RegionName = Shapes::StringShape.new(name: 'RegionName')
75
+ ResetLandingZoneInput = Shapes::StructureShape.new(name: 'ResetLandingZoneInput')
76
+ ResetLandingZoneOutput = Shapes::StructureShape.new(name: 'ResetLandingZoneOutput')
48
77
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
49
78
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
50
79
  String = Shapes::StringShape.new(name: 'String')
@@ -58,8 +87,13 @@ module Aws::ControlTower
58
87
  TargetIdentifier = Shapes::StringShape.new(name: 'TargetIdentifier')
59
88
  TargetRegions = Shapes::ListShape.new(name: 'TargetRegions')
60
89
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
90
+ Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
61
91
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
62
92
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
93
+ UpdateEnabledControlInput = Shapes::StructureShape.new(name: 'UpdateEnabledControlInput')
94
+ UpdateEnabledControlOutput = Shapes::StructureShape.new(name: 'UpdateEnabledControlOutput')
95
+ UpdateLandingZoneInput = Shapes::StructureShape.new(name: 'UpdateLandingZoneInput')
96
+ UpdateLandingZoneOutput = Shapes::StructureShape.new(name: 'UpdateLandingZoneOutput')
63
97
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
64
98
 
65
99
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
@@ -75,6 +109,21 @@ module Aws::ControlTower
75
109
  ControlOperation.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
76
110
  ControlOperation.struct_class = Types::ControlOperation
77
111
 
112
+ CreateLandingZoneInput.add_member(:manifest, Shapes::ShapeRef.new(shape: Manifest, required: true, location_name: "manifest"))
113
+ CreateLandingZoneInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
114
+ CreateLandingZoneInput.add_member(:version, Shapes::ShapeRef.new(shape: LandingZoneVersion, required: true, location_name: "version"))
115
+ CreateLandingZoneInput.struct_class = Types::CreateLandingZoneInput
116
+
117
+ CreateLandingZoneOutput.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
118
+ CreateLandingZoneOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
119
+ CreateLandingZoneOutput.struct_class = Types::CreateLandingZoneOutput
120
+
121
+ DeleteLandingZoneInput.add_member(:landing_zone_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "landingZoneIdentifier"))
122
+ DeleteLandingZoneInput.struct_class = Types::DeleteLandingZoneInput
123
+
124
+ DeleteLandingZoneOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
125
+ DeleteLandingZoneOutput.struct_class = Types::DeleteLandingZoneOutput
126
+
78
127
  DisableControlInput.add_member(:control_identifier, Shapes::ShapeRef.new(shape: ControlIdentifier, required: true, location_name: "controlIdentifier"))
79
128
  DisableControlInput.add_member(:target_identifier, Shapes::ShapeRef.new(shape: TargetIdentifier, required: true, location_name: "targetIdentifier"))
80
129
  DisableControlInput.struct_class = Types::DisableControlInput
@@ -86,6 +135,7 @@ module Aws::ControlTower
86
135
  DriftStatusSummary.struct_class = Types::DriftStatusSummary
87
136
 
88
137
  EnableControlInput.add_member(:control_identifier, Shapes::ShapeRef.new(shape: ControlIdentifier, required: true, location_name: "controlIdentifier"))
138
+ EnableControlInput.add_member(:parameters, Shapes::ShapeRef.new(shape: EnabledControlParameters, location_name: "parameters"))
89
139
  EnableControlInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
90
140
  EnableControlInput.add_member(:target_identifier, Shapes::ShapeRef.new(shape: TargetIdentifier, required: true, location_name: "targetIdentifier"))
91
141
  EnableControlInput.struct_class = Types::EnableControlInput
@@ -97,11 +147,24 @@ module Aws::ControlTower
97
147
  EnabledControlDetails.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
98
148
  EnabledControlDetails.add_member(:control_identifier, Shapes::ShapeRef.new(shape: ControlIdentifier, location_name: "controlIdentifier"))
99
149
  EnabledControlDetails.add_member(:drift_status_summary, Shapes::ShapeRef.new(shape: DriftStatusSummary, location_name: "driftStatusSummary"))
150
+ EnabledControlDetails.add_member(:parameters, Shapes::ShapeRef.new(shape: EnabledControlParameterSummaries, location_name: "parameters"))
100
151
  EnabledControlDetails.add_member(:status_summary, Shapes::ShapeRef.new(shape: EnablementStatusSummary, location_name: "statusSummary"))
101
152
  EnabledControlDetails.add_member(:target_identifier, Shapes::ShapeRef.new(shape: TargetIdentifier, location_name: "targetIdentifier"))
102
153
  EnabledControlDetails.add_member(:target_regions, Shapes::ShapeRef.new(shape: TargetRegions, location_name: "targetRegions"))
103
154
  EnabledControlDetails.struct_class = Types::EnabledControlDetails
104
155
 
156
+ EnabledControlParameter.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "key"))
157
+ EnabledControlParameter.add_member(:value, Shapes::ShapeRef.new(shape: Document, required: true, location_name: "value"))
158
+ EnabledControlParameter.struct_class = Types::EnabledControlParameter
159
+
160
+ EnabledControlParameterSummaries.member = Shapes::ShapeRef.new(shape: EnabledControlParameterSummary)
161
+
162
+ EnabledControlParameterSummary.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "key"))
163
+ EnabledControlParameterSummary.add_member(:value, Shapes::ShapeRef.new(shape: Document, required: true, location_name: "value"))
164
+ EnabledControlParameterSummary.struct_class = Types::EnabledControlParameterSummary
165
+
166
+ EnabledControlParameters.member = Shapes::ShapeRef.new(shape: EnabledControlParameter)
167
+
105
168
  EnabledControlSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
106
169
  EnabledControlSummary.add_member(:control_identifier, Shapes::ShapeRef.new(shape: ControlIdentifier, location_name: "controlIdentifier"))
107
170
  EnabledControlSummary.add_member(:drift_status_summary, Shapes::ShapeRef.new(shape: DriftStatusSummary, location_name: "driftStatusSummary"))
@@ -127,9 +190,42 @@ module Aws::ControlTower
127
190
  GetEnabledControlOutput.add_member(:enabled_control_details, Shapes::ShapeRef.new(shape: EnabledControlDetails, required: true, location_name: "enabledControlDetails"))
128
191
  GetEnabledControlOutput.struct_class = Types::GetEnabledControlOutput
129
192
 
193
+ GetLandingZoneInput.add_member(:landing_zone_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "landingZoneIdentifier"))
194
+ GetLandingZoneInput.struct_class = Types::GetLandingZoneInput
195
+
196
+ GetLandingZoneOperationInput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
197
+ GetLandingZoneOperationInput.struct_class = Types::GetLandingZoneOperationInput
198
+
199
+ GetLandingZoneOperationOutput.add_member(:operation_details, Shapes::ShapeRef.new(shape: LandingZoneOperationDetail, required: true, location_name: "operationDetails"))
200
+ GetLandingZoneOperationOutput.struct_class = Types::GetLandingZoneOperationOutput
201
+
202
+ GetLandingZoneOutput.add_member(:landing_zone, Shapes::ShapeRef.new(shape: LandingZoneDetail, required: true, location_name: "landingZone"))
203
+ GetLandingZoneOutput.struct_class = Types::GetLandingZoneOutput
204
+
130
205
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
131
206
  InternalServerException.struct_class = Types::InternalServerException
132
207
 
208
+ LandingZoneDetail.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
209
+ LandingZoneDetail.add_member(:drift_status, Shapes::ShapeRef.new(shape: LandingZoneDriftStatusSummary, location_name: "driftStatus"))
210
+ LandingZoneDetail.add_member(:latest_available_version, Shapes::ShapeRef.new(shape: LandingZoneVersion, location_name: "latestAvailableVersion"))
211
+ LandingZoneDetail.add_member(:manifest, Shapes::ShapeRef.new(shape: Manifest, required: true, location_name: "manifest"))
212
+ LandingZoneDetail.add_member(:status, Shapes::ShapeRef.new(shape: LandingZoneStatus, location_name: "status"))
213
+ LandingZoneDetail.add_member(:version, Shapes::ShapeRef.new(shape: LandingZoneVersion, required: true, location_name: "version"))
214
+ LandingZoneDetail.struct_class = Types::LandingZoneDetail
215
+
216
+ LandingZoneDriftStatusSummary.add_member(:status, Shapes::ShapeRef.new(shape: LandingZoneDriftStatus, location_name: "status"))
217
+ LandingZoneDriftStatusSummary.struct_class = Types::LandingZoneDriftStatusSummary
218
+
219
+ LandingZoneOperationDetail.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
220
+ LandingZoneOperationDetail.add_member(:operation_type, Shapes::ShapeRef.new(shape: LandingZoneOperationType, location_name: "operationType"))
221
+ LandingZoneOperationDetail.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
222
+ LandingZoneOperationDetail.add_member(:status, Shapes::ShapeRef.new(shape: LandingZoneOperationStatus, location_name: "status"))
223
+ LandingZoneOperationDetail.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
224
+ LandingZoneOperationDetail.struct_class = Types::LandingZoneOperationDetail
225
+
226
+ LandingZoneSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
227
+ LandingZoneSummary.struct_class = Types::LandingZoneSummary
228
+
133
229
  ListEnabledControlsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
134
230
  ListEnabledControlsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
135
231
  ListEnabledControlsInput.add_member(:target_identifier, Shapes::ShapeRef.new(shape: TargetIdentifier, required: true, location_name: "targetIdentifier"))
@@ -139,6 +235,16 @@ module Aws::ControlTower
139
235
  ListEnabledControlsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
140
236
  ListEnabledControlsOutput.struct_class = Types::ListEnabledControlsOutput
141
237
 
238
+ ListLandingZonesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListLandingZonesMaxResults, location_name: "maxResults"))
239
+ ListLandingZonesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
240
+ ListLandingZonesInput.struct_class = Types::ListLandingZonesInput
241
+
242
+ ListLandingZonesOutput.add_member(:landing_zones, Shapes::ShapeRef.new(shape: ListLandingZonesOutputLandingZonesList, required: true, location_name: "landingZones"))
243
+ ListLandingZonesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
244
+ ListLandingZonesOutput.struct_class = Types::ListLandingZonesOutput
245
+
246
+ ListLandingZonesOutputLandingZonesList.member = Shapes::ShapeRef.new(shape: LandingZoneSummary)
247
+
142
248
  ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "resourceArn"))
143
249
  ListTagsForResourceInput.struct_class = Types::ListTagsForResourceInput
144
250
 
@@ -148,6 +254,12 @@ module Aws::ControlTower
148
254
  Region.add_member(:name, Shapes::ShapeRef.new(shape: RegionName, location_name: "name"))
149
255
  Region.struct_class = Types::Region
150
256
 
257
+ ResetLandingZoneInput.add_member(:landing_zone_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "landingZoneIdentifier"))
258
+ ResetLandingZoneInput.struct_class = Types::ResetLandingZoneInput
259
+
260
+ ResetLandingZoneOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
261
+ ResetLandingZoneOutput.struct_class = Types::ResetLandingZoneOutput
262
+
151
263
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
152
264
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
153
265
 
@@ -179,6 +291,21 @@ module Aws::ControlTower
179
291
 
180
292
  UntagResourceOutput.struct_class = Types::UntagResourceOutput
181
293
 
294
+ UpdateEnabledControlInput.add_member(:enabled_control_identifier, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "enabledControlIdentifier"))
295
+ UpdateEnabledControlInput.add_member(:parameters, Shapes::ShapeRef.new(shape: EnabledControlParameters, required: true, location_name: "parameters"))
296
+ UpdateEnabledControlInput.struct_class = Types::UpdateEnabledControlInput
297
+
298
+ UpdateEnabledControlOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
299
+ UpdateEnabledControlOutput.struct_class = Types::UpdateEnabledControlOutput
300
+
301
+ UpdateLandingZoneInput.add_member(:landing_zone_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "landingZoneIdentifier"))
302
+ UpdateLandingZoneInput.add_member(:manifest, Shapes::ShapeRef.new(shape: Manifest, required: true, location_name: "manifest"))
303
+ UpdateLandingZoneInput.add_member(:version, Shapes::ShapeRef.new(shape: LandingZoneVersion, required: true, location_name: "version"))
304
+ UpdateLandingZoneInput.struct_class = Types::UpdateLandingZoneInput
305
+
306
+ UpdateLandingZoneOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
307
+ UpdateLandingZoneOutput.struct_class = Types::UpdateLandingZoneOutput
308
+
182
309
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
183
310
  ValidationException.struct_class = Types::ValidationException
184
311
 
@@ -200,6 +327,33 @@ module Aws::ControlTower
200
327
  "uid" => "controltower-2018-05-10",
201
328
  }
202
329
 
330
+ api.add_operation(:create_landing_zone, Seahorse::Model::Operation.new.tap do |o|
331
+ o.name = "CreateLandingZone"
332
+ o.http_method = "POST"
333
+ o.http_request_uri = "/create-landingzone"
334
+ o.input = Shapes::ShapeRef.new(shape: CreateLandingZoneInput)
335
+ o.output = Shapes::ShapeRef.new(shape: CreateLandingZoneOutput)
336
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
337
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
338
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
339
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
340
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
341
+ end)
342
+
343
+ api.add_operation(:delete_landing_zone, Seahorse::Model::Operation.new.tap do |o|
344
+ o.name = "DeleteLandingZone"
345
+ o.http_method = "POST"
346
+ o.http_request_uri = "/delete-landingzone"
347
+ o.input = Shapes::ShapeRef.new(shape: DeleteLandingZoneInput)
348
+ o.output = Shapes::ShapeRef.new(shape: DeleteLandingZoneOutput)
349
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
350
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
351
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
352
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
353
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
354
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
355
+ end)
356
+
203
357
  api.add_operation(:disable_control, Seahorse::Model::Operation.new.tap do |o|
204
358
  o.name = "DisableControl"
205
359
  o.http_method = "POST"
@@ -256,6 +410,32 @@ module Aws::ControlTower
256
410
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
257
411
  end)
258
412
 
413
+ api.add_operation(:get_landing_zone, Seahorse::Model::Operation.new.tap do |o|
414
+ o.name = "GetLandingZone"
415
+ o.http_method = "POST"
416
+ o.http_request_uri = "/get-landingzone"
417
+ o.input = Shapes::ShapeRef.new(shape: GetLandingZoneInput)
418
+ o.output = Shapes::ShapeRef.new(shape: GetLandingZoneOutput)
419
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
420
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
421
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
422
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
423
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
424
+ end)
425
+
426
+ api.add_operation(:get_landing_zone_operation, Seahorse::Model::Operation.new.tap do |o|
427
+ o.name = "GetLandingZoneOperation"
428
+ o.http_method = "POST"
429
+ o.http_request_uri = "/get-landingzone-operation"
430
+ o.input = Shapes::ShapeRef.new(shape: GetLandingZoneOperationInput)
431
+ o.output = Shapes::ShapeRef.new(shape: GetLandingZoneOperationOutput)
432
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
433
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
434
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
435
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
436
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
437
+ end)
438
+
259
439
  api.add_operation(:list_enabled_controls, Seahorse::Model::Operation.new.tap do |o|
260
440
  o.name = "ListEnabledControls"
261
441
  o.http_method = "POST"
@@ -275,6 +455,24 @@ module Aws::ControlTower
275
455
  )
276
456
  end)
277
457
 
458
+ api.add_operation(:list_landing_zones, Seahorse::Model::Operation.new.tap do |o|
459
+ o.name = "ListLandingZones"
460
+ o.http_method = "POST"
461
+ o.http_request_uri = "/list-landingzones"
462
+ o.input = Shapes::ShapeRef.new(shape: ListLandingZonesInput)
463
+ o.output = Shapes::ShapeRef.new(shape: ListLandingZonesOutput)
464
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
465
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
466
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
467
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
468
+ o[:pager] = Aws::Pager.new(
469
+ limit_key: "max_results",
470
+ tokens: {
471
+ "next_token" => "next_token"
472
+ }
473
+ )
474
+ end)
475
+
278
476
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
279
477
  o.name = "ListTagsForResource"
280
478
  o.http_method = "GET"
@@ -286,6 +484,20 @@ module Aws::ControlTower
286
484
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
287
485
  end)
288
486
 
487
+ api.add_operation(:reset_landing_zone, Seahorse::Model::Operation.new.tap do |o|
488
+ o.name = "ResetLandingZone"
489
+ o.http_method = "POST"
490
+ o.http_request_uri = "/reset-landingzone"
491
+ o.input = Shapes::ShapeRef.new(shape: ResetLandingZoneInput)
492
+ o.output = Shapes::ShapeRef.new(shape: ResetLandingZoneOutput)
493
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
494
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
495
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
496
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
497
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
498
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
499
+ end)
500
+
289
501
  api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
290
502
  o.name = "TagResource"
291
503
  o.http_method = "POST"
@@ -307,6 +519,35 @@ module Aws::ControlTower
307
519
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
308
520
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
309
521
  end)
522
+
523
+ api.add_operation(:update_enabled_control, Seahorse::Model::Operation.new.tap do |o|
524
+ o.name = "UpdateEnabledControl"
525
+ o.http_method = "POST"
526
+ o.http_request_uri = "/update-enabled-control"
527
+ o.input = Shapes::ShapeRef.new(shape: UpdateEnabledControlInput)
528
+ o.output = Shapes::ShapeRef.new(shape: UpdateEnabledControlOutput)
529
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
530
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
531
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
532
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
533
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
534
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
535
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
536
+ end)
537
+
538
+ api.add_operation(:update_landing_zone, Seahorse::Model::Operation.new.tap do |o|
539
+ o.name = "UpdateLandingZone"
540
+ o.http_method = "POST"
541
+ o.http_request_uri = "/update-landingzone"
542
+ o.input = Shapes::ShapeRef.new(shape: UpdateLandingZoneInput)
543
+ o.output = Shapes::ShapeRef.new(shape: UpdateLandingZoneOutput)
544
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
545
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
546
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
547
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
548
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
549
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
550
+ end)
310
551
  end
311
552
 
312
553
  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,33 @@ module Aws::ControlTower
124
208
  end
125
209
  end
126
210
 
211
+ class UpdateEnabledControl
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
+
225
+ class UpdateLandingZone
226
+ def self.build(context)
227
+ unless context.config.regional_endpoint
228
+ endpoint = context.config.endpoint.to_s
229
+ end
230
+ Aws::ControlTower::EndpointParameters.new(
231
+ region: context.config.region,
232
+ use_dual_stack: context.config.use_dualstack_endpoint,
233
+ use_fips: context.config.use_fips_endpoint,
234
+ endpoint: endpoint,
235
+ )
236
+ end
237
+ end
238
+
127
239
  end
128
240
  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,26 @@ 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_enabled_control
88
+ Aws::ControlTower::Endpoints::UpdateEnabledControl.build(context)
89
+ when :update_landing_zone
90
+ Aws::ControlTower::Endpoints::UpdateLandingZone.build(context)
75
91
  end
76
92
  end
77
93
  end