aws-sdk-controltower 1.16.0 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,6 +15,13 @@ module Aws::ControlTower
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
17
  Arn = Shapes::StringShape.new(name: 'Arn')
18
+ BaselineArn = Shapes::StringShape.new(name: 'BaselineArn')
19
+ BaselineOperation = Shapes::StructureShape.new(name: 'BaselineOperation')
20
+ BaselineOperationStatus = Shapes::StringShape.new(name: 'BaselineOperationStatus')
21
+ BaselineOperationType = Shapes::StringShape.new(name: 'BaselineOperationType')
22
+ BaselineSummary = Shapes::StructureShape.new(name: 'BaselineSummary')
23
+ BaselineVersion = Shapes::StringShape.new(name: 'BaselineVersion')
24
+ Baselines = Shapes::ListShape.new(name: 'Baselines')
18
25
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
19
26
  ControlIdentifier = Shapes::StringShape.new(name: 'ControlIdentifier')
20
27
  ControlOperation = Shapes::StructureShape.new(name: 'ControlOperation')
@@ -24,13 +31,28 @@ module Aws::ControlTower
24
31
  CreateLandingZoneOutput = Shapes::StructureShape.new(name: 'CreateLandingZoneOutput')
25
32
  DeleteLandingZoneInput = Shapes::StructureShape.new(name: 'DeleteLandingZoneInput')
26
33
  DeleteLandingZoneOutput = Shapes::StructureShape.new(name: 'DeleteLandingZoneOutput')
34
+ DisableBaselineInput = Shapes::StructureShape.new(name: 'DisableBaselineInput')
35
+ DisableBaselineOutput = Shapes::StructureShape.new(name: 'DisableBaselineOutput')
27
36
  DisableControlInput = Shapes::StructureShape.new(name: 'DisableControlInput')
28
37
  DisableControlOutput = Shapes::StructureShape.new(name: 'DisableControlOutput')
29
38
  Document = Shapes::DocumentShape.new(name: 'Document', document: true)
30
39
  DriftStatus = Shapes::StringShape.new(name: 'DriftStatus')
31
40
  DriftStatusSummary = Shapes::StructureShape.new(name: 'DriftStatusSummary')
41
+ EnableBaselineInput = Shapes::StructureShape.new(name: 'EnableBaselineInput')
42
+ EnableBaselineOutput = Shapes::StructureShape.new(name: 'EnableBaselineOutput')
32
43
  EnableControlInput = Shapes::StructureShape.new(name: 'EnableControlInput')
33
44
  EnableControlOutput = Shapes::StructureShape.new(name: 'EnableControlOutput')
45
+ EnabledBaselineBaselineIdentifiers = Shapes::ListShape.new(name: 'EnabledBaselineBaselineIdentifiers')
46
+ EnabledBaselineDetails = Shapes::StructureShape.new(name: 'EnabledBaselineDetails')
47
+ EnabledBaselineFilter = Shapes::StructureShape.new(name: 'EnabledBaselineFilter')
48
+ EnabledBaselineParameter = Shapes::StructureShape.new(name: 'EnabledBaselineParameter')
49
+ EnabledBaselineParameterDocument = Shapes::DocumentShape.new(name: 'EnabledBaselineParameterDocument', document: true)
50
+ EnabledBaselineParameterSummaries = Shapes::ListShape.new(name: 'EnabledBaselineParameterSummaries')
51
+ EnabledBaselineParameterSummary = Shapes::StructureShape.new(name: 'EnabledBaselineParameterSummary')
52
+ EnabledBaselineParameters = Shapes::ListShape.new(name: 'EnabledBaselineParameters')
53
+ EnabledBaselineSummary = Shapes::StructureShape.new(name: 'EnabledBaselineSummary')
54
+ EnabledBaselineTargetIdentifiers = Shapes::ListShape.new(name: 'EnabledBaselineTargetIdentifiers')
55
+ EnabledBaselines = Shapes::ListShape.new(name: 'EnabledBaselines')
34
56
  EnabledControlDetails = Shapes::StructureShape.new(name: 'EnabledControlDetails')
35
57
  EnabledControlParameter = Shapes::StructureShape.new(name: 'EnabledControlParameter')
36
58
  EnabledControlParameterSummaries = Shapes::ListShape.new(name: 'EnabledControlParameterSummaries')
