aws-sdk-controltower 1.34.0 → 1.36.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-controltower/client.rb +45 -8
- data/lib/aws-sdk-controltower/client_api.rb +31 -0
- data/lib/aws-sdk-controltower/types.rb +50 -0
- data/lib/aws-sdk-controltower.rb +1 -1
- data/sig/client.rbs +13 -1
- data/sig/types.rbs +17 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b923feab27cdd3ee5b213b11a1fe0380d93181da7998ea5b1b566ccaeca93098
|
4
|
+
data.tar.gz: 5e0f2fa09042f7ea26cea39e9a0103a8e590a876c46eb63851c7e99b9fe26055
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e911c6e4ed7c11308e7f3c6fee0f6edaf4e2bb45ac8edc839ddee18e66faedca3643bc75004508b585e4c7c425b9e48cae8ad58249500205d4ca262fc189a148
|
7
|
+
data.tar.gz: 10c4a726eec8a30f7f9f2da985f9f856f91066af3461a140aef1decacfcb3dc7dc672502817f9b86ba4ab8ae3914182ebfdb3384e40e466ca51c9f274df98026
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.36.0 (2024-11-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds support for child enabled baselines which allow you to see the enabled baseline status for individual accounts.
|
8
|
+
|
9
|
+
1.35.0 (2024-11-12)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Added ResetEnabledControl API.
|
13
|
+
|
4
14
|
1.34.0 (2024-10-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.36.0
|
@@ -863,7 +863,7 @@ module Aws::ControlTower
|
|
863
863
|
# resp.control_operation.enabled_control_identifier #=> String
|
864
864
|
# resp.control_operation.end_time #=> Time
|
865
865
|
# resp.control_operation.operation_identifier #=> String
|
866
|
-
# resp.control_operation.operation_type #=> String, one of "ENABLE_CONTROL", "DISABLE_CONTROL", "UPDATE_ENABLED_CONTROL"
|
866
|
+
# resp.control_operation.operation_type #=> String, one of "ENABLE_CONTROL", "DISABLE_CONTROL", "UPDATE_ENABLED_CONTROL", "RESET_ENABLED_CONTROL"
|
867
867
|
# resp.control_operation.start_time #=> Time
|
868
868
|
# resp.control_operation.status #=> String, one of "SUCCEEDED", "FAILED", "IN_PROGRESS"
|
869
869
|
# resp.control_operation.status_message #=> String
|
@@ -902,6 +902,7 @@ module Aws::ControlTower
|
|
902
902
|
# resp.enabled_baseline_details.baseline_version #=> String
|
903
903
|
# resp.enabled_baseline_details.parameters #=> Array
|
904
904
|
# resp.enabled_baseline_details.parameters[0].key #=> String
|
905
|
+
# resp.enabled_baseline_details.parent_identifier #=> String
|
905
906
|
# resp.enabled_baseline_details.status_summary.last_operation_identifier #=> String
|
906
907
|
# resp.enabled_baseline_details.status_summary.status #=> String, one of "SUCCEEDED", "FAILED", "UNDER_CHANGE"
|
907
908
|
# resp.enabled_baseline_details.target_identifier #=> String
|
@@ -1097,7 +1098,7 @@ module Aws::ControlTower
|
|
1097
1098
|
# resp = client.list_control_operations({
|
1098
1099
|
# filter: {
|
1099
1100
|
# control_identifiers: ["ControlIdentifier"],
|
1100
|
-
# control_operation_types: ["ENABLE_CONTROL"], # accepts ENABLE_CONTROL, DISABLE_CONTROL, UPDATE_ENABLED_CONTROL
|
1101
|
+
# control_operation_types: ["ENABLE_CONTROL"], # accepts ENABLE_CONTROL, DISABLE_CONTROL, UPDATE_ENABLED_CONTROL, RESET_ENABLED_CONTROL
|
1101
1102
|
# enabled_control_identifiers: ["Arn"],
|
1102
1103
|
# statuses: ["SUCCEEDED"], # accepts SUCCEEDED, FAILED, IN_PROGRESS
|
1103
1104
|
# target_identifiers: ["TargetIdentifier"],
|
@@ -1113,7 +1114,7 @@ module Aws::ControlTower
|
|
1113
1114
|
# resp.control_operations[0].enabled_control_identifier #=> String
|
1114
1115
|
# resp.control_operations[0].end_time #=> Time
|
1115
1116
|
# resp.control_operations[0].operation_identifier #=> String
|
1116
|
-
# resp.control_operations[0].operation_type #=> String, one of "ENABLE_CONTROL", "DISABLE_CONTROL", "UPDATE_ENABLED_CONTROL"
|
1117
|
+
# resp.control_operations[0].operation_type #=> String, one of "ENABLE_CONTROL", "DISABLE_CONTROL", "UPDATE_ENABLED_CONTROL", "RESET_ENABLED_CONTROL"
|
1117
1118
|
# resp.control_operations[0].start_time #=> Time
|
1118
1119
|
# resp.control_operations[0].status #=> String, one of "SUCCEEDED", "FAILED", "IN_PROGRESS"
|
1119
1120
|
# resp.control_operations[0].status_message #=> String
|
@@ -1143,6 +1144,10 @@ module Aws::ControlTower
|
|
1143
1144
|
# filters are `baselineIdentifiers` and `targetIdentifiers`. The filter
|
1144
1145
|
# can be applied for either, or both.
|
1145
1146
|
#
|
1147
|
+
# @option params [Boolean] :include_children
|
1148
|
+
# A value that can be set to include the child enabled baselines in
|
1149
|
+
# responses. The default value is false.
|
1150
|
+
#
|
1146
1151
|
# @option params [Integer] :max_results
|
1147
1152
|
# The maximum number of results to be shown.
|
1148
1153
|
#
|
@@ -1161,8 +1166,10 @@ module Aws::ControlTower
|
|
1161
1166
|
# resp = client.list_enabled_baselines({
|
1162
1167
|
# filter: {
|
1163
1168
|
# baseline_identifiers: ["Arn"],
|
1169
|
+
# parent_identifiers: ["Arn"],
|
1164
1170
|
# target_identifiers: ["Arn"],
|
1165
1171
|
# },
|
1172
|
+
# include_children: false,
|
1166
1173
|
# max_results: 1,
|
1167
1174
|
# next_token: "ListEnabledBaselinesNextToken",
|
1168
1175
|
# })
|
@@ -1173,6 +1180,7 @@ module Aws::ControlTower
|
|
1173
1180
|
# resp.enabled_baselines[0].arn #=> String
|
1174
1181
|
# resp.enabled_baselines[0].baseline_identifier #=> String
|
1175
1182
|
# resp.enabled_baselines[0].baseline_version #=> String
|
1183
|
+
# resp.enabled_baselines[0].parent_identifier #=> String
|
1176
1184
|
# resp.enabled_baselines[0].status_summary.last_operation_identifier #=> String
|
1177
1185
|
# resp.enabled_baselines[0].status_summary.status #=> String, one of "SUCCEEDED", "FAILED", "UNDER_CHANGE"
|
1178
1186
|
# resp.enabled_baselines[0].target_identifier #=> String
|
@@ -1415,6 +1423,34 @@ module Aws::ControlTower
|
|
1415
1423
|
req.send_request(options)
|
1416
1424
|
end
|
1417
1425
|
|
1426
|
+
# Resets an enabled control.
|
1427
|
+
#
|
1428
|
+
# @option params [required, String] :enabled_control_identifier
|
1429
|
+
# The ARN of the enabled control to be reset.
|
1430
|
+
#
|
1431
|
+
# @return [Types::ResetEnabledControlOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1432
|
+
#
|
1433
|
+
# * {Types::ResetEnabledControlOutput#operation_identifier #operation_identifier} => String
|
1434
|
+
#
|
1435
|
+
# @example Request syntax with placeholder values
|
1436
|
+
#
|
1437
|
+
# resp = client.reset_enabled_control({
|
1438
|
+
# enabled_control_identifier: "Arn", # required
|
1439
|
+
# })
|
1440
|
+
#
|
1441
|
+
# @example Response structure
|
1442
|
+
#
|
1443
|
+
# resp.operation_identifier #=> String
|
1444
|
+
#
|
1445
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ResetEnabledControl AWS API Documentation
|
1446
|
+
#
|
1447
|
+
# @overload reset_enabled_control(params = {})
|
1448
|
+
# @param [Hash] params ({})
|
1449
|
+
def reset_enabled_control(params = {}, options = {})
|
1450
|
+
req = build_request(:reset_enabled_control, params)
|
1451
|
+
req.send_request(options)
|
1452
|
+
end
|
1453
|
+
|
1418
1454
|
# This API call resets a landing zone. It starts an asynchronous
|
1419
1455
|
# operation that resets the landing zone to the parameters specified in
|
1420
1456
|
# the original configuration, which you specified in the manifest file.
|
@@ -1573,11 +1609,12 @@ module Aws::ControlTower
|
|
1573
1609
|
# Web Services Control Tower updates the control to match any valid
|
1574
1610
|
# parameters that you supply.
|
1575
1611
|
#
|
1576
|
-
# If the `DriftSummary` status for the control shows as DRIFTED
|
1612
|
+
# If the `DriftSummary` status for the control shows as `DRIFTED`, you
|
1577
1613
|
# cannot call this API. Instead, you can update the control by calling
|
1578
|
-
# `
|
1579
|
-
#
|
1580
|
-
#
|
1614
|
+
# the `ResetEnabledControl` API. Alternatively, you can call
|
1615
|
+
# `DisableControl` and then call `EnableControl` again. Also, you can
|
1616
|
+
# run an extending governance operation to repair drift. For usage
|
1617
|
+
# examples, see the [ *Controls Reference Guide* ][1].
|
1581
1618
|
#
|
1582
1619
|
#
|
1583
1620
|
#
|
@@ -1691,7 +1728,7 @@ module Aws::ControlTower
|
|
1691
1728
|
tracer: tracer
|
1692
1729
|
)
|
1693
1730
|
context[:gem_name] = 'aws-sdk-controltower'
|
1694
|
-
context[:gem_version] = '1.
|
1731
|
+
context[:gem_version] = '1.36.0'
|
1695
1732
|
Seahorse::Client::Request.new(handlers, context)
|
1696
1733
|
end
|
1697
1734
|
|
@@ -23,6 +23,7 @@ module Aws::ControlTower
|
|
23
23
|
BaselineSummary = Shapes::StructureShape.new(name: 'BaselineSummary')
|
24
24
|
BaselineVersion = Shapes::StringShape.new(name: 'BaselineVersion')
|
25
25
|
Baselines = Shapes::ListShape.new(name: 'Baselines')
|
26
|
+
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
26
27
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
27
28
|
ControlIdentifier = Shapes::StringShape.new(name: 'ControlIdentifier')
|
28
29
|
ControlIdentifiers = Shapes::ListShape.new(name: 'ControlIdentifiers')
|
@@ -58,6 +59,7 @@ module Aws::ControlTower
|
|
58
59
|
EnabledBaselineParameterSummaries = Shapes::ListShape.new(name: 'EnabledBaselineParameterSummaries')
|
59
60
|
EnabledBaselineParameterSummary = Shapes::StructureShape.new(name: 'EnabledBaselineParameterSummary')
|
60
61
|
EnabledBaselineParameters = Shapes::ListShape.new(name: 'EnabledBaselineParameters')
|
62
|
+
EnabledBaselineParentIdentifiers = Shapes::ListShape.new(name: 'EnabledBaselineParentIdentifiers')
|
61
63
|
EnabledBaselineSummary = Shapes::StructureShape.new(name: 'EnabledBaselineSummary')
|
62
64
|
EnabledBaselineTargetIdentifiers = Shapes::ListShape.new(name: 'EnabledBaselineTargetIdentifiers')
|
63
65
|
EnabledBaselines = Shapes::ListShape.new(name: 'EnabledBaselines')
|
@@ -132,6 +134,8 @@ module Aws::ControlTower
|
|
132
134
|
RegionName = Shapes::StringShape.new(name: 'RegionName')
|
133
135
|
ResetEnabledBaselineInput = Shapes::StructureShape.new(name: 'ResetEnabledBaselineInput')
|
134
136
|
ResetEnabledBaselineOutput = Shapes::StructureShape.new(name: 'ResetEnabledBaselineOutput')
|
137
|
+
ResetEnabledControlInput = Shapes::StructureShape.new(name: 'ResetEnabledControlInput')
|
138
|
+
ResetEnabledControlOutput = Shapes::StructureShape.new(name: 'ResetEnabledControlOutput')
|
135
139
|
ResetLandingZoneInput = Shapes::StructureShape.new(name: 'ResetLandingZoneInput')
|
136
140
|
ResetLandingZoneOutput = Shapes::StructureShape.new(name: 'ResetLandingZoneOutput')
|
137
141
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
@@ -277,11 +281,13 @@ module Aws::ControlTower
|
|
277
281
|
EnabledBaselineDetails.add_member(:baseline_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "baselineIdentifier"))
|
278
282
|
EnabledBaselineDetails.add_member(:baseline_version, Shapes::ShapeRef.new(shape: String, location_name: "baselineVersion"))
|
279
283
|
EnabledBaselineDetails.add_member(:parameters, Shapes::ShapeRef.new(shape: EnabledBaselineParameterSummaries, location_name: "parameters"))
|
284
|
+
EnabledBaselineDetails.add_member(:parent_identifier, Shapes::ShapeRef.new(shape: Arn, location_name: "parentIdentifier"))
|
280
285
|
EnabledBaselineDetails.add_member(:status_summary, Shapes::ShapeRef.new(shape: EnablementStatusSummary, required: true, location_name: "statusSummary"))
|
281
286
|
EnabledBaselineDetails.add_member(:target_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetIdentifier"))
|
282
287
|
EnabledBaselineDetails.struct_class = Types::EnabledBaselineDetails
|
283
288
|
|
284
289
|
EnabledBaselineFilter.add_member(:baseline_identifiers, Shapes::ShapeRef.new(shape: EnabledBaselineBaselineIdentifiers, location_name: "baselineIdentifiers"))
|
290
|
+
EnabledBaselineFilter.add_member(:parent_identifiers, Shapes::ShapeRef.new(shape: EnabledBaselineParentIdentifiers, location_name: "parentIdentifiers"))
|
285
291
|
EnabledBaselineFilter.add_member(:target_identifiers, Shapes::ShapeRef.new(shape: EnabledBaselineTargetIdentifiers, location_name: "targetIdentifiers"))
|
286
292
|
EnabledBaselineFilter.struct_class = Types::EnabledBaselineFilter
|
287
293
|
|
@@ -297,9 +303,12 @@ module Aws::ControlTower
|
|
297
303
|
|
298
304
|
EnabledBaselineParameters.member = Shapes::ShapeRef.new(shape: EnabledBaselineParameter)
|
299
305
|
|
306
|
+
EnabledBaselineParentIdentifiers.member = Shapes::ShapeRef.new(shape: Arn)
|
307
|
+
|
300
308
|
EnabledBaselineSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
|
301
309
|
EnabledBaselineSummary.add_member(:baseline_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "baselineIdentifier"))
|
302
310
|
EnabledBaselineSummary.add_member(:baseline_version, Shapes::ShapeRef.new(shape: String, location_name: "baselineVersion"))
|
311
|
+
EnabledBaselineSummary.add_member(:parent_identifier, Shapes::ShapeRef.new(shape: Arn, location_name: "parentIdentifier"))
|
303
312
|
EnabledBaselineSummary.add_member(:status_summary, Shapes::ShapeRef.new(shape: EnablementStatusSummary, required: true, location_name: "statusSummary"))
|
304
313
|
EnabledBaselineSummary.add_member(:target_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetIdentifier"))
|
305
314
|
EnabledBaselineSummary.struct_class = Types::EnabledBaselineSummary
|
@@ -453,6 +462,7 @@ module Aws::ControlTower
|
|
453
462
|
ListControlOperationsOutput.struct_class = Types::ListControlOperationsOutput
|
454
463
|
|
455
464
|
ListEnabledBaselinesInput.add_member(:filter, Shapes::ShapeRef.new(shape: EnabledBaselineFilter, location_name: "filter"))
|
465
|
+
ListEnabledBaselinesInput.add_member(:include_children, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeChildren"))
|
456
466
|
ListEnabledBaselinesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEnabledBaselinesMaxResults, location_name: "maxResults"))
|
457
467
|
ListEnabledBaselinesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListEnabledBaselinesNextToken, location_name: "nextToken"))
|
458
468
|
ListEnabledBaselinesInput.struct_class = Types::ListEnabledBaselinesInput
|
@@ -505,6 +515,12 @@ module Aws::ControlTower
|
|
505
515
|
ResetEnabledBaselineOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
|
506
516
|
ResetEnabledBaselineOutput.struct_class = Types::ResetEnabledBaselineOutput
|
507
517
|
|
518
|
+
ResetEnabledControlInput.add_member(:enabled_control_identifier, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "enabledControlIdentifier"))
|
519
|
+
ResetEnabledControlInput.struct_class = Types::ResetEnabledControlInput
|
520
|
+
|
521
|
+
ResetEnabledControlOutput.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, required: true, location_name: "operationIdentifier"))
|
522
|
+
ResetEnabledControlOutput.struct_class = Types::ResetEnabledControlOutput
|
523
|
+
|
508
524
|
ResetLandingZoneInput.add_member(:landing_zone_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "landingZoneIdentifier"))
|
509
525
|
ResetLandingZoneInput.struct_class = Types::ResetLandingZoneInput
|
510
526
|
|
@@ -903,6 +919,21 @@ module Aws::ControlTower
|
|
903
919
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
904
920
|
end)
|
905
921
|
|
922
|
+
api.add_operation(:reset_enabled_control, Seahorse::Model::Operation.new.tap do |o|
|
923
|
+
o.name = "ResetEnabledControl"
|
924
|
+
o.http_method = "POST"
|
925
|
+
o.http_request_uri = "/reset-enabled-control"
|
926
|
+
o.input = Shapes::ShapeRef.new(shape: ResetEnabledControlInput)
|
927
|
+
o.output = Shapes::ShapeRef.new(shape: ResetEnabledControlOutput)
|
928
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
929
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
930
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
931
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
932
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
933
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
934
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
935
|
+
end)
|
936
|
+
|
906
937
|
api.add_operation(:reset_landing_zone, Seahorse::Model::Operation.new.tap do |o|
|
907
938
|
o.name = "ResetLandingZone"
|
908
939
|
o.http_method = "POST"
|
@@ -558,6 +558,13 @@ module Aws::ControlTower
|
|
558
558
|
# Shows the parameters that are applied when enabling this `Baseline`.
|
559
559
|
# @return [Array<Types::EnabledBaselineParameterSummary>]
|
560
560
|
#
|
561
|
+
# @!attribute [rw] parent_identifier
|
562
|
+
# An ARN that represents the parent `EnabledBaseline` at the
|
563
|
+
# Organizational Unit (OU) level, from which the child
|
564
|
+
# `EnabledBaseline` inherits its configuration. The value is returned
|
565
|
+
# by `GetEnabledBaseline`.
|
566
|
+
# @return [String]
|
567
|
+
#
|
561
568
|
# @!attribute [rw] status_summary
|
562
569
|
# The deployment summary of an `EnabledControl` or `EnabledBaseline`
|
563
570
|
# resource.
|
@@ -574,6 +581,7 @@ module Aws::ControlTower
|
|
574
581
|
:baseline_identifier,
|
575
582
|
:baseline_version,
|
576
583
|
:parameters,
|
584
|
+
:parent_identifier,
|
577
585
|
:status_summary,
|
578
586
|
:target_identifier)
|
579
587
|
SENSITIVE = []
|
@@ -589,6 +597,11 @@ module Aws::ControlTower
|
|
589
597
|
# filter operation.
|
590
598
|
# @return [Array<String>]
|
591
599
|
#
|
600
|
+
# @!attribute [rw] parent_identifiers
|
601
|
+
# An optional filter that sets up a list of `parentIdentifiers` to
|
602
|
+
# filter the results of the `ListEnabledBaseline` output.
|
603
|
+
# @return [Array<String>]
|
604
|
+
#
|
592
605
|
# @!attribute [rw] target_identifiers
|
593
606
|
# Identifiers for the targets of the `Baseline` filter operation.
|
594
607
|
# @return [Array<String>]
|
@@ -597,6 +610,7 @@ module Aws::ControlTower
|
|
597
610
|
#
|
598
611
|
class EnabledBaselineFilter < Struct.new(
|
599
612
|
:baseline_identifiers,
|
613
|
+
:parent_identifiers,
|
600
614
|
:target_identifiers)
|
601
615
|
SENSITIVE = []
|
602
616
|
include Aws::Structure
|
@@ -657,6 +671,11 @@ module Aws::ControlTower
|
|
657
671
|
# The enabled version of the baseline.
|
658
672
|
# @return [String]
|
659
673
|
#
|
674
|
+
# @!attribute [rw] parent_identifier
|
675
|
+
# An ARN that represents an object returned by `ListEnabledBaseline`,
|
676
|
+
# to describe an enabled baseline.
|
677
|
+
# @return [String]
|
678
|
+
#
|
660
679
|
# @!attribute [rw] status_summary
|
661
680
|
# The deployment summary of an `EnabledControl` or `EnabledBaseline`
|
662
681
|
# resource.
|
@@ -672,6 +691,7 @@ module Aws::ControlTower
|
|
672
691
|
:arn,
|
673
692
|
:baseline_identifier,
|
674
693
|
:baseline_version,
|
694
|
+
:parent_identifier,
|
675
695
|
:status_summary,
|
676
696
|
:target_identifier)
|
677
697
|
SENSITIVE = []
|
@@ -1321,6 +1341,11 @@ module Aws::ControlTower
|
|
1321
1341
|
# filter can be applied for either, or both.
|
1322
1342
|
# @return [Types::EnabledBaselineFilter]
|
1323
1343
|
#
|
1344
|
+
# @!attribute [rw] include_children
|
1345
|
+
# A value that can be set to include the child enabled baselines in
|
1346
|
+
# responses. The default value is false.
|
1347
|
+
# @return [Boolean]
|
1348
|
+
#
|
1324
1349
|
# @!attribute [rw] max_results
|
1325
1350
|
# The maximum number of results to be shown.
|
1326
1351
|
# @return [Integer]
|
@@ -1333,6 +1358,7 @@ module Aws::ControlTower
|
|
1333
1358
|
#
|
1334
1359
|
class ListEnabledBaselinesInput < Struct.new(
|
1335
1360
|
:filter,
|
1361
|
+
:include_children,
|
1336
1362
|
:max_results,
|
1337
1363
|
:next_token)
|
1338
1364
|
SENSITIVE = []
|
@@ -1562,6 +1588,30 @@ module Aws::ControlTower
|
|
1562
1588
|
include Aws::Structure
|
1563
1589
|
end
|
1564
1590
|
|
1591
|
+
# @!attribute [rw] enabled_control_identifier
|
1592
|
+
# The ARN of the enabled control to be reset.
|
1593
|
+
# @return [String]
|
1594
|
+
#
|
1595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ResetEnabledControlInput AWS API Documentation
|
1596
|
+
#
|
1597
|
+
class ResetEnabledControlInput < Struct.new(
|
1598
|
+
:enabled_control_identifier)
|
1599
|
+
SENSITIVE = []
|
1600
|
+
include Aws::Structure
|
1601
|
+
end
|
1602
|
+
|
1603
|
+
# @!attribute [rw] operation_identifier
|
1604
|
+
# The operation identifier for this `ResetEnabledControl` operation.
|
1605
|
+
# @return [String]
|
1606
|
+
#
|
1607
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ResetEnabledControlOutput AWS API Documentation
|
1608
|
+
#
|
1609
|
+
class ResetEnabledControlOutput < Struct.new(
|
1610
|
+
:operation_identifier)
|
1611
|
+
SENSITIVE = []
|
1612
|
+
include Aws::Structure
|
1613
|
+
end
|
1614
|
+
|
1565
1615
|
# @!attribute [rw] landing_zone_identifier
|
1566
1616
|
# The unique identifier of the landing zone.
|
1567
1617
|
# @return [String]
|
data/lib/aws-sdk-controltower.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -254,7 +254,7 @@ module Aws
|
|
254
254
|
def list_control_operations: (
|
255
255
|
?filter: {
|
256
256
|
control_identifiers: Array[::String]?,
|
257
|
-
control_operation_types: Array[("ENABLE_CONTROL" | "DISABLE_CONTROL" | "UPDATE_ENABLED_CONTROL")]?,
|
257
|
+
control_operation_types: Array[("ENABLE_CONTROL" | "DISABLE_CONTROL" | "UPDATE_ENABLED_CONTROL" | "RESET_ENABLED_CONTROL")]?,
|
258
258
|
enabled_control_identifiers: Array[::String]?,
|
259
259
|
statuses: Array[("SUCCEEDED" | "FAILED" | "IN_PROGRESS")]?,
|
260
260
|
target_identifiers: Array[::String]?
|
@@ -273,8 +273,10 @@ module Aws
|
|
273
273
|
def list_enabled_baselines: (
|
274
274
|
?filter: {
|
275
275
|
baseline_identifiers: Array[::String]?,
|
276
|
+
parent_identifiers: Array[::String]?,
|
276
277
|
target_identifiers: Array[::String]?
|
277
278
|
},
|
279
|
+
?include_children: bool,
|
278
280
|
?max_results: ::Integer,
|
279
281
|
?next_token: ::String
|
280
282
|
) -> _ListEnabledBaselinesResponseSuccess
|
@@ -346,6 +348,16 @@ module Aws
|
|
346
348
|
) -> _ResetEnabledBaselineResponseSuccess
|
347
349
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResetEnabledBaselineResponseSuccess
|
348
350
|
|
351
|
+
interface _ResetEnabledControlResponseSuccess
|
352
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ResetEnabledControlOutput]
|
353
|
+
def operation_identifier: () -> ::String
|
354
|
+
end
|
355
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlTower/Client.html#reset_enabled_control-instance_method
|
356
|
+
def reset_enabled_control: (
|
357
|
+
enabled_control_identifier: ::String
|
358
|
+
) -> _ResetEnabledControlResponseSuccess
|
359
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ResetEnabledControlResponseSuccess
|
360
|
+
|
349
361
|
interface _ResetLandingZoneResponseSuccess
|
350
362
|
include ::Seahorse::Client::_ResponseSuccess[Types::ResetLandingZoneOutput]
|
351
363
|
def operation_identifier: () -> ::String
|
data/sig/types.rbs
CHANGED
@@ -40,7 +40,7 @@ module Aws::ControlTower
|
|
40
40
|
attr_accessor enabled_control_identifier: ::String
|
41
41
|
attr_accessor end_time: ::Time
|
42
42
|
attr_accessor operation_identifier: ::String
|
43
|
-
attr_accessor operation_type: ("ENABLE_CONTROL" | "DISABLE_CONTROL" | "UPDATE_ENABLED_CONTROL")
|
43
|
+
attr_accessor operation_type: ("ENABLE_CONTROL" | "DISABLE_CONTROL" | "UPDATE_ENABLED_CONTROL" | "RESET_ENABLED_CONTROL")
|
44
44
|
attr_accessor start_time: ::Time
|
45
45
|
attr_accessor status: ("SUCCEEDED" | "FAILED" | "IN_PROGRESS")
|
46
46
|
attr_accessor status_message: ::String
|
@@ -50,7 +50,7 @@ module Aws::ControlTower
|
|
50
50
|
|
51
51
|
class ControlOperationFilter
|
52
52
|
attr_accessor control_identifiers: ::Array[::String]
|
53
|
-
attr_accessor control_operation_types: ::Array[("ENABLE_CONTROL" | "DISABLE_CONTROL" | "UPDATE_ENABLED_CONTROL")]
|
53
|
+
attr_accessor control_operation_types: ::Array[("ENABLE_CONTROL" | "DISABLE_CONTROL" | "UPDATE_ENABLED_CONTROL" | "RESET_ENABLED_CONTROL")]
|
54
54
|
attr_accessor enabled_control_identifiers: ::Array[::String]
|
55
55
|
attr_accessor statuses: ::Array[("SUCCEEDED" | "FAILED" | "IN_PROGRESS")]
|
56
56
|
attr_accessor target_identifiers: ::Array[::String]
|
@@ -62,7 +62,7 @@ module Aws::ControlTower
|
|
62
62
|
attr_accessor enabled_control_identifier: ::String
|
63
63
|
attr_accessor end_time: ::Time
|
64
64
|
attr_accessor operation_identifier: ::String
|
65
|
-
attr_accessor operation_type: ("ENABLE_CONTROL" | "DISABLE_CONTROL" | "UPDATE_ENABLED_CONTROL")
|
65
|
+
attr_accessor operation_type: ("ENABLE_CONTROL" | "DISABLE_CONTROL" | "UPDATE_ENABLED_CONTROL" | "RESET_ENABLED_CONTROL")
|
66
66
|
attr_accessor start_time: ::Time
|
67
67
|
attr_accessor status: ("SUCCEEDED" | "FAILED" | "IN_PROGRESS")
|
68
68
|
attr_accessor status_message: ::String
|
@@ -153,6 +153,7 @@ module Aws::ControlTower
|
|
153
153
|
attr_accessor baseline_identifier: ::String
|
154
154
|
attr_accessor baseline_version: ::String
|
155
155
|
attr_accessor parameters: ::Array[Types::EnabledBaselineParameterSummary]
|
156
|
+
attr_accessor parent_identifier: ::String
|
156
157
|
attr_accessor status_summary: Types::EnablementStatusSummary
|
157
158
|
attr_accessor target_identifier: ::String
|
158
159
|
SENSITIVE: []
|
@@ -160,6 +161,7 @@ module Aws::ControlTower
|
|
160
161
|
|
161
162
|
class EnabledBaselineFilter
|
162
163
|
attr_accessor baseline_identifiers: ::Array[::String]
|
164
|
+
attr_accessor parent_identifiers: ::Array[::String]
|
163
165
|
attr_accessor target_identifiers: ::Array[::String]
|
164
166
|
SENSITIVE: []
|
165
167
|
end
|
@@ -180,6 +182,7 @@ module Aws::ControlTower
|
|
180
182
|
attr_accessor arn: ::String
|
181
183
|
attr_accessor baseline_identifier: ::String
|
182
184
|
attr_accessor baseline_version: ::String
|
185
|
+
attr_accessor parent_identifier: ::String
|
183
186
|
attr_accessor status_summary: Types::EnablementStatusSummary
|
184
187
|
attr_accessor target_identifier: ::String
|
185
188
|
SENSITIVE: []
|
@@ -377,6 +380,7 @@ module Aws::ControlTower
|
|
377
380
|
|
378
381
|
class ListEnabledBaselinesInput
|
379
382
|
attr_accessor filter: Types::EnabledBaselineFilter
|
383
|
+
attr_accessor include_children: bool
|
380
384
|
attr_accessor max_results: ::Integer
|
381
385
|
attr_accessor next_token: ::String
|
382
386
|
SENSITIVE: []
|
@@ -452,6 +456,16 @@ module Aws::ControlTower
|
|
452
456
|
SENSITIVE: []
|
453
457
|
end
|
454
458
|
|
459
|
+
class ResetEnabledControlInput
|
460
|
+
attr_accessor enabled_control_identifier: ::String
|
461
|
+
SENSITIVE: []
|
462
|
+
end
|
463
|
+
|
464
|
+
class ResetEnabledControlOutput
|
465
|
+
attr_accessor operation_identifier: ::String
|
466
|
+
SENSITIVE: []
|
467
|
+
end
|
468
|
+
|
455
469
|
class ResetLandingZoneInput
|
456
470
|
attr_accessor landing_zone_identifier: ::String
|
457
471
|
SENSITIVE: []
|
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.36.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-11-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|