aws-sdk-controltower 1.17.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-controltower/client.rb +383 -20
- data/lib/aws-sdk-controltower/client_api.rb +294 -0
- data/lib/aws-sdk-controltower/endpoints.rb +126 -0
- data/lib/aws-sdk-controltower/plugins/endpoints.rb +18 -0
- data/lib/aws-sdk-controltower/types.rb +530 -23
- data/lib/aws-sdk-controltower.rb +1 -1
- data/sig/client.rbs +119 -0
- data/sig/types.rbs +158 -0
- metadata +2 -2
data/sig/client.rbs
CHANGED
@@ -96,6 +96,16 @@ module Aws
|
|
96
96
|
) -> _DeleteLandingZoneResponseSuccess
|
97
97
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLandingZoneResponseSuccess
|
98
98
|
|
99
|
+
interface _DisableBaselineResponseSuccess
|
100
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DisableBaselineOutput]
|
101
|
+
def operation_identifier: () -> ::String
|
102
|
+
end
|
103
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlTower/Client.html#disable_baseline-instance_method
|
104
|
+
def disable_baseline: (
|
105
|
+
enabled_baseline_identifier: ::String
|
106
|
+
) -> _DisableBaselineResponseSuccess
|
107
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableBaselineResponseSuccess
|
108
|
+
|
99
109
|
interface _DisableControlResponseSuccess
|
100
110
|
include ::Seahorse::Client::_ResponseSuccess[Types::DisableControlOutput]
|
101
111
|
def operation_identifier: () -> ::String
|
@@ -107,6 +117,27 @@ module Aws
|
|
107
117
|
) -> _DisableControlResponseSuccess
|
108
118
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableControlResponseSuccess
|
109
119
|
|
120
|
+
interface _EnableBaselineResponseSuccess
|
121
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::EnableBaselineOutput]
|
122
|
+
def arn: () -> ::String
|
123
|
+
def operation_identifier: () -> ::String
|
124
|
+
end
|
125
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlTower/Client.html#enable_baseline-instance_method
|
126
|
+
def enable_baseline: (
|
127
|
+
baseline_identifier: ::String,
|
128
|
+
baseline_version: ::String,
|
129
|
+
?parameters: Array[
|
130
|
+
{
|
131
|
+
key: ::String,
|
132
|
+
value: {
|
133
|
+
}
|
134
|
+
},
|
135
|
+
],
|
136
|
+
?tags: Hash[::String, ::String],
|
137
|
+
target_identifier: ::String
|
138
|
+
) -> _EnableBaselineResponseSuccess
|
139
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableBaselineResponseSuccess
|
140
|
+
|
110
141
|
interface _EnableControlResponseSuccess
|
111
142
|
include ::Seahorse::Client::_ResponseSuccess[Types::EnableControlOutput]
|
112
143
|
def arn: () -> ::String
|
@@ -127,6 +158,28 @@ module Aws
|
|
127
158
|
) -> _EnableControlResponseSuccess
|
128
159
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableControlResponseSuccess
|
129
160
|
|
161
|
+
interface _GetBaselineResponseSuccess
|
162
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBaselineOutput]
|
163
|
+
def arn: () -> ::String
|
164
|
+
def description: () -> ::String
|
165
|
+
def name: () -> ::String
|
166
|
+
end
|
167
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlTower/Client.html#get_baseline-instance_method
|
168
|
+
def get_baseline: (
|
169
|
+
baseline_identifier: ::String
|
170
|
+
) -> _GetBaselineResponseSuccess
|
171
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBaselineResponseSuccess
|
172
|
+
|
173
|
+
interface _GetBaselineOperationResponseSuccess
|
174
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetBaselineOperationOutput]
|
175
|
+
def baseline_operation: () -> Types::BaselineOperation
|
176
|
+
end
|
177
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlTower/Client.html#get_baseline_operation-instance_method
|
178
|
+
def get_baseline_operation: (
|
179
|
+
operation_identifier: ::String
|
180
|
+
) -> _GetBaselineOperationResponseSuccess
|
181
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBaselineOperationResponseSuccess
|
182
|
+
|
130
183
|
interface _GetControlOperationResponseSuccess
|
131
184
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetControlOperationOutput]
|
132
185
|
def control_operation: () -> Types::ControlOperation
|
@@ -137,6 +190,16 @@ module Aws
|
|
137
190
|
) -> _GetControlOperationResponseSuccess
|
138
191
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetControlOperationResponseSuccess
|
139
192
|
|
193
|
+
interface _GetEnabledBaselineResponseSuccess
|
194
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetEnabledBaselineOutput]
|
195
|
+
def enabled_baseline_details: () -> Types::EnabledBaselineDetails
|
196
|
+
end
|
197
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlTower/Client.html#get_enabled_baseline-instance_method
|
198
|
+
def get_enabled_baseline: (
|
199
|
+
enabled_baseline_identifier: ::String
|
200
|
+
) -> _GetEnabledBaselineResponseSuccess
|
201
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEnabledBaselineResponseSuccess
|
202
|
+
|
140
203
|
interface _GetEnabledControlResponseSuccess
|
141
204
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetEnabledControlOutput]
|
142
205
|
def enabled_control_details: () -> Types::EnabledControlDetails
|
@@ -167,6 +230,34 @@ module Aws
|
|
167
230
|
) -> _GetLandingZoneOperationResponseSuccess
|
168
231
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLandingZoneOperationResponseSuccess
|
169
232
|
|
233
|
+
interface _ListBaselinesResponseSuccess
|
234
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListBaselinesOutput]
|
235
|
+
def baselines: () -> ::Array[Types::BaselineSummary]
|
236
|
+
def next_token: () -> ::String
|
237
|
+
end
|
238
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlTower/Client.html#list_baselines-instance_method
|
239
|
+
def list_baselines: (
|
240
|
+
?max_results: ::Integer,
|
241
|
+
?next_token: ::String
|
242
|
+
) -> _ListBaselinesResponseSuccess
|
243
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBaselinesResponseSuccess
|
244
|
+
|
245
|
+
interface _ListEnabledBaselinesResponseSuccess
|
246
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListEnabledBaselinesOutput]
|
247
|
+
def enabled_baselines: () -> ::Array[Types::EnabledBaselineSummary]
|
248
|
+
def next_token: () -> ::String
|
249
|
+
end
|
250
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlTower/Client.html#list_enabled_baselines-instance_method
|
251
|
+
def list_enabled_baselines: (
|
252
|
+
?filter: {
|
253
|
+
baseline_identifiers: Array[::String]?,
|
254
|
+
target_identifiers: Array[::String]?
|
255
|
+
},
|
256
|
+
?max_results: ::Integer,
|
257
|
+
?next_token: ::String
|
258
|
+
) -> _ListEnabledBaselinesResponseSuccess
|
259
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEnabledBaselinesResponseSuccess
|
260
|
+
|
170
261
|
interface _ListEnabledControlsResponseSuccess
|
171
262
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListEnabledControlsOutput]
|
172
263
|
def enabled_controls: () -> ::Array[Types::EnabledControlSummary]
|
@@ -202,6 +293,16 @@ module Aws
|
|
202
293
|
) -> _ListTagsForResourceResponseSuccess
|
203
294
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
204
295
|
|
296
|
+
interface _ResetEnabledBaselineResponseSuccess
|
297
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ResetEnabledBaselineOutput]
|
298
|
+
def operation_identifier: () -> ::String
|
299
|
+
end
|
300
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlTower/Client.html#reset_enabled_baseline-instance_method
|
301
|
+
def reset_enabled_baseline: (
|
302
|
+
enabled_baseline_identifier: ::String
|
303
|
+
) -> _ResetEnabledBaselineResponseSuccess
|
304
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResetEnabledBaselineResponseSuccess
|
305
|
+
|
205
306
|
interface _ResetLandingZoneResponseSuccess
|
206
307
|
include ::Seahorse::Client::_ResponseSuccess[Types::ResetLandingZoneOutput]
|
207
308
|
def operation_identifier: () -> ::String
|
@@ -232,6 +333,24 @@ module Aws
|
|
232
333
|
) -> _UntagResourceResponseSuccess
|
233
334
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
|
234
335
|
|
336
|
+
interface _UpdateEnabledBaselineResponseSuccess
|
337
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEnabledBaselineOutput]
|
338
|
+
def operation_identifier: () -> ::String
|
339
|
+
end
|
340
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlTower/Client.html#update_enabled_baseline-instance_method
|
341
|
+
def update_enabled_baseline: (
|
342
|
+
baseline_version: ::String,
|
343
|
+
enabled_baseline_identifier: ::String,
|
344
|
+
?parameters: Array[
|
345
|
+
{
|
346
|
+
key: ::String,
|
347
|
+
value: {
|
348
|
+
}
|
349
|
+
},
|
350
|
+
]
|
351
|
+
) -> _UpdateEnabledBaselineResponseSuccess
|
352
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEnabledBaselineResponseSuccess
|
353
|
+
|
235
354
|
interface _UpdateEnabledControlResponseSuccess
|
236
355
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEnabledControlOutput]
|
237
356
|
def operation_identifier: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -13,6 +13,23 @@ module Aws::ControlTower
|
|
13
13
|
SENSITIVE: []
|
14
14
|
end
|
15
15
|
|
16
|
+
class BaselineOperation
|
17
|
+
attr_accessor end_time: ::Time
|
18
|
+
attr_accessor operation_identifier: ::String
|
19
|
+
attr_accessor operation_type: ("ENABLE_BASELINE" | "DISABLE_BASELINE" | "UPDATE_ENABLED_BASELINE" | "RESET_ENABLED_BASELINE")
|
20
|
+
attr_accessor start_time: ::Time
|
21
|
+
attr_accessor status: ("SUCCEEDED" | "FAILED" | "IN_PROGRESS")
|
22
|
+
attr_accessor status_message: ::String
|
23
|
+
SENSITIVE: []
|
24
|
+
end
|
25
|
+
|
26
|
+
class BaselineSummary
|
27
|
+
attr_accessor arn: ::String
|
28
|
+
attr_accessor description: ::String
|
29
|
+
attr_accessor name: ::String
|
30
|
+
SENSITIVE: []
|
31
|
+
end
|
32
|
+
|
16
33
|
class ConflictException
|
17
34
|
attr_accessor message: ::String
|
18
35
|
SENSITIVE: []
|
@@ -50,6 +67,16 @@ module Aws::ControlTower
|
|
50
67
|
SENSITIVE: []
|
51
68
|
end
|
52
69
|
|
70
|
+
class DisableBaselineInput
|
71
|
+
attr_accessor enabled_baseline_identifier: ::String
|
72
|
+
SENSITIVE: []
|
73
|
+
end
|
74
|
+
|
75
|
+
class DisableBaselineOutput
|
76
|
+
attr_accessor operation_identifier: ::String
|
77
|
+
SENSITIVE: []
|
78
|
+
end
|
79
|
+
|
53
80
|
class DisableControlInput
|
54
81
|
attr_accessor control_identifier: ::String
|
55
82
|
attr_accessor target_identifier: ::String
|
@@ -66,6 +93,21 @@ module Aws::ControlTower
|
|
66
93
|
SENSITIVE: []
|
67
94
|
end
|
68
95
|
|
96
|
+
class EnableBaselineInput
|
97
|
+
attr_accessor baseline_identifier: ::String
|
98
|
+
attr_accessor baseline_version: ::String
|
99
|
+
attr_accessor parameters: ::Array[Types::EnabledBaselineParameter]
|
100
|
+
attr_accessor tags: ::Hash[::String, ::String]
|
101
|
+
attr_accessor target_identifier: ::String
|
102
|
+
SENSITIVE: []
|
103
|
+
end
|
104
|
+
|
105
|
+
class EnableBaselineOutput
|
106
|
+
attr_accessor arn: ::String
|
107
|
+
attr_accessor operation_identifier: ::String
|
108
|
+
SENSITIVE: []
|
109
|
+
end
|
110
|
+
|
69
111
|
class EnableControlInput
|
70
112
|
attr_accessor control_identifier: ::String
|
71
113
|
attr_accessor parameters: ::Array[Types::EnabledControlParameter]
|
@@ -80,6 +122,43 @@ module Aws::ControlTower
|
|
80
122
|
SENSITIVE: []
|
81
123
|
end
|
82
124
|
|
125
|
+
class EnabledBaselineDetails
|
126
|
+
attr_accessor arn: ::String
|
127
|
+
attr_accessor baseline_identifier: ::String
|
128
|
+
attr_accessor baseline_version: ::String
|
129
|
+
attr_accessor parameters: ::Array[Types::EnabledBaselineParameterSummary]
|
130
|
+
attr_accessor status_summary: Types::EnablementStatusSummary
|
131
|
+
attr_accessor target_identifier: ::String
|
132
|
+
SENSITIVE: []
|
133
|
+
end
|
134
|
+
|
135
|
+
class EnabledBaselineFilter
|
136
|
+
attr_accessor baseline_identifiers: ::Array[::String]
|
137
|
+
attr_accessor target_identifiers: ::Array[::String]
|
138
|
+
SENSITIVE: []
|
139
|
+
end
|
140
|
+
|
141
|
+
class EnabledBaselineParameter
|
142
|
+
attr_accessor key: ::String
|
143
|
+
attr_accessor value: untyped
|
144
|
+
SENSITIVE: []
|
145
|
+
end
|
146
|
+
|
147
|
+
class EnabledBaselineParameterSummary
|
148
|
+
attr_accessor key: ::String
|
149
|
+
attr_accessor value: untyped
|
150
|
+
SENSITIVE: []
|
151
|
+
end
|
152
|
+
|
153
|
+
class EnabledBaselineSummary
|
154
|
+
attr_accessor arn: ::String
|
155
|
+
attr_accessor baseline_identifier: ::String
|
156
|
+
attr_accessor baseline_version: ::String
|
157
|
+
attr_accessor status_summary: Types::EnablementStatusSummary
|
158
|
+
attr_accessor target_identifier: ::String
|
159
|
+
SENSITIVE: []
|
160
|
+
end
|
161
|
+
|
83
162
|
class EnabledControlDetails
|
84
163
|
attr_accessor arn: ::String
|
85
164
|
attr_accessor control_identifier: ::String
|
@@ -118,6 +197,28 @@ module Aws::ControlTower
|
|
118
197
|
SENSITIVE: []
|
119
198
|
end
|
120
199
|
|
200
|
+
class GetBaselineInput
|
201
|
+
attr_accessor baseline_identifier: ::String
|
202
|
+
SENSITIVE: []
|
203
|
+
end
|
204
|
+
|
205
|
+
class GetBaselineOperationInput
|
206
|
+
attr_accessor operation_identifier: ::String
|
207
|
+
SENSITIVE: []
|
208
|
+
end
|
209
|
+
|
210
|
+
class GetBaselineOperationOutput
|
211
|
+
attr_accessor baseline_operation: Types::BaselineOperation
|
212
|
+
SENSITIVE: []
|
213
|
+
end
|
214
|
+
|
215
|
+
class GetBaselineOutput
|
216
|
+
attr_accessor arn: ::String
|
217
|
+
attr_accessor description: ::String
|
218
|
+
attr_accessor name: ::String
|
219
|
+
SENSITIVE: []
|
220
|
+
end
|
221
|
+
|
121
222
|
class GetControlOperationInput
|
122
223
|
attr_accessor operation_identifier: ::String
|
123
224
|
SENSITIVE: []
|
@@ -128,6 +229,16 @@ module Aws::ControlTower
|
|
128
229
|
SENSITIVE: []
|
129
230
|
end
|
130
231
|
|
232
|
+
class GetEnabledBaselineInput
|
233
|
+
attr_accessor enabled_baseline_identifier: ::String
|
234
|
+
SENSITIVE: []
|
235
|
+
end
|
236
|
+
|
237
|
+
class GetEnabledBaselineOutput
|
238
|
+
attr_accessor enabled_baseline_details: Types::EnabledBaselineDetails
|
239
|
+
SENSITIVE: []
|
240
|
+
end
|
241
|
+
|
131
242
|
class GetEnabledControlInput
|
132
243
|
attr_accessor enabled_control_identifier: ::String
|
133
244
|
SENSITIVE: []
|
@@ -192,6 +303,31 @@ module Aws::ControlTower
|
|
192
303
|
SENSITIVE: []
|
193
304
|
end
|
194
305
|
|
306
|
+
class ListBaselinesInput
|
307
|
+
attr_accessor max_results: ::Integer
|
308
|
+
attr_accessor next_token: ::String
|
309
|
+
SENSITIVE: []
|
310
|
+
end
|
311
|
+
|
312
|
+
class ListBaselinesOutput
|
313
|
+
attr_accessor baselines: ::Array[Types::BaselineSummary]
|
314
|
+
attr_accessor next_token: ::String
|
315
|
+
SENSITIVE: []
|
316
|
+
end
|
317
|
+
|
318
|
+
class ListEnabledBaselinesInput
|
319
|
+
attr_accessor filter: Types::EnabledBaselineFilter
|
320
|
+
attr_accessor max_results: ::Integer
|
321
|
+
attr_accessor next_token: ::String
|
322
|
+
SENSITIVE: []
|
323
|
+
end
|
324
|
+
|
325
|
+
class ListEnabledBaselinesOutput
|
326
|
+
attr_accessor enabled_baselines: ::Array[Types::EnabledBaselineSummary]
|
327
|
+
attr_accessor next_token: ::String
|
328
|
+
SENSITIVE: []
|
329
|
+
end
|
330
|
+
|
195
331
|
class ListEnabledControlsInput
|
196
332
|
attr_accessor max_results: ::Integer
|
197
333
|
attr_accessor next_token: ::String
|
@@ -232,6 +368,16 @@ module Aws::ControlTower
|
|
232
368
|
SENSITIVE: []
|
233
369
|
end
|
234
370
|
|
371
|
+
class ResetEnabledBaselineInput
|
372
|
+
attr_accessor enabled_baseline_identifier: ::String
|
373
|
+
SENSITIVE: []
|
374
|
+
end
|
375
|
+
|
376
|
+
class ResetEnabledBaselineOutput
|
377
|
+
attr_accessor operation_identifier: ::String
|
378
|
+
SENSITIVE: []
|
379
|
+
end
|
380
|
+
|
235
381
|
class ResetLandingZoneInput
|
236
382
|
attr_accessor landing_zone_identifier: ::String
|
237
383
|
SENSITIVE: []
|
@@ -278,6 +424,18 @@ module Aws::ControlTower
|
|
278
424
|
class UntagResourceOutput < Aws::EmptyStructure
|
279
425
|
end
|
280
426
|
|
427
|
+
class UpdateEnabledBaselineInput
|
428
|
+
attr_accessor baseline_version: ::String
|
429
|
+
attr_accessor enabled_baseline_identifier: ::String
|
430
|
+
attr_accessor parameters: ::Array[Types::EnabledBaselineParameter]
|
431
|
+
SENSITIVE: []
|
432
|
+
end
|
433
|
+
|
434
|
+
class UpdateEnabledBaselineOutput
|
435
|
+
attr_accessor operation_identifier: ::String
|
436
|
+
SENSITIVE: []
|
437
|
+
end
|
438
|
+
|
281
439
|
class UpdateEnabledControlInput
|
282
440
|
attr_accessor enabled_control_identifier: ::String
|
283
441
|
attr_accessor parameters: ::Array[Types::EnabledControlParameter]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-controltower
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.18.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|