@@ -40,8 +62,14 @@ module Aws::ControlTower
40
62
  EnabledControls = Shapes::ListShape.new(name: 'EnabledControls')
41
63
  EnablementStatus = Shapes::StringShape.new(name: 'EnablementStatus')
42
64
  EnablementStatusSummary = Shapes::StructureShape.new(name: 'EnablementStatusSummary')
65
+ GetBaselineInput = Shapes::StructureShape.new(name: 'GetBaselineInput')
66
+ GetBaselineOperationInput = Shapes::StructureShape.new(name: 'GetBaselineOperationInput')
67
+ GetBaselineOperationOutput = Shapes::StructureShape.new(name: 'GetBaselineOperationOutput')
68
+ GetBaselineOutput = Shapes::StructureShape.new(name: 'GetBaselineOutput')
43
69
  GetControlOperationInput = Shapes::StructureShape.new(name: 'GetControlOperationInput')
44
70
  GetControlOperationOutput = Shapes::StructureShape.new(name: 'GetControlOperationOutput')
71
+ GetEnabledBaselineInput = Shapes::StructureShape.new(name: 'GetEnabledBaselineInput')
72
+ GetEnabledBaselineOutput = Shapes::StructureShape.new(name: 'GetEnabledBaselineOutput')
45
73
  GetEnabledControlInput = Shapes::StructureShape.new(name: 'GetEnabledControlInput')
46
74
  GetEnabledControlOutput = Shapes::StructureShape.new(name: 'GetEnabledControlOutput')
47
75
  GetLandingZoneInput = Shapes::StructureShape.new(name: 'GetLandingZoneInput')
@@ -59,6 +87,13 @@ module Aws::ControlTower
59
87
  LandingZoneStatus = Shapes::StringShape.new(name: 'LandingZoneStatus')
60
88
  LandingZoneSummary = Shapes::StructureShape.new(name: 'LandingZoneSummary')
61
89
  LandingZoneVersion = Shapes::StringShape.new(name: 'LandingZoneVersion')
90
+ ListBaselinesInput = Shapes::StructureShape.new(name: 'ListBaselinesInput')
91
+ ListBaselinesMaxResults = Shapes::IntegerShape.new(name: 'ListBaselinesMaxResults')
92
+ ListBaselinesOutput = Shapes::StructureShape.new(name: 'ListBaselinesOutput')
93
+ ListEnabledBaselinesInput = Shapes::StructureShape.new(name: 'ListEnabledBaselinesInput')
94
+ ListEnabledBaselinesMaxResults = Shapes::IntegerShape.new(name: 'ListEnabledBaselinesMaxResults')
95
+ ListEnabledBaselinesNextToken = Shapes::StringShape.new(name: 'ListEnabledBaselinesNextToken')
96
+ ListEnabledBaselinesOutput = Shapes::StructureShape.new(name: 'ListEnabledBaselinesOutput')
62
97
  ListEnabledControlsInput = Shapes::StructureShape.new(name: 'ListEnabledControlsInput')
63
98
  ListEnabledControlsOutput = Shapes::StructureShape.new(name: 'ListEnabledControlsOutput')
64
99
  ListLandingZonesInput = Shapes::StructureShape.new(name: 'ListLandingZonesInput')
@@ -72,6 +107,8 @@ module Aws::ControlTower
72
107
  OperationIdentifier = Shapes::StringShape.new(name: 'OperationIdentifier')
73
108
  Region = Shapes::StructureShape.new(name: 'Region')
74
109
  RegionName = Shapes::StringShape.new(name: 'RegionName')
110
+ ResetEnabledBaselineInput = Shapes::StructureShape.new(name: 'ResetEnabledBaselineInput')
111
+ ResetEnabledBaselineOutput = Shapes::StructureShape.new(name: 'ResetEnabledBaselineOutput')
75
112
  ResetLandingZoneInput = Shapes::StructureShape.new(name: 'ResetLandingZoneInput')
76
113
  ResetLandingZoneOutput = Shapes::StructureShape.new(name: 'ResetLandingZoneOutput')
77
114
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
@@ -90,6 +127,8 @@ module Aws::ControlTower
90
127
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
91
128
  UntagResourceInput = Shapes::StructureShape.new(name: 'UntagResourceInput')
92
129
  UntagResourceOutput = Shapes::StructureShape.new(name: 'UntagResourceOutput')
