aws-sdk-controltower 1.19.0 → 1.21.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 +132 -20
- data/lib/aws-sdk-controltower/client_api.rb +88 -1
- data/lib/aws-sdk-controltower/endpoints.rb +14 -0
- data/lib/aws-sdk-controltower/plugins/endpoints.rb +2 -0
- data/lib/aws-sdk-controltower/types.rb +193 -9
- data/lib/aws-sdk-controltower.rb +1 -1
- data/sig/client.rbs +26 -2
- data/sig/types.rbs +47 -0
- 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: 856549f0df4d24e167961f415bdf57cd7cd14aac9e0af9f71e03a655b0886884
|
4
|
+
data.tar.gz: 585bc0f5364875e56a409dc68ba879026c32fe7175107aad13730159985e28b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0be152808d4560d376669e4d2d78ece9ef217d672ead352f04a5aba9815e17083c6b902eab8512929f17b37e2e8db673e396460af183c4902c6f11ecd7d54075
|
7
|
+
data.tar.gz: 927fdf367525d7a1170b75bbf9746b59f0452ab442a8b2850f58af2dcee2d9a8aa24e357869a636ce24d775c5fbee1087103dc7ecc28df53c7061ee3ef185f46
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.21.0 (2024-05-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added ListControlOperations API and filtering support for ListEnabledControls API. Updates also includes added metadata for enabled controls and control operations.
|
8
|
+
|
9
|
+
1.20.0 (2024-05-13)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.19.0 (2024-04-25)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.21.0
|
@@ -301,8 +301,9 @@ module Aws::ControlTower
|
|
301
301
|
#
|
302
302
|
# @option options [String] :sdk_ua_app_id
|
303
303
|
# A unique and opaque application ID that is appended to the
|
304
|
-
# User-Agent header as app
|
305
|
-
# maximum length of 50.
|
304
|
+
# User-Agent header as app/sdk_ua_app_id. It should have a
|
305
|
+
# maximum length of 50. This variable is sourced from environment
|
306
|
+
# variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
|
306
307
|
#
|
307
308
|
# @option options [String] :secret_access_key
|
308
309
|
#
|
@@ -417,8 +418,9 @@ module Aws::ControlTower
|
|
417
418
|
# parameters specified in the manifest JSON file.
|
418
419
|
#
|
419
420
|
# @option params [required, Hash,Array,String,Numeric,Boolean] :manifest
|
420
|
-
# The manifest
|
421
|
-
# Services resources. For examples, review [
|
421
|
+
# The manifest JSON file is a text file that describes your Amazon Web
|
422
|
+
# Services resources. For examples, review [Launch your landing
|
423
|
+
# zone][1].
|
422
424
|
#
|
423
425
|
# Document type used to carry open content
|
424
426
|
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
@@ -427,7 +429,7 @@ module Aws::ControlTower
|
|
427
429
|
#
|
428
430
|
#
|
429
431
|
#
|
430
|
-
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/
|
432
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/lz-api-launch
|
431
433
|
#
|
432
434
|
# @option params [Hash<String,String>] :tags
|
433
435
|
# Tags to be applied to the landing zone.
|
@@ -498,7 +500,12 @@ module Aws::ControlTower
|
|
498
500
|
# Disable an `EnabledBaseline` resource on the specified Target. This
|
499
501
|
# API starts an asynchronous operation to remove all resources deployed
|
500
502
|
# as part of the baseline enablement. The resource will vary depending
|
501
|
-
# on the enabled baseline.
|
503
|
+
# on the enabled baseline. For usage examples, see [ *the Amazon Web
|
504
|
+
# Services Control Tower User Guide* ][1].
|
505
|
+
#
|
506
|
+
#
|
507
|
+
#
|
508
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html
|
502
509
|
#
|
503
510
|
# @option params [required, String] :enabled_baseline_identifier
|
504
511
|
# Identifier of the `EnabledBaseline` resource to be deactivated, in ARN
|
@@ -581,7 +588,12 @@ module Aws::ControlTower
|
|
581
588
|
|
582
589
|
# Enable (apply) a `Baseline` to a Target. This API starts an
|
583
590
|
# asynchronous operation to deploy resources specified by the `Baseline`
|
584
|
-
# to the specified Target.
|
591
|
+
# to the specified Target. For usage examples, see [ *the Amazon Web
|
592
|
+
# Services Control Tower User Guide* ][1].
|
593
|
+
#
|
594
|
+
#
|
595
|
+
#
|
596
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html
|
585
597
|
#
|
586
598
|
# @option params [required, String] :baseline_identifier
|
587
599
|
# The ARN of the baseline to be enabled.
|
@@ -710,7 +722,12 @@ module Aws::ControlTower
|
|
710
722
|
end
|
711
723
|
|
712
724
|
# Retrieve details about an existing `Baseline` resource by specifying
|
713
|
-
# its identifier.
|
725
|
+
# its identifier. For usage examples, see [ *the Amazon Web Services
|
726
|
+
# Control Tower User Guide* ][1].
|
727
|
+
#
|
728
|
+
#
|
729
|
+
#
|
730
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html
|
714
731
|
#
|
715
732
|
# @option params [required, String] :baseline_identifier
|
716
733
|
# The ARN of the `Baseline` resource to be retrieved.
|
@@ -745,7 +762,12 @@ module Aws::ControlTower
|
|
745
762
|
# Returns the details of an asynchronous baseline operation, as
|
746
763
|
# initiated by any of these APIs: `EnableBaseline`, `DisableBaseline`,
|
747
764
|
# `UpdateEnabledBaseline`, `ResetEnabledBaseline`. A status message is
|
748
|
-
# displayed in case of operation failure.
|
765
|
+
# displayed in case of operation failure. For usage examples, see [ *the
|
766
|
+
# Amazon Web Services Control Tower User Guide* ][1].
|
767
|
+
#
|
768
|
+
#
|
769
|
+
#
|
770
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html
|
749
771
|
#
|
750
772
|
# @option params [required, String] :operation_identifier
|
751
773
|
# The operation ID returned from mutating asynchronous APIs (Enable,
|
@@ -804,11 +826,15 @@ module Aws::ControlTower
|
|
804
826
|
#
|
805
827
|
# @example Response structure
|
806
828
|
#
|
829
|
+
# resp.control_operation.control_identifier #=> String
|
830
|
+
# resp.control_operation.enabled_control_identifier #=> String
|
807
831
|
# resp.control_operation.end_time #=> Time
|
832
|
+
# resp.control_operation.operation_identifier #=> String
|
808
833
|
# resp.control_operation.operation_type #=> String, one of "ENABLE_CONTROL", "DISABLE_CONTROL", "UPDATE_ENABLED_CONTROL"
|
809
834
|
# resp.control_operation.start_time #=> Time
|
810
835
|
# resp.control_operation.status #=> String, one of "SUCCEEDED", "FAILED", "IN_PROGRESS"
|
811
836
|
# resp.control_operation.status_message #=> String
|
837
|
+
# resp.control_operation.target_identifier #=> String
|
812
838
|
#
|
813
839
|
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/GetControlOperation AWS API Documentation
|
814
840
|
#
|
@@ -932,7 +958,7 @@ module Aws::ControlTower
|
|
932
958
|
end
|
933
959
|
|
934
960
|
# Returns the status of the specified landing zone operation. Details
|
935
|
-
# for an operation are available for
|
961
|
+
# for an operation are available for 90 days.
|
936
962
|
#
|
937
963
|
# @option params [required, String] :operation_identifier
|
938
964
|
# A unique identifier assigned to a landing zone operation.
|
@@ -964,7 +990,12 @@ module Aws::ControlTower
|
|
964
990
|
req.send_request(options)
|
965
991
|
end
|
966
992
|
|
967
|
-
# Returns a summary list of all available baselines.
|
993
|
+
# Returns a summary list of all available baselines. For usage examples,
|
994
|
+
# see [ *the Amazon Web Services Control Tower User Guide* ][1].
|
995
|
+
#
|
996
|
+
#
|
997
|
+
#
|
998
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html
|
968
999
|
#
|
969
1000
|
# @option params [Integer] :max_results
|
970
1001
|
# The maximum number of results to be shown.
|
@@ -1003,9 +1034,70 @@ module Aws::ControlTower
|
|
1003
1034
|
req.send_request(options)
|
1004
1035
|
end
|
1005
1036
|
|
1037
|
+
# Provides a list of operations in progress or queued.
|
1038
|
+
#
|
1039
|
+
# @option params [Types::ControlOperationFilter] :filter
|
1040
|
+
# An input filter for the `ListControlOperations` API that lets you
|
1041
|
+
# select the types of control operations to view.
|
1042
|
+
#
|
1043
|
+
# @option params [Integer] :max_results
|
1044
|
+
# The maximum number of results to be shown.
|
1045
|
+
#
|
1046
|
+
# @option params [String] :next_token
|
1047
|
+
# A pagination token.
|
1048
|
+
#
|
1049
|
+
# @return [Types::ListControlOperationsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1050
|
+
#
|
1051
|
+
# * {Types::ListControlOperationsOutput#control_operations #control_operations} => Array<Types::ControlOperationSummary>
|
1052
|
+
# * {Types::ListControlOperationsOutput#next_token #next_token} => String
|
1053
|
+
#
|
1054
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1055
|
+
#
|
1056
|
+
# @example Request syntax with placeholder values
|
1057
|
+
#
|
1058
|
+
# resp = client.list_control_operations({
|
1059
|
+
# filter: {
|
1060
|
+
# control_identifiers: ["ControlIdentifier"],
|
1061
|
+
# control_operation_types: ["ENABLE_CONTROL"], # accepts ENABLE_CONTROL, DISABLE_CONTROL, UPDATE_ENABLED_CONTROL
|
1062
|
+
# enabled_control_identifiers: ["Arn"],
|
1063
|
+
# statuses: ["SUCCEEDED"], # accepts SUCCEEDED, FAILED, IN_PROGRESS
|
1064
|
+
# target_identifiers: ["TargetIdentifier"],
|
1065
|
+
# },
|
1066
|
+
# max_results: 1,
|
1067
|
+
# next_token: "ListControlOperationsNextToken",
|
1068
|
+
# })
|
1069
|
+
#
|
1070
|
+
# @example Response structure
|
1071
|
+
#
|
1072
|
+
# resp.control_operations #=> Array
|
1073
|
+
# resp.control_operations[0].control_identifier #=> String
|
1074
|
+
# resp.control_operations[0].enabled_control_identifier #=> String
|
1075
|
+
# resp.control_operations[0].end_time #=> Time
|
1076
|
+
# resp.control_operations[0].operation_identifier #=> String
|
1077
|
+
# resp.control_operations[0].operation_type #=> String, one of "ENABLE_CONTROL", "DISABLE_CONTROL", "UPDATE_ENABLED_CONTROL"
|
1078
|
+
# resp.control_operations[0].start_time #=> Time
|
1079
|
+
# resp.control_operations[0].status #=> String, one of "SUCCEEDED", "FAILED", "IN_PROGRESS"
|
1080
|
+
# resp.control_operations[0].status_message #=> String
|
1081
|
+
# resp.control_operations[0].target_identifier #=> String
|
1082
|
+
# resp.next_token #=> String
|
1083
|
+
#
|
1084
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ListControlOperations AWS API Documentation
|
1085
|
+
#
|
1086
|
+
# @overload list_control_operations(params = {})
|
1087
|
+
# @param [Hash] params ({})
|
1088
|
+
def list_control_operations(params = {}, options = {})
|
1089
|
+
req = build_request(:list_control_operations, params)
|
1090
|
+
req.send_request(options)
|
1091
|
+
end
|
1092
|
+
|
1006
1093
|
# Returns a list of summaries describing `EnabledBaseline` resources.
|
1007
1094
|
# You can filter the list by the corresponding `Baseline` or `Target` of
|
1008
|
-
# the `EnabledBaseline` resources.
|
1095
|
+
# the `EnabledBaseline` resources. For usage examples, see [ *the Amazon
|
1096
|
+
# Web Services Control Tower User Guide* ][1].
|
1097
|
+
#
|
1098
|
+
#
|
1099
|
+
#
|
1100
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html
|
1009
1101
|
#
|
1010
1102
|
# @option params [Types::EnabledBaselineFilter] :filter
|
1011
1103
|
# A filter applied on the `ListEnabledBaseline` operation. Allowed
|
@@ -1065,6 +1157,10 @@ module Aws::ControlTower
|
|
1065
1157
|
#
|
1066
1158
|
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html
|
1067
1159
|
#
|
1160
|
+
# @option params [Types::EnabledControlFilter] :filter
|
1161
|
+
# An input filter for the `ListCEnabledControls` API that lets you
|
1162
|
+
# select the types of control operations to view.
|
1163
|
+
#
|
1068
1164
|
# @option params [Integer] :max_results
|
1069
1165
|
# How many results to return per API call.
|
1070
1166
|
#
|
@@ -1072,7 +1168,7 @@ module Aws::ControlTower
|
|
1072
1168
|
# The token to continue the list from a previous API call with the same
|
1073
1169
|
# parameters.
|
1074
1170
|
#
|
1075
|
-
# @option params [
|
1171
|
+
# @option params [String] :target_identifier
|
1076
1172
|
# The ARN of the organizational unit. For information on how to find the
|
1077
1173
|
# `targetIdentifier`, see [the overview page][1].
|
1078
1174
|
#
|
@@ -1090,9 +1186,14 @@ module Aws::ControlTower
|
|
1090
1186
|
# @example Request syntax with placeholder values
|
1091
1187
|
#
|
1092
1188
|
# resp = client.list_enabled_controls({
|
1189
|
+
# filter: {
|
1190
|
+
# control_identifiers: ["ControlIdentifier"],
|
1191
|
+
# drift_statuses: ["DRIFTED"], # accepts DRIFTED, IN_SYNC, NOT_CHECKING, UNKNOWN
|
1192
|
+
# statuses: ["SUCCEEDED"], # accepts SUCCEEDED, FAILED, UNDER_CHANGE
|
1193
|
+
# },
|
1093
1194
|
# max_results: 1,
|
1094
1195
|
# next_token: "String",
|
1095
|
-
# target_identifier: "TargetIdentifier",
|
1196
|
+
# target_identifier: "TargetIdentifier",
|
1096
1197
|
# })
|
1097
1198
|
#
|
1098
1199
|
# @example Response structure
|
@@ -1194,7 +1295,12 @@ module Aws::ControlTower
|
|
1194
1295
|
|
1195
1296
|
# Re-enables an `EnabledBaseline` resource. For example, this API can
|
1196
1297
|
# re-apply the existing `Baseline` after a new member account is moved
|
1197
|
-
# to the target OU.
|
1298
|
+
# to the target OU. For usage examples, see [ *the Amazon Web Services
|
1299
|
+
# Control Tower User Guide* ][1].
|
1300
|
+
#
|
1301
|
+
#
|
1302
|
+
#
|
1303
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html
|
1198
1304
|
#
|
1199
1305
|
# @option params [required, String] :enabled_baseline_identifier
|
1200
1306
|
# Specifies the ID of the `EnabledBaseline` resource to be re-enabled,
|
@@ -1318,7 +1424,12 @@ module Aws::ControlTower
|
|
1318
1424
|
end
|
1319
1425
|
|
1320
1426
|
# Updates an `EnabledBaseline` resource's applied parameters or
|
1321
|
-
# version.
|
1427
|
+
# version. For usage examples, see [ *the Amazon Web Services Control
|
1428
|
+
# Tower User Guide* ][1].
|
1429
|
+
#
|
1430
|
+
#
|
1431
|
+
#
|
1432
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/baseline-api-examples.html
|
1322
1433
|
#
|
1323
1434
|
# @option params [required, String] :baseline_version
|
1324
1435
|
# Specifies the new `Baseline` version, to which the `EnabledBaseline`
|
@@ -1428,8 +1539,9 @@ module Aws::ControlTower
|
|
1428
1539
|
# The unique identifier of the landing zone.
|
1429
1540
|
#
|
1430
1541
|
# @option params [required, Hash,Array,String,Numeric,Boolean] :manifest
|
1431
|
-
# The
|
1432
|
-
# Services resources. For examples, review [
|
1542
|
+
# The manifest JSON file is a text file that describes your Amazon Web
|
1543
|
+
# Services resources. For examples, review [Launch your landing
|
1544
|
+
# zone][1].
|
1433
1545
|
#
|
1434
1546
|
# Document type used to carry open content
|
1435
1547
|
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
@@ -1438,7 +1550,7 @@ module Aws::ControlTower
|
|
1438
1550
|
#
|
1439
1551
|
#
|
1440
1552
|
#
|
1441
|
-
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/
|
1553
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/lz-api-launch
|
1442
1554
|
#
|
1443
1555
|
# @option params [required, String] :version
|
1444
1556
|
# The landing zone version, for example, 3.2.
|
@@ -1482,7 +1594,7 @@ module Aws::ControlTower
|
|
1482
1594
|
params: params,
|
1483
1595
|
config: config)
|
1484
1596
|
context[:gem_name] = 'aws-sdk-controltower'
|
1485
|
-
context[:gem_version] = '1.
|
1597
|
+
context[:gem_version] = '1.21.0'
|
1486
1598
|
Seahorse::Client::Request.new(handlers, context)
|
1487
1599
|
end
|
1488
1600
|
|
@@ -24,9 +24,15 @@ module Aws::ControlTower
|
|
24
24
|
Baselines = Shapes::ListShape.new(name: 'Baselines')
|
25
25
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
26
26
|
ControlIdentifier = Shapes::StringShape.new(name: 'ControlIdentifier')
|
27
|
+
ControlIdentifiers = Shapes::ListShape.new(name: 'ControlIdentifiers')
|
27
28
|
ControlOperation = Shapes::StructureShape.new(name: 'ControlOperation')
|
29
|
+
ControlOperationFilter = Shapes::StructureShape.new(name: 'ControlOperationFilter')
|
28
30
|
ControlOperationStatus = Shapes::StringShape.new(name: 'ControlOperationStatus')
|
31
|
+
ControlOperationStatuses = Shapes::ListShape.new(name: 'ControlOperationStatuses')
|
32
|
+
ControlOperationSummary = Shapes::StructureShape.new(name: 'ControlOperationSummary')
|
29
33
|
ControlOperationType = Shapes::StringShape.new(name: 'ControlOperationType')
|
34
|
+
ControlOperationTypes = Shapes::ListShape.new(name: 'ControlOperationTypes')
|
35
|
+
ControlOperations = Shapes::ListShape.new(name: 'ControlOperations')
|
30
36
|
CreateLandingZoneInput = Shapes::StructureShape.new(name: 'CreateLandingZoneInput')
|
31
37
|
CreateLandingZoneOutput = Shapes::StructureShape.new(name: 'CreateLandingZoneOutput')
|
32
38
|
DeleteLandingZoneInput = Shapes::StructureShape.new(name: 'DeleteLandingZoneInput')
|
@@ -38,6 +44,7 @@ module Aws::ControlTower
|
|
38
44
|
Document = Shapes::DocumentShape.new(name: 'Document', document: true)
|
39
45
|
DriftStatus = Shapes::StringShape.new(name: 'DriftStatus')
|
40
46
|
DriftStatusSummary = Shapes::StructureShape.new(name: 'DriftStatusSummary')
|
47
|
+
DriftStatuses = Shapes::ListShape.new(name: 'DriftStatuses')
|
41
48
|
EnableBaselineInput = Shapes::StructureShape.new(name: 'EnableBaselineInput')
|
42
49
|
EnableBaselineOutput = Shapes::StructureShape.new(name: 'EnableBaselineOutput')
|
43
50
|
EnableControlInput = Shapes::StructureShape.new(name: 'EnableControlInput')
|
@@ -54,6 +61,8 @@ module Aws::ControlTower
|
|
54
61
|
EnabledBaselineTargetIdentifiers = Shapes::ListShape.new(name: 'EnabledBaselineTargetIdentifiers')
|
55
62
|
EnabledBaselines = Shapes::ListShape.new(name: 'EnabledBaselines')
|
56
63
|
EnabledControlDetails = Shapes::StructureShape.new(name: 'EnabledControlDetails')
|
64
|
+
EnabledControlFilter = Shapes::StructureShape.new(name: 'EnabledControlFilter')
|
65
|
+
EnabledControlIdentifiers = Shapes::ListShape.new(name: 'EnabledControlIdentifiers')
|
57
66
|
EnabledControlParameter = Shapes::StructureShape.new(name: 'EnabledControlParameter')
|
58
67
|
EnabledControlParameterSummaries = Shapes::ListShape.new(name: 'EnabledControlParameterSummaries')
|
59
68
|
EnabledControlParameterSummary = Shapes::StructureShape.new(name: 'EnabledControlParameterSummary')
|
@@ -62,6 +71,7 @@ module Aws::ControlTower
|
|
62
71
|
EnabledControls = Shapes::ListShape.new(name: 'EnabledControls')
|
63
72
|
EnablementStatus = Shapes::StringShape.new(name: 'EnablementStatus')
|
64
73
|
EnablementStatusSummary = Shapes::StructureShape.new(name: 'EnablementStatusSummary')
|
74
|
+
EnablementStatuses = Shapes::ListShape.new(name: 'EnablementStatuses')
|
65
75
|
GetBaselineInput = Shapes::StructureShape.new(name: 'GetBaselineInput')
|
66
76
|
GetBaselineOperationInput = Shapes::StructureShape.new(name: 'GetBaselineOperationInput')
|
67
77
|
GetBaselineOperationOutput = Shapes::StructureShape.new(name: 'GetBaselineOperationOutput')
|
@@ -90,6 +100,10 @@ module Aws::ControlTower
|
|
90
100
|
ListBaselinesInput = Shapes::StructureShape.new(name: 'ListBaselinesInput')
|
91
101
|
ListBaselinesMaxResults = Shapes::IntegerShape.new(name: 'ListBaselinesMaxResults')
|
92
102
|
ListBaselinesOutput = Shapes::StructureShape.new(name: 'ListBaselinesOutput')
|
103
|
+
ListControlOperationsInput = Shapes::StructureShape.new(name: 'ListControlOperationsInput')
|
104
|
+
ListControlOperationsMaxResults = Shapes::IntegerShape.new(name: 'ListControlOperationsMaxResults')
|
105
|
+
ListControlOperationsNextToken = Shapes::StringShape.new(name: 'ListControlOperationsNextToken')
|
106
|
+
ListControlOperationsOutput = Shapes::StructureShape.new(name: 'ListControlOperationsOutput')
|
93
107
|
ListEnabledBaselinesInput = Shapes::StructureShape.new(name: 'ListEnabledBaselinesInput')
|
94
108
|
ListEnabledBaselinesMaxResults = Shapes::IntegerShape.new(name: 'ListEnabledBaselinesMaxResults')
|
95
109
|
ListEnabledBaselinesNextToken = Shapes::StringShape.new(name: 'ListEnabledBaselinesNextToken')
|
@@ -122,6 +136,7 @@ module Aws::ControlTower
|
|
122
136
|
TagResourceOutput = Shapes::StructureShape.new(name: 'TagResourceOutput')
|
123
137
|
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
124
138
|
TargetIdentifier = Shapes::StringShape.new(name: 'TargetIdentifier')
|
139
|
+
TargetIdentifiers = Shapes::ListShape.new(name: 'TargetIdentifiers')
|
125
140
|
TargetRegions = Shapes::ListShape.new(name: 'TargetRegions')
|
126
141
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
127
142
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
@@ -156,13 +171,43 @@ module Aws::ControlTower
|
|
156
171
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
157
172
|
ConflictException.struct_class = Types::ConflictException
|
158
173
|
|
174
|
+
ControlIdentifiers.member = Shapes::ShapeRef.new(shape: ControlIdentifier)
|
175
|
+
|
176
|
+
ControlOperation.add_member(:control_identifier, Shapes::ShapeRef.new(shape: ControlIdentifier, location_name: "controlIdentifier"))
|
177
|
+
ControlOperation.add_member(:enabled_control_identifier, Shapes::ShapeRef.new(shape: Arn, location_name: "enabledControlIdentifier"))
|
159
178
|
ControlOperation.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endTime"))
|
179
|
+
ControlOperation.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, location_name: "operationIdentifier"))
|
160
180
|
ControlOperation.add_member(:operation_type, Shapes::ShapeRef.new(shape: ControlOperationType, location_name: "operationType"))
|
161
181
|
ControlOperation.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "startTime"))
|
162
182
|
ControlOperation.add_member(:status, Shapes::ShapeRef.new(shape: ControlOperationStatus, location_name: "status"))
|
163
183
|
ControlOperation.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
184
|
+
ControlOperation.add_member(:target_identifier, Shapes::ShapeRef.new(shape: TargetIdentifier, location_name: "targetIdentifier"))
|
164
185
|
ControlOperation.struct_class = Types::ControlOperation
|
165
186
|
|
187
|
+
ControlOperationFilter.add_member(:control_identifiers, Shapes::ShapeRef.new(shape: ControlIdentifiers, location_name: "controlIdentifiers"))
|
188
|
+
ControlOperationFilter.add_member(:control_operation_types, Shapes::ShapeRef.new(shape: ControlOperationTypes, location_name: "controlOperationTypes"))
|
189
|
+
ControlOperationFilter.add_member(:enabled_control_identifiers, Shapes::ShapeRef.new(shape: EnabledControlIdentifiers, location_name: "enabledControlIdentifiers"))
|
190
|
+
ControlOperationFilter.add_member(:statuses, Shapes::ShapeRef.new(shape: ControlOperationStatuses, location_name: "statuses"))
|
191
|
+
ControlOperationFilter.add_member(:target_identifiers, Shapes::ShapeRef.new(shape: TargetIdentifiers, location_name: "targetIdentifiers"))
|
192
|
+
ControlOperationFilter.struct_class = Types::ControlOperationFilter
|
193
|
+
|
194
|
+
ControlOperationStatuses.member = Shapes::ShapeRef.new(shape: ControlOperationStatus)
|
195
|
+
|
196
|
+
ControlOperationSummary.add_member(:control_identifier, Shapes::ShapeRef.new(shape: ControlIdentifier, location_name: "controlIdentifier"))
|
197
|
+
ControlOperationSummary.add_member(:enabled_control_identifier, Shapes::ShapeRef.new(shape: Arn, location_name: "enabledControlIdentifier"))
|
198
|
+
ControlOperationSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endTime"))
|
199
|
+
ControlOperationSummary.add_member(:operation_identifier, Shapes::ShapeRef.new(shape: OperationIdentifier, location_name: "operationIdentifier"))
|
200
|
+
ControlOperationSummary.add_member(:operation_type, Shapes::ShapeRef.new(shape: ControlOperationType, location_name: "operationType"))
|
201
|
+
ControlOperationSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "startTime"))
|
202
|
+
ControlOperationSummary.add_member(:status, Shapes::ShapeRef.new(shape: ControlOperationStatus, location_name: "status"))
|
203
|
+
ControlOperationSummary.add_member(:status_message, Shapes::ShapeRef.new(shape: String, location_name: "statusMessage"))
|
204
|
+
ControlOperationSummary.add_member(:target_identifier, Shapes::ShapeRef.new(shape: TargetIdentifier, location_name: "targetIdentifier"))
|
205
|
+
ControlOperationSummary.struct_class = Types::ControlOperationSummary
|
206
|
+
|
207
|
+
ControlOperationTypes.member = Shapes::ShapeRef.new(shape: ControlOperationType)
|
208
|
+
|
209
|
+
ControlOperations.member = Shapes::ShapeRef.new(shape: ControlOperationSummary)
|
210
|
+
|
166
211
|
CreateLandingZoneInput.add_member(:manifest, Shapes::ShapeRef.new(shape: Manifest, required: true, location_name: "manifest"))
|
167
212
|
CreateLandingZoneInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
168
213
|
CreateLandingZoneInput.add_member(:version, Shapes::ShapeRef.new(shape: LandingZoneVersion, required: true, location_name: "version"))
|
@@ -194,6 +239,8 @@ module Aws::ControlTower
|
|
194
239
|
DriftStatusSummary.add_member(:drift_status, Shapes::ShapeRef.new(shape: DriftStatus, location_name: "driftStatus"))
|
195
240
|
DriftStatusSummary.struct_class = Types::DriftStatusSummary
|
196
241
|
|
242
|
+
DriftStatuses.member = Shapes::ShapeRef.new(shape: DriftStatus)
|
243
|
+
|
197
244
|
EnableBaselineInput.add_member(:baseline_identifier, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "baselineIdentifier"))
|
198
245
|
EnableBaselineInput.add_member(:baseline_version, Shapes::ShapeRef.new(shape: BaselineVersion, required: true, location_name: "baselineVersion"))
|
199
246
|
EnableBaselineInput.add_member(:parameters, Shapes::ShapeRef.new(shape: EnabledBaselineParameters, location_name: "parameters"))
|
@@ -261,6 +308,13 @@ module Aws::ControlTower
|
|
261
308
|
EnabledControlDetails.add_member(:target_regions, Shapes::ShapeRef.new(shape: TargetRegions, location_name: "targetRegions"))
|
262
309
|
EnabledControlDetails.struct_class = Types::EnabledControlDetails
|
263
310
|
|
311
|
+
EnabledControlFilter.add_member(:control_identifiers, Shapes::ShapeRef.new(shape: ControlIdentifiers, location_name: "controlIdentifiers"))
|
312
|
+
EnabledControlFilter.add_member(:drift_statuses, Shapes::ShapeRef.new(shape: DriftStatuses, location_name: "driftStatuses"))
|
313
|
+
EnabledControlFilter.add_member(:statuses, Shapes::ShapeRef.new(shape: EnablementStatuses, location_name: "statuses"))
|
314
|
+
EnabledControlFilter.struct_class = Types::EnabledControlFilter
|
315
|
+
|
316
|
+
EnabledControlIdentifiers.member = Shapes::ShapeRef.new(shape: Arn)
|
317
|
+
|
264
318
|
EnabledControlParameter.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "key"))
|
265
319
|
EnabledControlParameter.add_member(:value, Shapes::ShapeRef.new(shape: Document, required: true, location_name: "value"))
|
266
320
|
EnabledControlParameter.struct_class = Types::EnabledControlParameter
|
@@ -286,6 +340,8 @@ module Aws::ControlTower
|
|
286
340
|
EnablementStatusSummary.add_member(:status, Shapes::ShapeRef.new(shape: EnablementStatus, location_name: "status"))
|
287
341
|
EnablementStatusSummary.struct_class = Types::EnablementStatusSummary
|
288
342
|
|
343
|
+
EnablementStatuses.member = Shapes::ShapeRef.new(shape: EnablementStatus)
|
344
|
+
|
289
345
|
GetBaselineInput.add_member(:baseline_identifier, Shapes::ShapeRef.new(shape: BaselineArn, required: true, location_name: "baselineIdentifier"))
|
290
346
|
GetBaselineInput.struct_class = Types::GetBaselineInput
|
291
347
|
|
@@ -362,6 +418,15 @@ module Aws::ControlTower
|
|
362
418
|
ListBaselinesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
363
419
|
ListBaselinesOutput.struct_class = Types::ListBaselinesOutput
|
364
420
|
|
421
|
+
ListControlOperationsInput.add_member(:filter, Shapes::ShapeRef.new(shape: ControlOperationFilter, location_name: "filter"))
|
422
|
+
ListControlOperationsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListControlOperationsMaxResults, location_name: "maxResults"))
|
423
|
+
ListControlOperationsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListControlOperationsNextToken, location_name: "nextToken"))
|
424
|
+
ListControlOperationsInput.struct_class = Types::ListControlOperationsInput
|
425
|
+
|
426
|
+
ListControlOperationsOutput.add_member(:control_operations, Shapes::ShapeRef.new(shape: ControlOperations, required: true, location_name: "controlOperations"))
|
427
|
+
ListControlOperationsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListControlOperationsNextToken, location_name: "nextToken"))
|
428
|
+
ListControlOperationsOutput.struct_class = Types::ListControlOperationsOutput
|
429
|
+
|
365
430
|
ListEnabledBaselinesInput.add_member(:filter, Shapes::ShapeRef.new(shape: EnabledBaselineFilter, location_name: "filter"))
|
366
431
|
ListEnabledBaselinesInput.add_member(:max_results, Shapes::ShapeRef.new(shape: ListEnabledBaselinesMaxResults, location_name: "maxResults"))
|
367
432
|
ListEnabledBaselinesInput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListEnabledBaselinesNextToken, location_name: "nextToken"))
|
@@ -371,9 +436,10 @@ module Aws::ControlTower
|
|
371
436
|
ListEnabledBaselinesOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: ListEnabledBaselinesNextToken, location_name: "nextToken"))
|
372
437
|
ListEnabledBaselinesOutput.struct_class = Types::ListEnabledBaselinesOutput
|
373
438
|
|
439
|
+
ListEnabledControlsInput.add_member(:filter, Shapes::ShapeRef.new(shape: EnabledControlFilter, location_name: "filter"))
|
374
440
|
ListEnabledControlsInput.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
|
375
441
|
ListEnabledControlsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
|
376
|
-
ListEnabledControlsInput.add_member(:target_identifier, Shapes::ShapeRef.new(shape: TargetIdentifier,
|
442
|
+
ListEnabledControlsInput.add_member(:target_identifier, Shapes::ShapeRef.new(shape: TargetIdentifier, location_name: "targetIdentifier"))
|
377
443
|
ListEnabledControlsInput.struct_class = Types::ListEnabledControlsInput
|
378
444
|
|
379
445
|
ListEnabledControlsOutput.add_member(:enabled_controls, Shapes::ShapeRef.new(shape: EnabledControls, required: true, location_name: "enabledControls"))
|
@@ -428,6 +494,8 @@ module Aws::ControlTower
|
|
428
494
|
|
429
495
|
TagResourceOutput.struct_class = Types::TagResourceOutput
|
430
496
|
|
497
|
+
TargetIdentifiers.member = Shapes::ShapeRef.new(shape: TargetIdentifier)
|
498
|
+
|
431
499
|
TargetRegions.member = Shapes::ShapeRef.new(shape: Region)
|
432
500
|
|
433
501
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
@@ -479,6 +547,7 @@ module Aws::ControlTower
|
|
479
547
|
"endpointPrefix" => "controltower",
|
480
548
|
"jsonVersion" => "1.1",
|
481
549
|
"protocol" => "rest-json",
|
550
|
+
"protocols" => ["rest-json"],
|
482
551
|
"serviceFullName" => "AWS Control Tower",
|
483
552
|
"serviceId" => "ControlTower",
|
484
553
|
"signatureVersion" => "v4",
|
@@ -682,6 +751,24 @@ module Aws::ControlTower
|
|
682
751
|
)
|
683
752
|
end)
|
684
753
|
|
754
|
+
api.add_operation(:list_control_operations, Seahorse::Model::Operation.new.tap do |o|
|
755
|
+
o.name = "ListControlOperations"
|
756
|
+
o.http_method = "POST"
|
757
|
+
o.http_request_uri = "/list-control-operations"
|
758
|
+
o.input = Shapes::ShapeRef.new(shape: ListControlOperationsInput)
|
759
|
+
o.output = Shapes::ShapeRef.new(shape: ListControlOperationsOutput)
|
760
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
761
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
762
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
763
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
764
|
+
o[:pager] = Aws::Pager.new(
|
765
|
+
limit_key: "max_results",
|
766
|
+
tokens: {
|
767
|
+
"next_token" => "next_token"
|
768
|
+
}
|
769
|
+
)
|
770
|
+
end)
|
771
|
+
|
685
772
|
api.add_operation(:list_enabled_baselines, Seahorse::Model::Operation.new.tap do |o|
|
686
773
|
o.name = "ListEnabledBaselines"
|
687
774
|
o.http_method = "POST"
|
@@ -208,6 +208,20 @@ module Aws::ControlTower
|
|
208
208
|
end
|
209
209
|
end
|
210
210
|
|
211
|
+
class ListControlOperations
|
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
|
+
|
211
225
|
class ListEnabledBaselines
|
212
226
|
def self.build(context)
|
213
227
|
unless context.config.regional_endpoint
|
@@ -86,6 +86,8 @@ module Aws::ControlTower
|
|
86
86
|
Aws::ControlTower::Endpoints::GetLandingZoneOperation.build(context)
|
87
87
|
when :list_baselines
|
88
88
|
Aws::ControlTower::Endpoints::ListBaselines.build(context)
|
89
|
+
when :list_control_operations
|
90
|
+
Aws::ControlTower::Endpoints::ListControlOperations.build(context)
|
89
91
|
when :list_enabled_baselines
|
90
92
|
Aws::ControlTower::Endpoints::ListEnabledBaselines.build(context)
|
91
93
|
when :list_enabled_controls
|
@@ -106,10 +106,22 @@ module Aws::ControlTower
|
|
106
106
|
|
107
107
|
# An operation performed by the control.
|
108
108
|
#
|
109
|
+
# @!attribute [rw] control_identifier
|
110
|
+
# The `controlIdentifier` of the control for the operation.
|
111
|
+
# @return [String]
|
112
|
+
#
|
113
|
+
# @!attribute [rw] enabled_control_identifier
|
114
|
+
# The `controlIdentifier` of the enabled control.
|
115
|
+
# @return [String]
|
116
|
+
#
|
109
117
|
# @!attribute [rw] end_time
|
110
118
|
# The time that the operation finished.
|
111
119
|
# @return [Time]
|
112
120
|
#
|
121
|
+
# @!attribute [rw] operation_identifier
|
122
|
+
# The identifier of the specified operation.
|
123
|
+
# @return [String]
|
124
|
+
#
|
113
125
|
# @!attribute [rw] operation_type
|
114
126
|
# One of `ENABLE_CONTROL` or `DISABLE_CONTROL`.
|
115
127
|
# @return [String]
|
@@ -127,25 +139,124 @@ module Aws::ControlTower
|
|
127
139
|
# explaining why the operation failed.
|
128
140
|
# @return [String]
|
129
141
|
#
|
142
|
+
# @!attribute [rw] target_identifier
|
143
|
+
# The target upon which the control operation is working.
|
144
|
+
# @return [String]
|
145
|
+
#
|
130
146
|
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ControlOperation AWS API Documentation
|
131
147
|
#
|
132
148
|
class ControlOperation < Struct.new(
|
149
|
+
:control_identifier,
|
150
|
+
:enabled_control_identifier,
|
133
151
|
:end_time,
|
152
|
+
:operation_identifier,
|
134
153
|
:operation_type,
|
135
154
|
:start_time,
|
136
155
|
:status,
|
137
|
-
:status_message
|
156
|
+
:status_message,
|
157
|
+
:target_identifier)
|
158
|
+
SENSITIVE = []
|
159
|
+
include Aws::Structure
|
160
|
+
end
|
161
|
+
|
162
|
+
# A filter object that lets you call `ListCOntrolOperations` with a
|
163
|
+
# specific filter.
|
164
|
+
#
|
165
|
+
# @!attribute [rw] control_identifiers
|
166
|
+
# The set of `controlIdentifier` returned by the filter.
|
167
|
+
# @return [Array<String>]
|
168
|
+
#
|
169
|
+
# @!attribute [rw] control_operation_types
|
170
|
+
# The set of `ControlOperation` objects returned by the filter.
|
171
|
+
# @return [Array<String>]
|
172
|
+
#
|
173
|
+
# @!attribute [rw] enabled_control_identifiers
|
174
|
+
# The set `controlIdentifier` of enabled controls selected by the
|
175
|
+
# filter.
|
176
|
+
# @return [Array<String>]
|
177
|
+
#
|
178
|
+
# @!attribute [rw] statuses
|
179
|
+
# Lists the status of control operations.
|
180
|
+
# @return [Array<String>]
|
181
|
+
#
|
182
|
+
# @!attribute [rw] target_identifiers
|
183
|
+
# The set of `targetIdentifier` objects returned by the filter.
|
184
|
+
# @return [Array<String>]
|
185
|
+
#
|
186
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ControlOperationFilter AWS API Documentation
|
187
|
+
#
|
188
|
+
class ControlOperationFilter < Struct.new(
|
189
|
+
:control_identifiers,
|
190
|
+
:control_operation_types,
|
191
|
+
:enabled_control_identifiers,
|
192
|
+
:statuses,
|
193
|
+
:target_identifiers)
|
194
|
+
SENSITIVE = []
|
195
|
+
include Aws::Structure
|
196
|
+
end
|
197
|
+
|
198
|
+
# A summary of information about the specified control operation.
|
199
|
+
#
|
200
|
+
# @!attribute [rw] control_identifier
|
201
|
+
# The `controlIdentifier` of a control.
|
202
|
+
# @return [String]
|
203
|
+
#
|
204
|
+
# @!attribute [rw] enabled_control_identifier
|
205
|
+
# The `controlIdentifier` of an enabled control.
|
206
|
+
# @return [String]
|
207
|
+
#
|
208
|
+
# @!attribute [rw] end_time
|
209
|
+
# The time at which the control operation was completed.
|
210
|
+
# @return [Time]
|
211
|
+
#
|
212
|
+
# @!attribute [rw] operation_identifier
|
213
|
+
# The unique identifier of a control operation.
|
214
|
+
# @return [String]
|
215
|
+
#
|
216
|
+
# @!attribute [rw] operation_type
|
217
|
+
# The type of operation.
|
218
|
+
# @return [String]
|
219
|
+
#
|
220
|
+
# @!attribute [rw] start_time
|
221
|
+
# The time at which a control operation began.
|
222
|
+
# @return [Time]
|
223
|
+
#
|
224
|
+
# @!attribute [rw] status
|
225
|
+
# The status of the specified control operation.
|
226
|
+
# @return [String]
|
227
|
+
#
|
228
|
+
# @!attribute [rw] status_message
|
229
|
+
# A speficic message displayed as part of the control status.
|
230
|
+
# @return [String]
|
231
|
+
#
|
232
|
+
# @!attribute [rw] target_identifier
|
233
|
+
# The unique identifier of the target of a control operation.
|
234
|
+
# @return [String]
|
235
|
+
#
|
236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ControlOperationSummary AWS API Documentation
|
237
|
+
#
|
238
|
+
class ControlOperationSummary < Struct.new(
|
239
|
+
:control_identifier,
|
240
|
+
:enabled_control_identifier,
|
241
|
+
:end_time,
|
242
|
+
:operation_identifier,
|
243
|
+
:operation_type,
|
244
|
+
:start_time,
|
245
|
+
:status,
|
246
|
+
:status_message,
|
247
|
+
:target_identifier)
|
138
248
|
SENSITIVE = []
|
139
249
|
include Aws::Structure
|
140
250
|
end
|
141
251
|
|
142
252
|
# @!attribute [rw] manifest
|
143
|
-
# The manifest
|
144
|
-
# Services resources. For examples, review [
|
253
|
+
# The manifest JSON file is a text file that describes your Amazon Web
|
254
|
+
# Services resources. For examples, review [Launch your landing
|
255
|
+
# zone][1].
|
145
256
|
#
|
146
257
|
#
|
147
258
|
#
|
148
|
-
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/
|
259
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/lz-api-launch
|
149
260
|
# @return [Hash,Array,String,Numeric,Boolean]
|
150
261
|
#
|
151
262
|
# @!attribute [rw] tags
|
@@ -619,6 +730,32 @@ module Aws::ControlTower
|
|
619
730
|
include Aws::Structure
|
620
731
|
end
|
621
732
|
|
733
|
+
# A structure that returns a set of control identifiers, the control
|
734
|
+
# status for each control in the set, and the drift status for each
|
735
|
+
# control in the set.
|
736
|
+
#
|
737
|
+
# @!attribute [rw] control_identifiers
|
738
|
+
# The set of `controlIdentifier` returned by the filter.
|
739
|
+
# @return [Array<String>]
|
740
|
+
#
|
741
|
+
# @!attribute [rw] drift_statuses
|
742
|
+
# A list of `DriftStatus` items.
|
743
|
+
# @return [Array<String>]
|
744
|
+
#
|
745
|
+
# @!attribute [rw] statuses
|
746
|
+
# A list of `EnablementStatus` items.
|
747
|
+
# @return [Array<String>]
|
748
|
+
#
|
749
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/EnabledControlFilter AWS API Documentation
|
750
|
+
#
|
751
|
+
class EnabledControlFilter < Struct.new(
|
752
|
+
:control_identifiers,
|
753
|
+
:drift_statuses,
|
754
|
+
:statuses)
|
755
|
+
SENSITIVE = []
|
756
|
+
include Aws::Structure
|
757
|
+
end
|
758
|
+
|
622
759
|
# A key/value pair, where `Key` is of type `String` and `Value` is of
|
623
760
|
# type `Document`.
|
624
761
|
#
|
@@ -931,8 +1068,8 @@ module Aws::ControlTower
|
|
931
1068
|
# @return [String]
|
932
1069
|
#
|
933
1070
|
# @!attribute [rw] manifest
|
934
|
-
# The landing zone
|
935
|
-
#
|
1071
|
+
# The landing zone manifest JSON text file that specifies the landing
|
1072
|
+
# zone configurations.
|
936
1073
|
# @return [Hash,Array,String,Numeric,Boolean]
|
937
1074
|
#
|
938
1075
|
# @!attribute [rw] status
|
@@ -1083,6 +1220,46 @@ module Aws::ControlTower
|
|
1083
1220
|
include Aws::Structure
|
1084
1221
|
end
|
1085
1222
|
|
1223
|
+
# @!attribute [rw] filter
|
1224
|
+
# An input filter for the `ListControlOperations` API that lets you
|
1225
|
+
# select the types of control operations to view.
|
1226
|
+
# @return [Types::ControlOperationFilter]
|
1227
|
+
#
|
1228
|
+
# @!attribute [rw] max_results
|
1229
|
+
# The maximum number of results to be shown.
|
1230
|
+
# @return [Integer]
|
1231
|
+
#
|
1232
|
+
# @!attribute [rw] next_token
|
1233
|
+
# A pagination token.
|
1234
|
+
# @return [String]
|
1235
|
+
#
|
1236
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ListControlOperationsInput AWS API Documentation
|
1237
|
+
#
|
1238
|
+
class ListControlOperationsInput < Struct.new(
|
1239
|
+
:filter,
|
1240
|
+
:max_results,
|
1241
|
+
:next_token)
|
1242
|
+
SENSITIVE = []
|
1243
|
+
include Aws::Structure
|
1244
|
+
end
|
1245
|
+
|
1246
|
+
# @!attribute [rw] control_operations
|
1247
|
+
# Returns a list of output from control operations. PLACEHOLDER
|
1248
|
+
# @return [Array<Types::ControlOperationSummary>]
|
1249
|
+
#
|
1250
|
+
# @!attribute [rw] next_token
|
1251
|
+
# A pagination token.
|
1252
|
+
# @return [String]
|
1253
|
+
#
|
1254
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ListControlOperationsOutput AWS API Documentation
|
1255
|
+
#
|
1256
|
+
class ListControlOperationsOutput < Struct.new(
|
1257
|
+
:control_operations,
|
1258
|
+
:next_token)
|
1259
|
+
SENSITIVE = []
|
1260
|
+
include Aws::Structure
|
1261
|
+
end
|
1262
|
+
|
1086
1263
|
# @!attribute [rw] filter
|
1087
1264
|
# A filter applied on the `ListEnabledBaseline` operation. Allowed
|
1088
1265
|
# filters are `baselineIdentifiers` and `targetIdentifiers`. The
|
@@ -1124,6 +1301,11 @@ module Aws::ControlTower
|
|
1124
1301
|
include Aws::Structure
|
1125
1302
|
end
|
1126
1303
|
|
1304
|
+
# @!attribute [rw] filter
|
1305
|
+
# An input filter for the `ListCEnabledControls` API that lets you
|
1306
|
+
# select the types of control operations to view.
|
1307
|
+
# @return [Types::EnabledControlFilter]
|
1308
|
+
#
|
1127
1309
|
# @!attribute [rw] max_results
|
1128
1310
|
# How many results to return per API call.
|
1129
1311
|
# @return [Integer]
|
@@ -1145,6 +1327,7 @@ module Aws::ControlTower
|
|
1145
1327
|
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ListEnabledControlsInput AWS API Documentation
|
1146
1328
|
#
|
1147
1329
|
class ListEnabledControlsInput < Struct.new(
|
1330
|
+
:filter,
|
1148
1331
|
:max_results,
|
1149
1332
|
:next_token,
|
1150
1333
|
:target_identifier)
|
@@ -1477,12 +1660,13 @@ module Aws::ControlTower
|
|
1477
1660
|
# @return [String]
|
1478
1661
|
#
|
1479
1662
|
# @!attribute [rw] manifest
|
1480
|
-
# The
|
1481
|
-
#
|
1663
|
+
# The manifest JSON file is a text file that describes your Amazon Web
|
1664
|
+
# Services resources. For examples, review [Launch your landing
|
1665
|
+
# zone][1].
|
1482
1666
|
#
|
1483
1667
|
#
|
1484
1668
|
#
|
1485
|
-
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/
|
1669
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/lz-api-launch
|
1486
1670
|
# @return [Hash,Array,String,Numeric,Boolean]
|
1487
1671
|
#
|
1488
1672
|
# @!attribute [rw] version
|
data/lib/aws-sdk-controltower.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -242,6 +242,25 @@ module Aws
|
|
242
242
|
) -> _ListBaselinesResponseSuccess
|
243
243
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListBaselinesResponseSuccess
|
244
244
|
|
245
|
+
interface _ListControlOperationsResponseSuccess
|
246
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListControlOperationsOutput]
|
247
|
+
def control_operations: () -> ::Array[Types::ControlOperationSummary]
|
248
|
+
def next_token: () -> ::String
|
249
|
+
end
|
250
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlTower/Client.html#list_control_operations-instance_method
|
251
|
+
def list_control_operations: (
|
252
|
+
?filter: {
|
253
|
+
control_identifiers: Array[::String]?,
|
254
|
+
control_operation_types: Array[("ENABLE_CONTROL" | "DISABLE_CONTROL" | "UPDATE_ENABLED_CONTROL")]?,
|
255
|
+
enabled_control_identifiers: Array[::String]?,
|
256
|
+
statuses: Array[("SUCCEEDED" | "FAILED" | "IN_PROGRESS")]?,
|
257
|
+
target_identifiers: Array[::String]?
|
258
|
+
},
|
259
|
+
?max_results: ::Integer,
|
260
|
+
?next_token: ::String
|
261
|
+
) -> _ListControlOperationsResponseSuccess
|
262
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListControlOperationsResponseSuccess
|
263
|
+
|
245
264
|
interface _ListEnabledBaselinesResponseSuccess
|
246
265
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListEnabledBaselinesOutput]
|
247
266
|
def enabled_baselines: () -> ::Array[Types::EnabledBaselineSummary]
|
@@ -265,11 +284,16 @@ module Aws
|
|
265
284
|
end
|
266
285
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ControlTower/Client.html#list_enabled_controls-instance_method
|
267
286
|
def list_enabled_controls: (
|
287
|
+
?filter: {
|
288
|
+
control_identifiers: Array[::String]?,
|
289
|
+
drift_statuses: Array[("DRIFTED" | "IN_SYNC" | "NOT_CHECKING" | "UNKNOWN")]?,
|
290
|
+
statuses: Array[("SUCCEEDED" | "FAILED" | "UNDER_CHANGE")]?
|
291
|
+
},
|
268
292
|
?max_results: ::Integer,
|
269
293
|
?next_token: ::String,
|
270
|
-
target_identifier: ::String
|
294
|
+
?target_identifier: ::String
|
271
295
|
) -> _ListEnabledControlsResponseSuccess
|
272
|
-
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEnabledControlsResponseSuccess
|
296
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEnabledControlsResponseSuccess
|
273
297
|
|
274
298
|
interface _ListLandingZonesResponseSuccess
|
275
299
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListLandingZonesOutput]
|
data/sig/types.rbs
CHANGED
@@ -36,11 +36,37 @@ module Aws::ControlTower
|
|
36
36
|
end
|
37
37
|
|
38
38
|
class ControlOperation
|
39
|
+
attr_accessor control_identifier: ::String
|
40
|
+
attr_accessor enabled_control_identifier: ::String
|
41
|
+
attr_accessor end_time: ::Time
|
42
|
+
attr_accessor operation_identifier: ::String
|
43
|
+
attr_accessor operation_type: ("ENABLE_CONTROL" | "DISABLE_CONTROL" | "UPDATE_ENABLED_CONTROL")
|
44
|
+
attr_accessor start_time: ::Time
|
45
|
+
attr_accessor status: ("SUCCEEDED" | "FAILED" | "IN_PROGRESS")
|
46
|
+
attr_accessor status_message: ::String
|
47
|
+
attr_accessor target_identifier: ::String
|
48
|
+
SENSITIVE: []
|
49
|
+
end
|
50
|
+
|
51
|
+
class ControlOperationFilter
|
52
|
+
attr_accessor control_identifiers: ::Array[::String]
|
53
|
+
attr_accessor control_operation_types: ::Array[("ENABLE_CONTROL" | "DISABLE_CONTROL" | "UPDATE_ENABLED_CONTROL")]
|
54
|
+
attr_accessor enabled_control_identifiers: ::Array[::String]
|
55
|
+
attr_accessor statuses: ::Array[("SUCCEEDED" | "FAILED" | "IN_PROGRESS")]
|
56
|
+
attr_accessor target_identifiers: ::Array[::String]
|
57
|
+
SENSITIVE: []
|
58
|
+
end
|
59
|
+
|
60
|
+
class ControlOperationSummary
|
61
|
+
attr_accessor control_identifier: ::String
|
62
|
+
attr_accessor enabled_control_identifier: ::String
|
39
63
|
attr_accessor end_time: ::Time
|
64
|
+
attr_accessor operation_identifier: ::String
|
40
65
|
attr_accessor operation_type: ("ENABLE_CONTROL" | "DISABLE_CONTROL" | "UPDATE_ENABLED_CONTROL")
|
41
66
|
attr_accessor start_time: ::Time
|
42
67
|
attr_accessor status: ("SUCCEEDED" | "FAILED" | "IN_PROGRESS")
|
43
68
|
attr_accessor status_message: ::String
|
69
|
+
attr_accessor target_identifier: ::String
|
44
70
|
SENSITIVE: []
|
45
71
|
end
|
46
72
|
|
@@ -170,6 +196,13 @@ module Aws::ControlTower
|
|
170
196
|
SENSITIVE: []
|
171
197
|
end
|
172
198
|
|
199
|
+
class EnabledControlFilter
|
200
|
+
attr_accessor control_identifiers: ::Array[::String]
|
201
|
+
attr_accessor drift_statuses: ::Array[("DRIFTED" | "IN_SYNC" | "NOT_CHECKING" | "UNKNOWN")]
|
202
|
+
attr_accessor statuses: ::Array[("SUCCEEDED" | "FAILED" | "UNDER_CHANGE")]
|
203
|
+
SENSITIVE: []
|
204
|
+
end
|
205
|
+
|
173
206
|
class EnabledControlParameter
|
174
207
|
attr_accessor key: ::String
|
175
208
|
attr_accessor value: untyped
|
@@ -315,6 +348,19 @@ module Aws::ControlTower
|
|
315
348
|
SENSITIVE: []
|
316
349
|
end
|
317
350
|
|
351
|
+
class ListControlOperationsInput
|
352
|
+
attr_accessor filter: Types::ControlOperationFilter
|
353
|
+
attr_accessor max_results: ::Integer
|
354
|
+
attr_accessor next_token: ::String
|
355
|
+
SENSITIVE: []
|
356
|
+
end
|
357
|
+
|
358
|
+
class ListControlOperationsOutput
|
359
|
+
attr_accessor control_operations: ::Array[Types::ControlOperationSummary]
|
360
|
+
attr_accessor next_token: ::String
|
361
|
+
SENSITIVE: []
|
362
|
+
end
|
363
|
+
|
318
364
|
class ListEnabledBaselinesInput
|
319
365
|
attr_accessor filter: Types::EnabledBaselineFilter
|
320
366
|
attr_accessor max_results: ::Integer
|
@@ -329,6 +375,7 @@ module Aws::ControlTower
|
|
329
375
|
end
|
330
376
|
|
331
377
|
class ListEnabledControlsInput
|
378
|
+
attr_accessor filter: Types::EnabledControlFilter
|
332
379
|
attr_accessor max_results: ::Integer
|
333
380
|
attr_accessor next_token: ::String
|
334
381
|
attr_accessor target_identifier: ::String
|
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.21.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-05-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|