aws-sdk-controltower 1.41.0 → 1.42.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 +5 -1
- data/lib/aws-sdk-controltower/client_api.rb +54 -31
- data/lib/aws-sdk-controltower/types.rb +108 -1
- data/lib/aws-sdk-controltower.rb +1 -1
- data/sig/client.rbs +2 -0
- data/sig/types.rbs +19 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 828157ccb3fc91396f13f8742e861e121fc9b91ad7e4d34a2399bff4796f3e8a
|
4
|
+
data.tar.gz: 5a649a78b39b61c5f50e7c1dae64ab968624cbcd4d42208c045426640f642f31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a6f5cbfa684c64cd06530040e2b3cbf08b4c8a719e47048350c6cd64793167efc50cd35f793efc9ee85192bcf525c77dbc79a45303c40b7f428db8ce2d248869
|
7
|
+
data.tar.gz: 1aaa25fb8d09cf242e63e5b2c5ff471939d44fd81186c84f840c5c680fe58f7d8cdba882285de87576029f65f5749acb33de6a465a1e6b85477a8ddc4580c625
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.42.0 (2025-05-13)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - AWS Control Tower now reports the inheritance drift status for EnabledBaselines through the GetEnabledBaseline and ListEnabledBaselines APIs. You can now filter EnabledBaselines by their enablement and drift status using the ListEnabledBaselines API to view accounts and OUs that require attention.
|
8
|
+
|
4
9
|
1.41.0 (2025-05-12)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.42.0
|
@@ -922,6 +922,7 @@ module Aws::ControlTower
|
|
922
922
|
# resp.enabled_baseline_details.arn #=> String
|
923
923
|
# resp.enabled_baseline_details.baseline_identifier #=> String
|
924
924
|
# resp.enabled_baseline_details.baseline_version #=> String
|
925
|
+
# resp.enabled_baseline_details.drift_status_summary.types.inheritance.status #=> String, one of "IN_SYNC", "DRIFTED"
|
925
926
|
# resp.enabled_baseline_details.parameters #=> Array
|
926
927
|
# resp.enabled_baseline_details.parameters[0].key #=> String
|
927
928
|
# resp.enabled_baseline_details.parent_identifier #=> String
|
@@ -1188,7 +1189,9 @@ module Aws::ControlTower
|
|
1188
1189
|
# resp = client.list_enabled_baselines({
|
1189
1190
|
# filter: {
|
1190
1191
|
# baseline_identifiers: ["Arn"],
|
1192
|
+
# inheritance_drift_statuses: ["IN_SYNC"], # accepts IN_SYNC, DRIFTED
|
1191
1193
|
# parent_identifiers: ["Arn"],
|
1194
|
+
# statuses: ["SUCCEEDED"], # accepts SUCCEEDED, FAILED, UNDER_CHANGE
|
1192
1195
|
# target_identifiers: ["Arn"],
|
1193
1196
|
# },
|
1194
1197
|
# include_children: false,
|
@@ -1202,6 +1205,7 @@ module Aws::ControlTower
|
|
1202
1205
|
# resp.enabled_baselines[0].arn #=> String
|
1203
1206
|
# resp.enabled_baselines[0].baseline_identifier #=> String
|
1204
1207
|
# resp.enabled_baselines[0].baseline_version #=> String
|
1208
|
+
# resp.enabled_baselines[0].drift_status_summary.types.inheritance.status #=> String, one of "IN_SYNC", "DRIFTED"
|
1205
1209
|
# resp.enabled_baselines[0].parent_identifier #=> String
|
1206
1210
|
# resp.enabled_baselines[0].status_summary.last_operation_identifier #=> String
|
1207
1211
|
# resp.enabled_baselines[0].status_summary.status #=> String, one of "SUCCEEDED", "FAILED", "UNDER_CHANGE"
|
@@ -1750,7 +1754,7 @@ module Aws::ControlTower
|
|
1750
1754
|
tracer: tracer
|
1751
1755
|
)
|
1752
1756
|
context[:gem_name] = 'aws-sdk-controltower'
|
1753
|
-
context[:gem_version] = '1.
|
1757
|
+
context[:gem_version] = '1.42.0'
|
1754
1758
|
Seahorse::Client::Request.new(handlers, context)
|
1755
1759
|
end
|
1756
1760
|
|
@@ -53,7 +53,13 @@ module Aws::ControlTower
|
|
53
53
|
EnableControlOutput = Shapes::StructureShape.new(name: 'EnableControlOutput')
|
54
54
|
EnabledBaselineBaselineIdentifiers = Shapes::ListShape.new(name: 'EnabledBaselineBaselineIdentifiers')
|
55
55
|
EnabledBaselineDetails = Shapes::StructureShape.new(name: 'EnabledBaselineDetails')
|
56
|
+
EnabledBaselineDriftStatus = Shapes::StringShape.new(name: 'EnabledBaselineDriftStatus')
|
57
|
+
EnabledBaselineDriftStatusSummary = Shapes::StructureShape.new(name: 'EnabledBaselineDriftStatusSummary')
|
58
|
+
EnabledBaselineDriftStatuses = Shapes::ListShape.new(name: 'EnabledBaselineDriftStatuses')
|
59
|
+
EnabledBaselineDriftTypes = Shapes::StructureShape.new(name: 'EnabledBaselineDriftTypes')
|
60
|
+
EnabledBaselineEnablementStatuses = Shapes::ListShape.new(name: 'EnabledBaselineEnablementStatuses')
|
56
61
|
EnabledBaselineFilter = Shapes::StructureShape.new(name: 'EnabledBaselineFilter')
|
62
|
+
EnabledBaselineInheritanceDrift = Shapes::StructureShape.new(name: 'EnabledBaselineInheritanceDrift')
|
57
63
|
EnabledBaselineParameter = Shapes::StructureShape.new(name: 'EnabledBaselineParameter')
|
58
64
|
EnabledBaselineParameterDocument = Shapes::DocumentShape.new(name: 'EnabledBaselineParameterDocument', document: true)
|
59
65
|
EnabledBaselineParameterSummaries = Shapes::ListShape.new(name: 'EnabledBaselineParameterSummaries')
|
@@ -280,17 +286,33 @@ module Aws::ControlTower
|
|
280
286
|
EnabledBaselineDetails.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
|
281
287
|
EnabledBaselineDetails.add_member(:baseline_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "baselineIdentifier"))
|
282
288
|
EnabledBaselineDetails.add_member(:baseline_version, Shapes::ShapeRef.new(shape: String, location_name: "baselineVersion"))
|
289
|
+
EnabledBaselineDetails.add_member(:drift_status_summary, Shapes::ShapeRef.new(shape: EnabledBaselineDriftStatusSummary, location_name: "driftStatusSummary"))
|
283
290
|
EnabledBaselineDetails.add_member(:parameters, Shapes::ShapeRef.new(shape: EnabledBaselineParameterSummaries, location_name: "parameters"))
|
284
291
|
EnabledBaselineDetails.add_member(:parent_identifier, Shapes::ShapeRef.new(shape: Arn, location_name: "parentIdentifier"))
|
285
292
|
EnabledBaselineDetails.add_member(:status_summary, Shapes::ShapeRef.new(shape: EnablementStatusSummary, required: true, location_name: "statusSummary"))
|
286
293
|
EnabledBaselineDetails.add_member(:target_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetIdentifier"))
|
287
294
|
EnabledBaselineDetails.struct_class = Types::EnabledBaselineDetails
|
288
295
|
|
296
|
+
EnabledBaselineDriftStatusSummary.add_member(:types, Shapes::ShapeRef.new(shape: EnabledBaselineDriftTypes, location_name: "types"))
|
297
|
+
EnabledBaselineDriftStatusSummary.struct_class = Types::EnabledBaselineDriftStatusSummary
|
298
|
+
|
299
|
+
EnabledBaselineDriftStatuses.member = Shapes::ShapeRef.new(shape: EnabledBaselineDriftStatus)
|
300
|
+
|
301
|
+
EnabledBaselineDriftTypes.add_member(:inheritance, Shapes::ShapeRef.new(shape: EnabledBaselineInheritanceDrift, location_name: "inheritance"))
|
302
|
+
EnabledBaselineDriftTypes.struct_class = Types::EnabledBaselineDriftTypes
|
303
|
+
|
304
|
+
EnabledBaselineEnablementStatuses.member = Shapes::ShapeRef.new(shape: EnablementStatus)
|
305
|
+
|
289
306
|
EnabledBaselineFilter.add_member(:baseline_identifiers, Shapes::ShapeRef.new(shape: EnabledBaselineBaselineIdentifiers, location_name: "baselineIdentifiers"))
|
307
|
+
EnabledBaselineFilter.add_member(:inheritance_drift_statuses, Shapes::ShapeRef.new(shape: EnabledBaselineDriftStatuses, location_name: "inheritanceDriftStatuses"))
|
290
308
|
EnabledBaselineFilter.add_member(:parent_identifiers, Shapes::ShapeRef.new(shape: EnabledBaselineParentIdentifiers, location_name: "parentIdentifiers"))
|
309
|
+
EnabledBaselineFilter.add_member(:statuses, Shapes::ShapeRef.new(shape: EnabledBaselineEnablementStatuses, location_name: "statuses"))
|
291
310
|
EnabledBaselineFilter.add_member(:target_identifiers, Shapes::ShapeRef.new(shape: EnabledBaselineTargetIdentifiers, location_name: "targetIdentifiers"))
|
292
311
|
EnabledBaselineFilter.struct_class = Types::EnabledBaselineFilter
|
293
312
|
|
313
|
+
EnabledBaselineInheritanceDrift.add_member(:status, Shapes::ShapeRef.new(shape: EnabledBaselineDriftStatus, location_name: "status"))
|
314
|
+
EnabledBaselineInheritanceDrift.struct_class = Types::EnabledBaselineInheritanceDrift
|
315
|
+
|
294
316
|
EnabledBaselineParameter.add_member(:key, Shapes::ShapeRef.new(shape: String, required: true, location_name: "key"))
|
295
317
|
EnabledBaselineParameter.add_member(:value, Shapes::ShapeRef.new(shape: EnabledBaselineParameterDocument, required: true, location_name: "value"))
|
296
318
|
EnabledBaselineParameter.struct_class = Types::EnabledBaselineParameter
|
@@ -308,6 +330,7 @@ module Aws::ControlTower
|
|
308
330
|
EnabledBaselineSummary.add_member(:arn, Shapes::ShapeRef.new(shape: Arn, required: true, location_name: "arn"))
|
309
331
|
EnabledBaselineSummary.add_member(:baseline_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "baselineIdentifier"))
|
310
332
|
EnabledBaselineSummary.add_member(:baseline_version, Shapes::ShapeRef.new(shape: String, location_name: "baselineVersion"))
|
333
|
+
EnabledBaselineSummary.add_member(:drift_status_summary, Shapes::ShapeRef.new(shape: EnabledBaselineDriftStatusSummary, location_name: "driftStatusSummary"))
|
311
334
|
EnabledBaselineSummary.add_member(:parent_identifier, Shapes::ShapeRef.new(shape: Arn, location_name: "parentIdentifier"))
|
312
335
|
EnabledBaselineSummary.add_member(:status_summary, Shapes::ShapeRef.new(shape: EnablementStatusSummary, required: true, location_name: "statusSummary"))
|
313
336
|
EnabledBaselineSummary.add_member(:target_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "targetIdentifier"))
|
@@ -612,8 +635,8 @@ module Aws::ControlTower
|
|
612
635
|
o.http_request_uri = "/create-landingzone"
|
613
636
|
o.input = Shapes::ShapeRef.new(shape: CreateLandingZoneInput)
|
614
637
|
o.output = Shapes::ShapeRef.new(shape: CreateLandingZoneOutput)
|
615
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
616
638
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
639
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
617
640
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
618
641
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
619
642
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
@@ -625,12 +648,12 @@ module Aws::ControlTower
|
|
625
648
|
o.http_request_uri = "/delete-landingzone"
|
626
649
|
o.input = Shapes::ShapeRef.new(shape: DeleteLandingZoneInput)
|
627
650
|
o.output = Shapes::ShapeRef.new(shape: DeleteLandingZoneOutput)
|
628
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
629
651
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
652
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
630
653
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
631
654
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
632
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
633
655
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
656
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
634
657
|
end)
|
635
658
|
|
636
659
|
api.add_operation(:disable_baseline, Seahorse::Model::Operation.new.tap do |o|
|
@@ -639,13 +662,13 @@ module Aws::ControlTower
|
|
639
662
|
o.http_request_uri = "/disable-baseline"
|
640
663
|
o.input = Shapes::ShapeRef.new(shape: DisableBaselineInput)
|
641
664
|
o.output = Shapes::ShapeRef.new(shape: DisableBaselineOutput)
|
642
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
643
665
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
666
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
644
667
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
645
668
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
646
669
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
647
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
648
670
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
671
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
649
672
|
end)
|
650
673
|
|
651
674
|
api.add_operation(:disable_control, Seahorse::Model::Operation.new.tap do |o|
|
@@ -654,13 +677,13 @@ module Aws::ControlTower
|
|
654
677
|
o.http_request_uri = "/disable-control"
|
655
678
|
o.input = Shapes::ShapeRef.new(shape: DisableControlInput)
|
656
679
|
o.output = Shapes::ShapeRef.new(shape: DisableControlOutput)
|
657
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
658
680
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
681
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
659
682
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
660
683
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
661
684
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
662
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
663
685
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
686
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
664
687
|
end)
|
665
688
|
|
666
689
|
api.add_operation(:enable_baseline, Seahorse::Model::Operation.new.tap do |o|
|
@@ -669,13 +692,13 @@ module Aws::ControlTower
|
|
669
692
|
o.http_request_uri = "/enable-baseline"
|
670
693
|
o.input = Shapes::ShapeRef.new(shape: EnableBaselineInput)
|
671
694
|
o.output = Shapes::ShapeRef.new(shape: EnableBaselineOutput)
|
672
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
673
695
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
696
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
674
697
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
675
698
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
676
699
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
677
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
678
700
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
701
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
679
702
|
end)
|
680
703
|
|
681
704
|
api.add_operation(:enable_control, Seahorse::Model::Operation.new.tap do |o|
|
@@ -684,13 +707,13 @@ module Aws::ControlTower
|
|
684
707
|
o.http_request_uri = "/enable-control"
|
685
708
|
o.input = Shapes::ShapeRef.new(shape: EnableControlInput)
|
686
709
|
o.output = Shapes::ShapeRef.new(shape: EnableControlOutput)
|
687
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
688
710
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
711
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
689
712
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
690
713
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
691
714
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
692
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
693
715
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
716
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
694
717
|
end)
|
695
718
|
|
696
719
|
api.add_operation(:get_baseline, Seahorse::Model::Operation.new.tap do |o|
|
@@ -702,8 +725,8 @@ module Aws::ControlTower
|
|
702
725
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
703
726
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
704
727
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
705
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
706
728
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
729
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
707
730
|
end)
|
708
731
|
|
709
732
|
api.add_operation(:get_baseline_operation, Seahorse::Model::Operation.new.tap do |o|
|
@@ -715,8 +738,8 @@ module Aws::ControlTower
|
|
715
738
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
716
739
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
717
740
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
718
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
719
741
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
742
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
720
743
|
end)
|
721
744
|
|
722
745
|
api.add_operation(:get_control_operation, Seahorse::Model::Operation.new.tap do |o|
|
@@ -728,8 +751,8 @@ module Aws::ControlTower
|
|
728
751
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
729
752
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
730
753
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
731
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
732
754
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
755
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
733
756
|
end)
|
734
757
|
|
735
758
|
api.add_operation(:get_enabled_baseline, Seahorse::Model::Operation.new.tap do |o|
|
@@ -741,8 +764,8 @@ module Aws::ControlTower
|
|
741
764
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
742
765
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
743
766
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
744
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
745
767
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
768
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
746
769
|
end)
|
747
770
|
|
748
771
|
api.add_operation(:get_enabled_control, Seahorse::Model::Operation.new.tap do |o|
|
@@ -754,8 +777,8 @@ module Aws::ControlTower
|
|
754
777
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
755
778
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
756
779
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
757
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
758
780
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
781
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
759
782
|
end)
|
760
783
|
|
761
784
|
api.add_operation(:get_landing_zone, Seahorse::Model::Operation.new.tap do |o|
|
@@ -767,8 +790,8 @@ module Aws::ControlTower
|
|
767
790
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
768
791
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
769
792
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
770
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
771
793
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
794
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
772
795
|
end)
|
773
796
|
|
774
797
|
api.add_operation(:get_landing_zone_operation, Seahorse::Model::Operation.new.tap do |o|
|
@@ -780,8 +803,8 @@ module Aws::ControlTower
|
|
780
803
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
781
804
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
782
805
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
783
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
784
806
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
807
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
785
808
|
end)
|
786
809
|
|
787
810
|
api.add_operation(:list_baselines, Seahorse::Model::Operation.new.tap do |o|
|
@@ -847,8 +870,8 @@ module Aws::ControlTower
|
|
847
870
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
848
871
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
849
872
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
850
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
851
873
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
874
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
852
875
|
o[:pager] = Aws::Pager.new(
|
853
876
|
limit_key: "max_results",
|
854
877
|
tokens: {
|
@@ -910,13 +933,13 @@ module Aws::ControlTower
|
|
910
933
|
o.http_request_uri = "/reset-enabled-baseline"
|
911
934
|
o.input = Shapes::ShapeRef.new(shape: ResetEnabledBaselineInput)
|
912
935
|
o.output = Shapes::ShapeRef.new(shape: ResetEnabledBaselineOutput)
|
913
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
914
936
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
937
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
915
938
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
916
939
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
917
940
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
918
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
919
941
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
942
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
920
943
|
end)
|
921
944
|
|
922
945
|
api.add_operation(:reset_enabled_control, Seahorse::Model::Operation.new.tap do |o|
|
@@ -925,13 +948,13 @@ module Aws::ControlTower
|
|
925
948
|
o.http_request_uri = "/reset-enabled-control"
|
926
949
|
o.input = Shapes::ShapeRef.new(shape: ResetEnabledControlInput)
|
927
950
|
o.output = Shapes::ShapeRef.new(shape: ResetEnabledControlOutput)
|
928
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
929
951
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
952
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
930
953
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
931
954
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
932
955
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
933
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
934
956
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
957
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
935
958
|
end)
|
936
959
|
|
937
960
|
api.add_operation(:reset_landing_zone, Seahorse::Model::Operation.new.tap do |o|
|
@@ -940,12 +963,12 @@ module Aws::ControlTower
|
|
940
963
|
o.http_request_uri = "/reset-landingzone"
|
941
964
|
o.input = Shapes::ShapeRef.new(shape: ResetLandingZoneInput)
|
942
965
|
o.output = Shapes::ShapeRef.new(shape: ResetLandingZoneOutput)
|
943
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
944
966
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
967
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
945
968
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
946
969
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
947
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
948
970
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
971
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
949
972
|
end)
|
950
973
|
|
951
974
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -976,13 +999,13 @@ module Aws::ControlTower
|
|
976
999
|
o.http_request_uri = "/update-enabled-baseline"
|
977
1000
|
o.input = Shapes::ShapeRef.new(shape: UpdateEnabledBaselineInput)
|
978
1001
|
o.output = Shapes::ShapeRef.new(shape: UpdateEnabledBaselineOutput)
|
979
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
980
1002
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1003
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
981
1004
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
982
1005
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
983
1006
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
984
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
985
1007
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1008
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
986
1009
|
end)
|
987
1010
|
|
988
1011
|
api.add_operation(:update_enabled_control, Seahorse::Model::Operation.new.tap do |o|
|
@@ -991,13 +1014,13 @@ module Aws::ControlTower
|
|
991
1014
|
o.http_request_uri = "/update-enabled-control"
|
992
1015
|
o.input = Shapes::ShapeRef.new(shape: UpdateEnabledControlInput)
|
993
1016
|
o.output = Shapes::ShapeRef.new(shape: UpdateEnabledControlOutput)
|
994
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
995
1017
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1018
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
996
1019
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
997
1020
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
998
1021
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
999
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1000
1022
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1023
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1001
1024
|
end)
|
1002
1025
|
|
1003
1026
|
api.add_operation(:update_landing_zone, Seahorse::Model::Operation.new.tap do |o|
|
@@ -1006,12 +1029,12 @@ module Aws::ControlTower
|
|
1006
1029
|
o.http_request_uri = "/update-landingzone"
|
1007
1030
|
o.input = Shapes::ShapeRef.new(shape: UpdateLandingZoneInput)
|
1008
1031
|
o.output = Shapes::ShapeRef.new(shape: UpdateLandingZoneOutput)
|
1009
|
-
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1010
1032
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1033
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1011
1034
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1012
1035
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1013
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1014
1036
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1037
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1015
1038
|
end)
|
1016
1039
|
end
|
1017
1040
|
|
@@ -554,6 +554,10 @@ module Aws::ControlTower
|
|
554
554
|
# The enabled version of the `Baseline`.
|
555
555
|
# @return [String]
|
556
556
|
#
|
557
|
+
# @!attribute [rw] drift_status_summary
|
558
|
+
# The drift status of the enabled baseline.
|
559
|
+
# @return [Types::EnabledBaselineDriftStatusSummary]
|
560
|
+
#
|
557
561
|
# @!attribute [rw] parameters
|
558
562
|
# Shows the parameters that are applied when enabling this `Baseline`.
|
559
563
|
# @return [Array<Types::EnabledBaselineParameterSummary>]
|
@@ -580,6 +584,7 @@ module Aws::ControlTower
|
|
580
584
|
:arn,
|
581
585
|
:baseline_identifier,
|
582
586
|
:baseline_version,
|
587
|
+
:drift_status_summary,
|
583
588
|
:parameters,
|
584
589
|
:parent_identifier,
|
585
590
|
:status_summary,
|
@@ -588,6 +593,77 @@ module Aws::ControlTower
|
|
588
593
|
include Aws::Structure
|
589
594
|
end
|
590
595
|
|
596
|
+
# The drift summary of the enabled baseline. Amazon Web Services Control
|
597
|
+
# Tower reports inheritance drift when an enabled baseline configuration
|
598
|
+
# of a member account is different than the configuration that applies
|
599
|
+
# to the OU. Amazon Web Services Control Tower reports this type of
|
600
|
+
# drift for a parent or child enabled baseline. One way to repair this
|
601
|
+
# drift by resetting the parent enabled baseline, on the OU.
|
602
|
+
#
|
603
|
+
# For example, if an account is moved between OUs that share the same
|
604
|
+
# baseline but different versions or parameters, the entity from the
|
605
|
+
# previous OU is unlinked; that (previous) OU reports *inheritance
|
606
|
+
# drift*. Also, the parent enabled baseline on the destination OU
|
607
|
+
# reports *inheritance drift*; it is missing the newly moved account.
|
608
|
+
# The configurations do not match for either OU, so both are in a state
|
609
|
+
# of inheritance drift.
|
610
|
+
#
|
611
|
+
# @!attribute [rw] types
|
612
|
+
# The types of drift that can be detected for an enabled baseline.
|
613
|
+
# Amazon Web Services Control Tower detects inheritance drift on
|
614
|
+
# enabled baselines that apply at the OU level.
|
615
|
+
# @return [Types::EnabledBaselineDriftTypes]
|
616
|
+
#
|
617
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/EnabledBaselineDriftStatusSummary AWS API Documentation
|
618
|
+
#
|
619
|
+
class EnabledBaselineDriftStatusSummary < Struct.new(
|
620
|
+
:types)
|
621
|
+
SENSITIVE = []
|
622
|
+
include Aws::Structure
|
623
|
+
end
|
624
|
+
|
625
|
+
# The types of drift that can be detected for an enabled baseline.
|
626
|
+
#
|
627
|
+
# * Amazon Web Services Control Tower detects inheritance drift on the
|
628
|
+
# enabled baselines that target OUs: `AWSControlTowerBaseline` and
|
629
|
+
# `BackupBaseline`.
|
630
|
+
#
|
631
|
+
# * Amazon Web Services Control Tower does not detect drift on the
|
632
|
+
# baselines that apply to your landing zone: `IdentityCenterBaseline`,
|
633
|
+
# `AuditBaseline`, `LogArchiveBaseline`, `BackupCentralVaultBaseline`,
|
634
|
+
# or `BackupAdminBaseline`. For more information, see [Types of
|
635
|
+
# baselines][1].
|
636
|
+
#
|
637
|
+
# Baselines enabled on an OU are inherited by its member accounts as
|
638
|
+
# child `EnabledBaseline` resources. The baseline on the OU serves as
|
639
|
+
# the parent `EnabledBaseline`, which governs the configuration of each
|
640
|
+
# child `EnabledBaseline`.
|
641
|
+
#
|
642
|
+
# If the baseline configuration of a member account in an OU does not
|
643
|
+
# match the configuration of the parent OU, the parent and child
|
644
|
+
# baseline is in a state of inheritance drift. This drift could occur in
|
645
|
+
# the `AWSControlTowerBaseline` or the `BackupBaseline` related to that
|
646
|
+
# account.
|
647
|
+
#
|
648
|
+
#
|
649
|
+
#
|
650
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/types-of-baselines.html
|
651
|
+
#
|
652
|
+
# @!attribute [rw] inheritance
|
653
|
+
# One or more accounts within the target OU does not match the
|
654
|
+
# baseline configuration defined on that OU. An account is in
|
655
|
+
# inheritance drift when it does not match the configuration of a
|
656
|
+
# parent OU, possibly a new parent OU if the account is moved.
|
657
|
+
# @return [Types::EnabledBaselineInheritanceDrift]
|
658
|
+
#
|
659
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/EnabledBaselineDriftTypes AWS API Documentation
|
660
|
+
#
|
661
|
+
class EnabledBaselineDriftTypes < Struct.new(
|
662
|
+
:inheritance)
|
663
|
+
SENSITIVE = []
|
664
|
+
include Aws::Structure
|
665
|
+
end
|
666
|
+
|
591
667
|
# A filter applied on the `ListEnabledBaseline` operation. Allowed
|
592
668
|
# filters are `baselineIdentifiers` and `targetIdentifiers`. The filter
|
593
669
|
# can be applied for either, or both.
|
@@ -597,11 +673,19 @@ module Aws::ControlTower
|
|
597
673
|
# filter operation.
|
598
674
|
# @return [Array<String>]
|
599
675
|
#
|
676
|
+
# @!attribute [rw] inheritance_drift_statuses
|
677
|
+
# A list of `EnabledBaselineDriftStatus` items for enabled baselines.
|
678
|
+
# @return [Array<String>]
|
679
|
+
#
|
600
680
|
# @!attribute [rw] parent_identifiers
|
601
681
|
# An optional filter that sets up a list of `parentIdentifiers` to
|
602
682
|
# filter the results of the `ListEnabledBaseline` output.
|
603
683
|
# @return [Array<String>]
|
604
684
|
#
|
685
|
+
# @!attribute [rw] statuses
|
686
|
+
# A list of `EnablementStatus` items.
|
687
|
+
# @return [Array<String>]
|
688
|
+
#
|
605
689
|
# @!attribute [rw] target_identifiers
|
606
690
|
# Identifiers for the targets of the `Baseline` filter operation.
|
607
691
|
# @return [Array<String>]
|
@@ -610,12 +694,30 @@ module Aws::ControlTower
|
|
610
694
|
#
|
611
695
|
class EnabledBaselineFilter < Struct.new(
|
612
696
|
:baseline_identifiers,
|
697
|
+
:inheritance_drift_statuses,
|
613
698
|
:parent_identifiers,
|
699
|
+
:statuses,
|
614
700
|
:target_identifiers)
|
615
701
|
SENSITIVE = []
|
616
702
|
include Aws::Structure
|
617
703
|
end
|
618
704
|
|
705
|
+
# The inheritance drift summary for the enabled baseline. Inheritance
|
706
|
+
# drift occurs when any accounts in the target OU do not match the
|
707
|
+
# baseline configuration defined on that OU.
|
708
|
+
#
|
709
|
+
# @!attribute [rw] status
|
710
|
+
# The inheritance drift status for enabled baselines.
|
711
|
+
# @return [String]
|
712
|
+
#
|
713
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/EnabledBaselineInheritanceDrift AWS API Documentation
|
714
|
+
#
|
715
|
+
class EnabledBaselineInheritanceDrift < Struct.new(
|
716
|
+
:status)
|
717
|
+
SENSITIVE = []
|
718
|
+
include Aws::Structure
|
719
|
+
end
|
720
|
+
|
619
721
|
# A key-value parameter to an `EnabledBaseline` resource.
|
620
722
|
#
|
621
723
|
# @!attribute [rw] key
|
@@ -671,6 +773,10 @@ module Aws::ControlTower
|
|
671
773
|
# The enabled version of the baseline.
|
672
774
|
# @return [String]
|
673
775
|
#
|
776
|
+
# @!attribute [rw] drift_status_summary
|
777
|
+
# The drift status of the enabled baseline.
|
778
|
+
# @return [Types::EnabledBaselineDriftStatusSummary]
|
779
|
+
#
|
674
780
|
# @!attribute [rw] parent_identifier
|
675
781
|
# An ARN that represents an object returned by `ListEnabledBaseline`,
|
676
782
|
# to describe an enabled baseline.
|
@@ -691,6 +797,7 @@ module Aws::ControlTower
|
|
691
797
|
:arn,
|
692
798
|
:baseline_identifier,
|
693
799
|
:baseline_version,
|
800
|
+
:drift_status_summary,
|
694
801
|
:parent_identifier,
|
695
802
|
:status_summary,
|
696
803
|
:target_identifier)
|
@@ -1652,7 +1759,7 @@ module Aws::ControlTower
|
|
1652
1759
|
end
|
1653
1760
|
|
1654
1761
|
# The request would cause a service quota to be exceeded. The limit is
|
1655
|
-
#
|
1762
|
+
# 100 concurrent operations.
|
1656
1763
|
#
|
1657
1764
|
# @!attribute [rw] message
|
1658
1765
|
# @return [String]
|
data/lib/aws-sdk-controltower.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -275,7 +275,9 @@ module Aws
|
|
275
275
|
def list_enabled_baselines: (
|
276
276
|
?filter: {
|
277
277
|
baseline_identifiers: Array[::String]?,
|
278
|
+
inheritance_drift_statuses: Array[("IN_SYNC" | "DRIFTED")]?,
|
278
279
|
parent_identifiers: Array[::String]?,
|
280
|
+
statuses: Array[("SUCCEEDED" | "FAILED" | "UNDER_CHANGE")]?,
|
279
281
|
target_identifiers: Array[::String]?
|
280
282
|
},
|
281
283
|
?include_children: bool,
|
data/sig/types.rbs
CHANGED
@@ -152,6 +152,7 @@ module Aws::ControlTower
|
|
152
152
|
attr_accessor arn: ::String
|
153
153
|
attr_accessor baseline_identifier: ::String
|
154
154
|
attr_accessor baseline_version: ::String
|
155
|
+
attr_accessor drift_status_summary: Types::EnabledBaselineDriftStatusSummary
|
155
156
|
attr_accessor parameters: ::Array[Types::EnabledBaselineParameterSummary]
|
156
157
|
attr_accessor parent_identifier: ::String
|
157
158
|
attr_accessor status_summary: Types::EnablementStatusSummary
|
@@ -159,13 +160,30 @@ module Aws::ControlTower
|
|
159
160
|
SENSITIVE: []
|
160
161
|
end
|
161
162
|
|
163
|
+
class EnabledBaselineDriftStatusSummary
|
164
|
+
attr_accessor types: Types::EnabledBaselineDriftTypes
|
165
|
+
SENSITIVE: []
|
166
|
+
end
|
167
|
+
|
168
|
+
class EnabledBaselineDriftTypes
|
169
|
+
attr_accessor inheritance: Types::EnabledBaselineInheritanceDrift
|
170
|
+
SENSITIVE: []
|
171
|
+
end
|
172
|
+
|
162
173
|
class EnabledBaselineFilter
|
163
174
|
attr_accessor baseline_identifiers: ::Array[::String]
|
175
|
+
attr_accessor inheritance_drift_statuses: ::Array[("IN_SYNC" | "DRIFTED")]
|
164
176
|
attr_accessor parent_identifiers: ::Array[::String]
|
177
|
+
attr_accessor statuses: ::Array[("SUCCEEDED" | "FAILED" | "UNDER_CHANGE")]
|
165
178
|
attr_accessor target_identifiers: ::Array[::String]
|
166
179
|
SENSITIVE: []
|
167
180
|
end
|
168
181
|
|
182
|
+
class EnabledBaselineInheritanceDrift
|
183
|
+
attr_accessor status: ("IN_SYNC" | "DRIFTED")
|
184
|
+
SENSITIVE: []
|
185
|
+
end
|
186
|
+
|
169
187
|
class EnabledBaselineParameter
|
170
188
|
attr_accessor key: ::String
|
171
189
|
attr_accessor value: untyped
|
@@ -182,6 +200,7 @@ module Aws::ControlTower
|
|
182
200
|
attr_accessor arn: ::String
|
183
201
|
attr_accessor baseline_identifier: ::String
|
184
202
|
attr_accessor baseline_version: ::String
|
203
|
+
attr_accessor drift_status_summary: Types::EnabledBaselineDriftStatusSummary
|
185
204
|
attr_accessor parent_identifier: ::String
|
186
205
|
attr_accessor status_summary: Types::EnablementStatusSummary
|
187
206
|
attr_accessor target_identifier: ::String
|