130
+ UpdateEnabledBaselineInput = Shapes::StructureShape.new(name: 'UpdateEnabledBaselineInput')
131
+ UpdateEnabledBaselineOutput = Shapes::StructureShape.new(name: 'UpdateEnabledBaselineOutput')
93
132
  UpdateEnabledControlInput = Shapes::StructureShape.new(name: 'UpdateEnabledControlInput')
94
133
  UpdateEnabledControlOutput = Shapes::StructureShape.new(name: 'UpdateEnabledControlOutput')
95
134
  UpdateLandingZoneInput = Shapes::StructureShape.new(name: 'UpdateLandingZoneInput')
@@ -99,6 +138,21 @@ module Aws::ControlTower
99
138
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
100
139
  AccessDeniedException.struct_class = Types::AccessDeniedException
101
140
 
141
+ BaselineOperation.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
142
+ BaselineOperation.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, location_name: "operationIdentifier"))
143
+ BaselineOperation.add_member(:operation_type, Shapes::ShapeRef.new(shape: BaselineOperationType, location_name: "operationType"))
144
+ BaselineOperation.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
145
+ BaselineOperation.add_member(:status, Shapes::ShapeRef.new(shape: BaselineOperationStatus, location_name: "status"))
146
+ BaselineOperation.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
147
+ BaselineOperation.struct_class = Types::BaselineOperation
148
+
149
+ BaselineSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
150
+ BaselineSummary.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
151
+ BaselineSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
152
+ BaselineSummary.struct_class = Types::BaselineSummary
153
+
154
+ Baselines.member = Shapes::ShapeRef.new(shape: BaselineSummary)
155
+
102
156
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
103
157
  ConflictException.struct_class = Types::ConflictException
104
158
 
@@ -124,6 +178,12 @@ module Aws::ControlTower
124
178
  DeleteLandingZoneOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
125
179
  DeleteLandingZoneOutput.struct_class = Types::DeleteLandingZoneOutput
126
180
 
181
+ DisableBaselineInput.add_member(:enabled_baseline_identifier, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "enabledBaselineIdentifier"))
182
+ DisableBaselineInput.struct_class = Types::DisableBaselineInput
183
+
184
+ DisableBaselineOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
185
+ DisableBaselineOutput.struct_class = Types::DisableBaselineOutput
186
+
127
187
  DisableControlInput.add_member(:control_identifier, Shapes::ShapeRef.new(shape: ControlIdentifier, required: true, location_name: "controlIdentifier"))
128
188
  DisableControlInput.add_member(:target_identifier, Shapes::ShapeRef.new(shape: TargetIdentifier, required: true, location_name: "targetIdentifier"))
129
189
  DisableControlInput.struct_class = Types::DisableControlInput
@@ -134,6 +194,17 @@ module Aws::ControlTower
134
194
  DriftStatusSummary.add_member(:drift_status, Shapes::ShapeRef.new(shape: DriftStatus, location_name: "driftStatus"))
135
195
  DriftStatusSummary.struct_class = Types::DriftStatusSummary
136
196
 
197
+ EnableBaselineInput.add_member(:baseline_identifier, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "baselineIdentifier"))
198
+ EnableBaselineInput.add_member(:baseline_version, Shapes::ShapeRef.new(shape: BaselineVersion, required: true, location_name: "baselineVersion"))
199
+ EnableBaselineInput.add_member(:parameters, Shapes::ShapeRef.new(shape: EnabledBaselineParameters, location_name: "parameters"))
200
+ EnableBaselineInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
201
+ EnableBaselineInput.add_member(:target_identifier, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "targetIdentifier"))
202
+ EnableBaselineInput.struct_class = Types::EnableBaselineInput
203
+
204
+ EnableBaselineOutput.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
205
+ EnableBaselineOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
206
+ EnableBaselineOutput.struct_class = Types::EnableBaselineOutput
207
+
137
208
  EnableControlInput.add_member(:control_identifier, Shapes::ShapeRef.new(shape: ControlIdentifier, required: true, location_name: "controlIdentifier"))
138
209
  EnableControlInput.add_member(:parameters, Shapes::ShapeRef.new(shape: EnabledControlParameters, location_name: "parameters"))
139
210
  EnableControlInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
@@ -144,6 +215,43 @@ module Aws::ControlTower
144
215
  EnableControlOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
145
216
  EnableControlOutput.struct_class = Types::EnableControlOutput
146
217
 
218
+ EnabledBaselineBaselineIdentifiers.member = Shapes::ShapeRef.new(shape: Arn)
219
+
220
+ EnabledBaselineDetails.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
221
+ EnabledBaselineDetails.add_member(:baseline_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "baselineIdentifier"))
222
+ EnabledBaselineDetails.add_member(:baseline_version, Shapes::ShapeRef.new(shape: String, location_name: "baselineVersion"))
223
+ EnabledBaselineDetails.add_member(:parameters, Shapes::ShapeRef.new(shape: EnabledBaselineParameterSummaries, location_name: "parameters"))
224
+ EnabledBaselineDetails.add_member(:status_summary, Shapes::ShapeRef.new(shape: EnablementStatusSummary, required: true, location_name: "statusSummary"))
225
+ EnabledBaselineDetails.add_member(:target_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetIdentifier"))
226
+ EnabledBaselineDetails.struct_class = Types::EnabledBaselineDetails
227
+
228
+ EnabledBaselineFilter.add_member(:baseline_identifiers, Shapes::ShapeRef.new(shape: EnabledBaselineBaselineIdentifiers, location_name: "baselineIdentifiers"))
229
+ EnabledBaselineFilter.add_member(:target_identifiers, Shapes::ShapeRef.new(shape: EnabledBaselineTargetIdentifiers, location_name: "targetIdentifiers"))
230
+ EnabledBaselineFilter.struct_class = Types::EnabledBaselineFilter
231
+
232
+ EnabledBaselineParameter.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "key"))
233
+ EnabledBaselineParameter.add_member(:value, Shapes::ShapeRef.new(shape: EnabledBaselineParameterDocument, required: true, location_name: "value"))
234
+ EnabledBaselineParameter.struct_class = Types::EnabledBaselineParameter
235
+
236
+ EnabledBaselineParameterSummaries.member = Shapes::ShapeRef.new(shape: EnabledBaselineParameterSummary)
237
+
238
+ EnabledBaselineParameterSummary.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "key"))
239
+ EnabledBaselineParameterSummary.add_member(:value, Shapes::ShapeRef.new(shape: EnabledBaselineParameterDocument, required: true, location_name: "value"))
240
+ EnabledBaselineParameterSummary.struct_class = Types::EnabledBaselineParameterSummary
241
+
242
+ EnabledBaselineParameters.member = Shapes::ShapeRef.new(shape: EnabledBaselineParameter)
243
+
244
+ EnabledBaselineSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
245
+ EnabledBaselineSummary.add_member(:baseline_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "baselineIdentifier"))
246
+ EnabledBaselineSummary.add_member(:baseline_version, Shapes::ShapeRef.new(shape: String, location_name: "baselineVersion"))
247
+ EnabledBaselineSummary.add_member(:status_summary, Shapes::ShapeRef.new(shape: EnablementStatusSummary, required: true, location_name: "statusSummary"))
248
+ EnabledBaselineSummary.add_member(:target_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetIdentifier"))
249
+ EnabledBaselineSummary.struct_class = Types::EnabledBaselineSummary
250
+
251
+ EnabledBaselineTargetIdentifiers.member = Shapes::ShapeRef.new(shape: Arn)
252
+
253
+ EnabledBaselines.member = Shapes::ShapeRef.new(shape: EnabledBaselineSummary)
254
+
147
255
  EnabledControlDetails.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
148
256
  EnabledControlDetails.add_member(:control_identifier, Shapes::ShapeRef.new(shape: ControlIdentifier, location_name: "controlIdentifier"))
149
257
  EnabledControlDetails.add_member(:drift_status_summary, Shapes::ShapeRef.new(shape: DriftStatusSummary, location_name: "driftStatusSummary"))
@@ -178,12 +286,32 @@ module Aws::ControlTower
178
286
  EnablementStatusSummary.add_member(:status, Shapes::ShapeRef.new(shape: EnablementStatus, location_name: "status"))
179
287
  EnablementStatusSummary.struct_class = Types::EnablementStatusSummary
180
288
 
289
+ GetBaselineInput.add_member(:baseline_identifier, Shapes::ShapeRef.new(shape: BaselineArn, required: true, location_name: "baselineIdentifier"))
290
+ GetBaselineInput.struct_class = Types::GetBaselineInput
291
+
292
+ GetBaselineOperationInput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
293
+ GetBaselineOperationInput.struct_class = Types::GetBaselineOperationInput
294
+
295
+ GetBaselineOperationOutput.add_member(:baseline_operation, Shapes::ShapeRef.new(shape: BaselineOperation, required: true, location_name: "baselineOperation"))
296
+ GetBaselineOperationOutput.struct_class = Types::GetBaselineOperationOutput
297
+
298
+ GetBaselineOutput.add_member(:arn, Shapes::ShapeRef.new(shape: BaselineArn, required: true, location_name: "arn"))
299
+ GetBaselineOutput.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
300
+ GetBaselineOutput.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
301
+ GetBaselineOutput.struct_class = Types::GetBaselineOutput
302
+
181
303
  GetControlOperationInput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
182
304
  GetControlOperationInput.struct_class = Types::GetControlOperationInput
183
305
 
184
306
  GetControlOperationOutput.add_member(:control_operation, Shapes::ShapeRef.new(shape: ControlOperation, required: true, location_name: "controlOperation"))
185
307
  GetControlOperationOutput.struct_class = Types::GetControlOperationOutput
186
308
 
309
+ GetEnabledBaselineInput.add_member(:enabled_baseline_identifier, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "enabledBaselineIdentifier"))
310
+ GetEnabledBaselineInput.struct_class = Types::GetEnabledBaselineInput
311
+
312
+ GetEnabledBaselineOutput.add_member(:enabled_baseline_details, Shapes::ShapeRef.new(shape: EnabledBaselineDetails, location_name: "enabledBaselineDetails"))
313
+ GetEnabledBaselineOutput.struct_class = Types::GetEnabledBaselineOutput
314
+
187
315
  GetEnabledControlInput.add_member(:enabled_control_identifier, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "enabledControlIdentifier"))
188
316
  GetEnabledControlInput.struct_class = Types::GetEnabledControlInput
189
317
 
@@ -226,6 +354,23 @@ module Aws::ControlTower
226
354
  LandingZoneSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, location_name: "arn"))
227
355
  LandingZoneSummary.struct_class = Types::LandingZoneSummary
228
356
 
357
+ ListBaselinesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListBaselinesMaxResults, location_name: "maxResults"))
358
+ ListBaselinesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
359
+ ListBaselinesInput.struct_class = Types::ListBaselinesInput
360
+
361
+ ListBaselinesOutput.add_member(:baselines, Shapes::ShapeRef.new(shape: Baselines, required: true, location_name: "baselines"))
362
+ ListBaselinesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
363
+ ListBaselinesOutput.struct_class = Types::ListBaselinesOutput
364
+
365
+ ListEnabledBaselinesInput.add_member(:filter, Shapes::ShapeRef.new(shape: EnabledBaselineFilter, location_name: "filter"))
366
+ ListEnabledBaselinesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEnabledBaselinesMaxResults, location_name: "maxResults"))
367
+ ListEnabledBaselinesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListEnabledBaselinesNextToken, location_name: "nextToken"))
368
+ ListEnabledBaselinesInput.struct_class = Types::ListEnabledBaselinesInput
369
+
370
+ ListEnabledBaselinesOutput.add_member(:enabled_baselines, Shapes::ShapeRef.new(shape: EnabledBaselines, required: true, location_name: "enabledBaselines"))
371
+ ListEnabledBaselinesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListEnabledBaselinesNextToken, location_name: "nextToken"))
372
+ ListEnabledBaselinesOutput.struct_class = Types::ListEnabledBaselinesOutput
373
+
229
374
  ListEnabledControlsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
230
375
  ListEnabledControlsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
231
376
  ListEnabledControlsInput.add_member(:target_identifier, Shapes::ShapeRef.new(shape: TargetIdentifier, required: true, location_name: "targetIdentifier"))
@@ -254,6 +399,12 @@ module Aws::ControlTower
254
399
  Region.add_member(:name, Shapes::ShapeRef.new(shape: RegionName, location_name: "name"))
255
400
  Region.struct_class = Types::Region
256
401
 
402
+ ResetEnabledBaselineInput.add_member(:enabled_baseline_identifier, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "enabledBaselineIdentifier"))
403
+ ResetEnabledBaselineInput.struct_class = Types::ResetEnabledBaselineInput
404
+
405
+ ResetEnabledBaselineOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
406
+ ResetEnabledBaselineOutput.struct_class = Types::ResetEnabledBaselineOutput
407
+
257
408
  ResetLandingZoneInput.add_member(:landing_zone_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "landingZoneIdentifier"))
258
409
  ResetLandingZoneInput.struct_class = Types::ResetLandingZoneInput
259
410
 
@@ -291,6 +442,14 @@ module Aws::ControlTower
291
442
 
292
443
  UntagResourceOutput.struct_class = Types::UntagResourceOutput
293
444
 
445
+ UpdateEnabledBaselineInput.add_member(:baseline_version, Shapes::ShapeRef.new(shape: BaselineVersion, required: true, location_name: "baselineVersion"))
446
+ UpdateEnabledBaselineInput.add_member(:enabled_baseline_identifier, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "enabledBaselineIdentifier"))
447
+ UpdateEnabledBaselineInput.add_member(:parameters, Shapes::ShapeRef.new(shape: EnabledBaselineParameters, location_name: "parameters"))
448
+ UpdateEnabledBaselineInput.struct_class = Types::UpdateEnabledBaselineInput
449
+
450
+ UpdateEnabledBaselineOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
451
+ UpdateEnabledBaselineOutput.struct_class = Types::UpdateEnabledBaselineOutput
452
+
294
453
  UpdateEnabledControlInput.add_member(:enabled_control_identifier, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "enabledControlIdentifier"))
295
454
  UpdateEnabledControlInput.add_member(:parameters, Shapes::ShapeRef.new(shape: EnabledControlParameters, required: true, location_name: "parameters"))
296
455
  UpdateEnabledControlInput.struct_class = Types::UpdateEnabledControlInput
@@ -354,6 +513,21 @@ module Aws::ControlTower
354
513
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
355
514
  end)
356
515
 
516
+ api.add_operation(:disable_baseline, Seahorse::Model::Operation.new.tap do |o|
517
+ o.name = "DisableBaseline"
518
+ o.http_method = "POST"
519
+ o.http_request_uri = "/disable-baseline"
520
+ o.input = Shapes::ShapeRef.new(shape: DisableBaselineInput)
521
+ o.output = Shapes::ShapeRef.new(shape: DisableBaselineOutput)
522
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
523
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
524
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
525
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
526
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
527
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
528
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
529
+ end)
530
+
357
531
  api.add_operation(:disable_control, Seahorse::Model::Operation.new.tap do |o|
358
532
  o.name = "DisableControl"
359
533
  o.http_method = "POST"
@@ -369,6 +543,21 @@ module Aws::ControlTower
369
543
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
370
544
  end)
371
545
 
546
+ api.add_operation(:enable_baseline, Seahorse::Model::Operation.new.tap do |o|
547
+ o.name = "EnableBaseline"
548
+ o.http_method = "POST"
549
+ o.http_request_uri = "/enable-baseline"
550
+ o.input = Shapes::ShapeRef.new(shape: EnableBaselineInput)
551
+ o.output = Shapes::ShapeRef.new(shape: EnableBaselineOutput)
552
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
553
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
554
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
555
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
556
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
557
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
558
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
559
+ end)
560
+
372
561
  api.add_operation(:enable_control, Seahorse::Model::Operation.new.tap do |o|
373
562
  o.name = "EnableControl"
374
563
  o.http_method = "POST"
@@ -384,6 +573,32 @@ module Aws::ControlTower
384
573
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
385
574
  end)
386
575
 
576
+ api.add_operation(:get_baseline, Seahorse::Model::Operation.new.tap do |o|
577
+ o.name = "GetBaseline"
578
+ o.http_method = "POST"
579
+ o.http_request_uri = "/get-baseline"
580
+ o.input = Shapes::ShapeRef.new(shape: GetBaselineInput)
581
+ o.output = Shapes::ShapeRef.new(shape: GetBaselineOutput)
582
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
583
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
584
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
585
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
586
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
587
+ end)
588
+
589
+ api.add_operation(:get_baseline_operation, Seahorse::Model::Operation.new.tap do |o|
590
+ o.name = "GetBaselineOperation"
591
+ o.http_method = "POST"
592
+ o.http_request_uri = "/get-baseline-operation"
593
+ o.input = Shapes::ShapeRef.new(shape: GetBaselineOperationInput)
594
+ o.output = Shapes::ShapeRef.new(shape: GetBaselineOperationOutput)
595
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
596
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
597
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
598
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
599
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
600
+ end)
601
+
387
602
  api.add_operation(:get_control_operation, Seahorse::Model::Operation.new.tap do |o|
388
603
  o.name = "GetControlOperation"
389
604
  o.http_method = "POST"
@@ -397,6 +612,19 @@ module Aws::ControlTower
397
612
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
398
613
  end)
399
614
 
615
+ api.add_operation(:get_enabled_baseline, Seahorse::Model::Operation.new.tap do |o|
616
+ o.name = "GetEnabledBaseline"
617
+ o.http_method = "POST"
618
+ o.http_request_uri = "/get-enabled-baseline"
619
+ o.input = Shapes::ShapeRef.new(shape: GetEnabledBaselineInput)
620
+ o.output = Shapes::ShapeRef.new(shape: GetEnabledBaselineOutput)
621
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
622
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
623
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
624
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
625
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
626
+ end)
627
+
400
628
  api.add_operation(:get_enabled_control, Seahorse::Model::Operation.new.tap do |o|
401
629
  o.name = "GetEnabledControl"
402
630
  o.http_method = "POST"
@@ -436,6 +664,42 @@ module Aws::ControlTower
436
664
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
437
665
  end)
438
666
 
667
+ api.add_operation(:list_baselines, Seahorse::Model::Operation.new.tap do |o|
668
+ o.name = "ListBaselines"
669
+ o.http_method = "POST"
670
+ o.http_request_uri = "/list-baselines"
671
+ o.input = Shapes::ShapeRef.new(shape: ListBaselinesInput)
672
+ o.output = Shapes::ShapeRef.new(shape: ListBaselinesOutput)
673
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
674
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
675
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
676
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
677
+ o[:pager] = Aws::Pager.new(
678
+ limit_key: "max_results",
679
+ tokens: {
680
+ "next_token" => "next_token"
681
+ }
682
+ )
683
+ end)
684
+
685
+ api.add_operation(:list_enabled_baselines, Seahorse::Model::Operation.new.tap do |o|
686
+ o.name = "ListEnabledBaselines"
687
+ o.http_method = "POST"
688
+ o.http_request_uri = "/list-enabled-baselines"
689
+ o.input = Shapes::ShapeRef.new(shape: ListEnabledBaselinesInput)
690
+ o.output = Shapes::ShapeRef.new(shape: ListEnabledBaselinesOutput)
691
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
692
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
693
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
694
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
695
+ o[:pager] = Aws::Pager.new(
696
+ limit_key: "max_results",
697
+ tokens: {
698
+ "next_token" => "next_token"
699
+ }
700
+ )
701
+ end)
702
+
439
703
  api.add_operation(:list_enabled_controls, Seahorse::Model::Operation.new.tap do |o|
440
704
  o.name = "ListEnabledControls"
441
705
  o.http_method = "POST"
@@ -484,6 +748,21 @@ module Aws::ControlTower
484
748
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
485
749
  end)
486
750
 
751
+ api.add_operation(:reset_enabled_baseline, Seahorse::Model::Operation.new.tap do |o|
752
+ o.name = "ResetEnabledBaseline"
753
+ o.http_method = "POST"
754
+ o.http_request_uri = "/reset-enabled-baseline"
755
+ o.input = Shapes::ShapeRef.new(shape: ResetEnabledBaselineInput)
756
+ o.output = Shapes::ShapeRef.new(shape: ResetEnabledBaselineOutput)
757
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
758
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
759
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
760
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
761
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
762
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
763
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
764
+ end)
765
+
487
766
  api.add_operation(:reset_landing_zone, Seahorse::Model::Operation.new.tap do |o|
488
767
  o.name = "ResetLandingZone"
489
768
  o.http_method = "POST"
@@ -520,6 +799,21 @@ module Aws::ControlTower
520
799
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
521
800
  end)
522
801
 
802
+ api.add_operation(:update_enabled_baseline, Seahorse::Model::Operation.new.tap do |o|
803
+ o.name = "UpdateEnabledBaseline"
804
+ o.http_method = "POST"
805
+ o.http_request_uri = "/update-enabled-baseline"
806
+ o.input = Shapes::ShapeRef.new(shape: UpdateEnabledBaselineInput)
807
+ o.output = Shapes::ShapeRef.new(shape: UpdateEnabledBaselineOutput)
808
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
809
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
810
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
811
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
812
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
813
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
814
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
815
+ end)
816
+
523
817
  api.add_operation(:update_enabled_control, Seahorse::Model::Operation.new.tap do |o|
524
818
  o.name = "UpdateEnabledControl"
525
819
  o.http_method = "POST"
@@ -40,6 +40,20 @@ module Aws::ControlTower
40
40
  end
41
41
  end
42
42
 
43
+ class DisableBaseline
44
+ def self.build(context)
45
+ unless context.config.regional_endpoint
46
+ endpoint = context.config.endpoint.to_s
47
+ end
48
+ Aws::ControlTower::EndpointParameters.new(
49
+ region: context.config.region,
50
+ use_dual_stack: context.config.use_dualstack_endpoint,
51
+ use_fips: context.config.use_fips_endpoint,
52
+ endpoint: endpoint,
53
+ )
54
+ end
55
+ end
56
+
43
57
  class DisableControl
44
58
  def self.build(context)
45
59
  unless context.config.regional_endpoint
@@ -54,6 +68,20 @@ module Aws::ControlTower
54
68
  end
55
69
  end
56
70
 
71
+ class EnableBaseline
72
+ def self.build(context)
73
+ unless context.config.regional_endpoint
74
+ endpoint = context.config.endpoint.to_s
75
+ end
76
+ Aws::ControlTower::EndpointParameters.new(
77
+ region: context.config.region,
78
+ use_dual_stack: context.config.use_dualstack_endpoint,
79
+ use_fips: context.config.use_fips_endpoint,
80
+ endpoint: endpoint,
81
+ )
82
+ end
83
+ end
84
+
57
85
  class EnableControl
58
86
  def self.build(context)
59
87
  unless context.config.regional_endpoint
@@ -68,6 +96,34 @@ module Aws::ControlTower
68
96
  end
69
97
  end
70
98
 
99
+ class GetBaseline
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 GetBaselineOperation
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 GetControlOperation
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 GetEnabledBaseline
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 GetEnabledControl
86
156
  def self.build(context)
87
157
  unless context.config.regional_endpoint
@@ -124,6 +194,34 @@ module Aws::ControlTower
124
194
  end
125
195
  end
126
196
 
197
+ class ListBaselines
198
+ def self.build(context)
199
+ unless context.config.regional_endpoint
200
+ endpoint = context.config.endpoint.to_s
201
+ end
202
+ Aws::ControlTower::EndpointParameters.new(
203
+ region: context.config.region,
204
+ use_dual_stack: context.config.use_dualstack_endpoint,
205
+ use_fips: context.config.use_fips_endpoint,
206
+ endpoint: endpoint,
207
+ )
208
+ end
209
+ end
210
+
211
+ class ListEnabledBaselines
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
  class ListEnabledControls
128
226
  def self.build(context)
129
227
  unless context.config.regional_endpoint
@@ -166,6 +264,20 @@ module Aws::ControlTower
166
264
  end
167
265
  end
168
266
 
267
+ class ResetEnabledBaseline
268
+ def self.build(context)
269
+ unless context.config.regional_endpoint
270
+ endpoint = context.config.endpoint.to_s
271
+ end
272
+ Aws::ControlTower::EndpointParameters.new(
273
+ region: context.config.region,
274
+ use_dual_stack: context.config.use_dualstack_endpoint,
275
+ use_fips: context.config.use_fips_endpoint,
276
+ endpoint: endpoint,
277
+ )
278
+ end
279
+ end
280
+
169
281
  class ResetLandingZone
170
282
  def self.build(context)
171
283
  unless context.config.regional_endpoint
@@ -208,6 +320,20 @@ module Aws::ControlTower
208
320
  end
209
321
  end
210
322
 
323
+ class UpdateEnabledBaseline
324
+ def self.build(context)
325
+ unless context.config.regional_endpoint
326
+ endpoint = context.config.endpoint.to_s
327
+ end
328
+ Aws::ControlTower::EndpointParameters.new(
329
+ region: context.config.region,
330
+ use_dual_stack: context.config.use_dualstack_endpoint,
331
+ use_fips: context.config.use_fips_endpoint,
332
+ endpoint: endpoint,
333
+ )
334
+ end
335
+ end
336
+
211
337
  class UpdateEnabledControl
212
338
  def self.build(context)
213
339
  unless context.config.regional_endpoint