aws-sdk-controltower 1.16.0 → 1.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-controltower/client.rb +383 -20
- data/lib/aws-sdk-controltower/client_api.rb +294 -0
- data/lib/aws-sdk-controltower/endpoints.rb +126 -0
- data/lib/aws-sdk-controltower/plugins/endpoints.rb +19 -0
- data/lib/aws-sdk-controltower/types.rb +530 -23
- data/lib/aws-sdk-controltower.rb +1 -1
- data/sig/client.rbs +386 -0
- data/sig/errors.rbs +40 -0
- data/sig/resource.rbs +79 -0
- data/sig/types.rbs +467 -0
- data/sig/waiters.rbs +13 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b8b94f2824024c02292d30f1e2eb564a14762985403603c01d3d99c96a13146
|
4
|
+
data.tar.gz: a66ae665b98bbd27624208db4b5db45065b58c93a0ccbf3172eb6444b356f9bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f1a9cf26f7bc7570ea6bd0fce0697e4419498fa0c62d7d851cb64f5794b41417d867f1376cee1ed573d869971d1bead2cd42950cd99835d84fbbe6515f99249
|
7
|
+
data.tar.gz: 6380f2a84b6badc6be00ea6f88f2c0a480d94f78aec1f13b3259b3c61fd441af3245768269ecad65574e81dfa5a5c8952a3899bb37ab9ab932109d8e03bc2572
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.18.0 (2024-02-14)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds support for new Baseline and EnabledBaseline APIs for automating multi-account governance.
|
8
|
+
|
9
|
+
1.17.0 (2024-01-26)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.16.0 (2023-12-14)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.18.0
|
@@ -393,9 +393,8 @@ module Aws::ControlTower
|
|
393
393
|
# parameters specified in the manifest JSON file.
|
394
394
|
#
|
395
395
|
# @option params [required, Hash,Array,String,Numeric,Boolean] :manifest
|
396
|
-
# The manifest
|
397
|
-
# Services resources. For examples, review [
|
398
|
-
# zone][1].
|
396
|
+
# The manifest.yaml file is a text file that describes your Amazon Web
|
397
|
+
# Services resources. For examples, review [The manifest file][1].
|
399
398
|
#
|
400
399
|
# Document type used to carry open content
|
401
400
|
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
@@ -404,7 +403,7 @@ module Aws::ControlTower
|
|
404
403
|
#
|
405
404
|
#
|
406
405
|
#
|
407
|
-
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/
|
406
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/the-manifest-file
|
408
407
|
#
|
409
408
|
# @option params [Hash<String,String>] :tags
|
410
409
|
# Tags to be applied to the landing zone.
|
@@ -472,11 +471,43 @@ module Aws::ControlTower
|
|
472
471
|
req.send_request(options)
|
473
472
|
end
|
474
473
|
|
474
|
+
# Disable an `EnabledBaseline` resource on the specified Target. This
|
475
|
+
# API starts an asynchronous operation to remove all resources deployed
|
476
|
+
# as part of the baseline enablement. The resource will vary depending
|
477
|
+
# on the enabled baseline.
|
478
|
+
#
|
479
|
+
# @option params [required, String] :enabled_baseline_identifier
|
480
|
+
# Identifier of the `EnabledBaseline` resource to be deactivated, in ARN
|
481
|
+
# format.
|
482
|
+
#
|
483
|
+
# @return [Types::DisableBaselineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
484
|
+
#
|
485
|
+
# * {Types::DisableBaselineOutput#operation_identifier #operation_identifier} => String
|
486
|
+
#
|
487
|
+
# @example Request syntax with placeholder values
|
488
|
+
#
|
489
|
+
# resp = client.disable_baseline({
|
490
|
+
# enabled_baseline_identifier: "Arn", # required
|
491
|
+
# })
|
492
|
+
#
|
493
|
+
# @example Response structure
|
494
|
+
#
|
495
|
+
# resp.operation_identifier #=> String
|
496
|
+
#
|
497
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/DisableBaseline AWS API Documentation
|
498
|
+
#
|
499
|
+
# @overload disable_baseline(params = {})
|
500
|
+
# @param [Hash] params ({})
|
501
|
+
def disable_baseline(params = {}, options = {})
|
502
|
+
req = build_request(:disable_baseline, params)
|
503
|
+
req.send_request(options)
|
504
|
+
end
|
505
|
+
|
475
506
|
# This API call turns off a control. It starts an asynchronous operation
|
476
|
-
# that deletes
|
477
|
-
#
|
478
|
-
#
|
479
|
-
#
|
507
|
+
# that deletes AWS resources on the specified organizational unit and
|
508
|
+
# the accounts it contains. The resources will vary according to the
|
509
|
+
# control that you specify. For usage examples, see [ *the Amazon Web
|
510
|
+
# Services Control Tower User Guide* ][1].
|
480
511
|
#
|
481
512
|
#
|
482
513
|
#
|
@@ -484,9 +515,9 @@ module Aws::ControlTower
|
|
484
515
|
#
|
485
516
|
# @option params [required, String] :control_identifier
|
486
517
|
# The ARN of the control. Only **Strongly recommended** and **Elective**
|
487
|
-
# controls are permitted, with the exception of the **
|
488
|
-
#
|
489
|
-
#
|
518
|
+
# controls are permitted, with the exception of the **Region deny**
|
519
|
+
# control. For information on how to find the `controlIdentifier`, see
|
520
|
+
# [the overview page][1].
|
490
521
|
#
|
491
522
|
#
|
492
523
|
#
|
@@ -524,6 +555,64 @@ module Aws::ControlTower
|
|
524
555
|
req.send_request(options)
|
525
556
|
end
|
526
557
|
|
558
|
+
# Enable (apply) a `Baseline` to a Target. This API starts an
|
559
|
+
# asynchronous operation to deploy resources specified by the `Baseline`
|
560
|
+
# to the specified Target.
|
561
|
+
#
|
562
|
+
# @option params [required, String] :baseline_identifier
|
563
|
+
# The ARN of the baseline to be enabled.
|
564
|
+
#
|
565
|
+
# @option params [required, String] :baseline_version
|
566
|
+
# The specific version to be enabled of the specified baseline.
|
567
|
+
#
|
568
|
+
# @option params [Array<Types::EnabledBaselineParameter>] :parameters
|
569
|
+
# A list of `key-value` objects that specify enablement parameters,
|
570
|
+
# where `key` is a string and `value` is a document of any type.
|
571
|
+
#
|
572
|
+
# @option params [Hash<String,String>] :tags
|
573
|
+
# Tags associated with input to `EnableBaseline`.
|
574
|
+
#
|
575
|
+
# @option params [required, String] :target_identifier
|
576
|
+
# The ARN of the target on which the baseline will be enabled. Only OUs
|
577
|
+
# are supported as targets.
|
578
|
+
#
|
579
|
+
# @return [Types::EnableBaselineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
580
|
+
#
|
581
|
+
# * {Types::EnableBaselineOutput#arn #arn} => String
|
582
|
+
# * {Types::EnableBaselineOutput#operation_identifier #operation_identifier} => String
|
583
|
+
#
|
584
|
+
# @example Request syntax with placeholder values
|
585
|
+
#
|
586
|
+
# resp = client.enable_baseline({
|
587
|
+
# baseline_identifier: "Arn", # required
|
588
|
+
# baseline_version: "BaselineVersion", # required
|
589
|
+
# parameters: [
|
590
|
+
# {
|
591
|
+
# key: "String", # required
|
592
|
+
# value: { # required
|
593
|
+
# },
|
594
|
+
# },
|
595
|
+
# ],
|
596
|
+
# tags: {
|
597
|
+
# "TagKey" => "TagValue",
|
598
|
+
# },
|
599
|
+
# target_identifier: "Arn", # required
|
600
|
+
# })
|
601
|
+
#
|
602
|
+
# @example Response structure
|
603
|
+
#
|
604
|
+
# resp.arn #=> String
|
605
|
+
# resp.operation_identifier #=> String
|
606
|
+
#
|
607
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/EnableBaseline AWS API Documentation
|
608
|
+
#
|
609
|
+
# @overload enable_baseline(params = {})
|
610
|
+
# @param [Hash] params ({})
|
611
|
+
def enable_baseline(params = {}, options = {})
|
612
|
+
req = build_request(:enable_baseline, params)
|
613
|
+
req.send_request(options)
|
614
|
+
end
|
615
|
+
|
527
616
|
# This API call activates a control. It starts an asynchronous operation
|
528
617
|
# that creates Amazon Web Services resources on the specified
|
529
618
|
# organizational unit and the accounts it contains. The resources
|
@@ -537,16 +626,17 @@ module Aws::ControlTower
|
|
537
626
|
#
|
538
627
|
# @option params [required, String] :control_identifier
|
539
628
|
# The ARN of the control. Only **Strongly recommended** and **Elective**
|
540
|
-
# controls are permitted, with the exception of the **
|
541
|
-
#
|
542
|
-
#
|
629
|
+
# controls are permitted, with the exception of the **Region deny**
|
630
|
+
# control. For information on how to find the `controlIdentifier`, see
|
631
|
+
# [the overview page][1].
|
543
632
|
#
|
544
633
|
#
|
545
634
|
#
|
546
635
|
# [1]: https://docs.aws.amazon.com/controltower/latest/APIReference/Welcome.html
|
547
636
|
#
|
548
637
|
# @option params [Array<Types::EnabledControlParameter>] :parameters
|
549
|
-
#
|
638
|
+
# A list of input parameter values, which are specified to configure the
|
639
|
+
# control when you enable it.
|
550
640
|
#
|
551
641
|
# @option params [Hash<String,String>] :tags
|
552
642
|
# Tags to be applied to the `EnabledControl` resource.
|
@@ -595,6 +685,76 @@ module Aws::ControlTower
|
|
595
685
|
req.send_request(options)
|
596
686
|
end
|
597
687
|
|
688
|
+
# Retrieve details about an existing `Baseline` resource by specifying
|
689
|
+
# its identifier.
|
690
|
+
#
|
691
|
+
# @option params [required, String] :baseline_identifier
|
692
|
+
# The ARN of the `Baseline` resource to be retrieved.
|
693
|
+
#
|
694
|
+
# @return [Types::GetBaselineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
695
|
+
#
|
696
|
+
# * {Types::GetBaselineOutput#arn #arn} => String
|
697
|
+
# * {Types::GetBaselineOutput#description #description} => String
|
698
|
+
# * {Types::GetBaselineOutput#name #name} => String
|
699
|
+
#
|
700
|
+
# @example Request syntax with placeholder values
|
701
|
+
#
|
702
|
+
# resp = client.get_baseline({
|
703
|
+
# baseline_identifier: "BaselineArn", # required
|
704
|
+
# })
|
705
|
+
#
|
706
|
+
# @example Response structure
|
707
|
+
#
|
708
|
+
# resp.arn #=> String
|
709
|
+
# resp.description #=> String
|
710
|
+
# resp.name #=> String
|
711
|
+
#
|
712
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/GetBaseline AWS API Documentation
|
713
|
+
#
|
714
|
+
# @overload get_baseline(params = {})
|
715
|
+
# @param [Hash] params ({})
|
716
|
+
def get_baseline(params = {}, options = {})
|
717
|
+
req = build_request(:get_baseline, params)
|
718
|
+
req.send_request(options)
|
719
|
+
end
|
720
|
+
|
721
|
+
# Returns the details of an asynchronous baseline operation, as
|
722
|
+
# initiated by any of these APIs: `EnableBaseline`, `DisableBaseline`,
|
723
|
+
# `UpdateEnabledBaseline`, `ResetEnabledBaseline`. A status message is
|
724
|
+
# displayed in case of operation failure.
|
725
|
+
#
|
726
|
+
# @option params [required, String] :operation_identifier
|
727
|
+
# The operation ID returned from mutating asynchronous APIs (Enable,
|
728
|
+
# Disable, Update, Reset).
|
729
|
+
#
|
730
|
+
# @return [Types::GetBaselineOperationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
731
|
+
#
|
732
|
+
# * {Types::GetBaselineOperationOutput#baseline_operation #baseline_operation} => Types::BaselineOperation
|
733
|
+
#
|
734
|
+
# @example Request syntax with placeholder values
|
735
|
+
#
|
736
|
+
# resp = client.get_baseline_operation({
|
737
|
+
# operation_identifier: "OperationIdentifier", # required
|
738
|
+
# })
|
739
|
+
#
|
740
|
+
# @example Response structure
|
741
|
+
#
|
742
|
+
# resp.baseline_operation.end_time #=> Time
|
743
|
+
# resp.baseline_operation.operation_identifier #=> String
|
744
|
+
# resp.baseline_operation.operation_type #=> String, one of "ENABLE_BASELINE", "DISABLE_BASELINE", "UPDATE_ENABLED_BASELINE", "RESET_ENABLED_BASELINE"
|
745
|
+
# resp.baseline_operation.start_time #=> Time
|
746
|
+
# resp.baseline_operation.status #=> String, one of "SUCCEEDED", "FAILED", "IN_PROGRESS"
|
747
|
+
# resp.baseline_operation.status_message #=> String
|
748
|
+
#
|
749
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/GetBaselineOperation AWS API Documentation
|
750
|
+
#
|
751
|
+
# @overload get_baseline_operation(params = {})
|
752
|
+
# @param [Hash] params ({})
|
753
|
+
def get_baseline_operation(params = {}, options = {})
|
754
|
+
req = build_request(:get_baseline_operation, params)
|
755
|
+
req.send_request(options)
|
756
|
+
end
|
757
|
+
|
598
758
|
# Returns the status of a particular `EnableControl` or `DisableControl`
|
599
759
|
# operation. Displays a message in case of error. Details for an
|
600
760
|
# operation are available for 90 days. For usage examples, see [ *the
|
@@ -635,6 +795,43 @@ module Aws::ControlTower
|
|
635
795
|
req.send_request(options)
|
636
796
|
end
|
637
797
|
|
798
|
+
# Retrieve details of an `EnabledBaseline` resource by specifying its
|
799
|
+
# identifier.
|
800
|
+
#
|
801
|
+
# @option params [required, String] :enabled_baseline_identifier
|
802
|
+
# Identifier of the `EnabledBaseline` resource to be retrieved, in ARN
|
803
|
+
# format.
|
804
|
+
#
|
805
|
+
# @return [Types::GetEnabledBaselineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
806
|
+
#
|
807
|
+
# * {Types::GetEnabledBaselineOutput#enabled_baseline_details #enabled_baseline_details} => Types::EnabledBaselineDetails
|
808
|
+
#
|
809
|
+
# @example Request syntax with placeholder values
|
810
|
+
#
|
811
|
+
# resp = client.get_enabled_baseline({
|
812
|
+
# enabled_baseline_identifier: "Arn", # required
|
813
|
+
# })
|
814
|
+
#
|
815
|
+
# @example Response structure
|
816
|
+
#
|
817
|
+
# resp.enabled_baseline_details.arn #=> String
|
818
|
+
# resp.enabled_baseline_details.baseline_identifier #=> String
|
819
|
+
# resp.enabled_baseline_details.baseline_version #=> String
|
820
|
+
# resp.enabled_baseline_details.parameters #=> Array
|
821
|
+
# resp.enabled_baseline_details.parameters[0].key #=> String
|
822
|
+
# resp.enabled_baseline_details.status_summary.last_operation_identifier #=> String
|
823
|
+
# resp.enabled_baseline_details.status_summary.status #=> String, one of "SUCCEEDED", "FAILED", "UNDER_CHANGE"
|
824
|
+
# resp.enabled_baseline_details.target_identifier #=> String
|
825
|
+
#
|
826
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/GetEnabledBaseline AWS API Documentation
|
827
|
+
#
|
828
|
+
# @overload get_enabled_baseline(params = {})
|
829
|
+
# @param [Hash] params ({})
|
830
|
+
def get_enabled_baseline(params = {}, options = {})
|
831
|
+
req = build_request(:get_enabled_baseline, params)
|
832
|
+
req.send_request(options)
|
833
|
+
end
|
834
|
+
|
638
835
|
# Retrieves details about an enabled control. For usage examples, see [
|
639
836
|
# *the Amazon Web Services Control Tower User Guide* ][1].
|
640
837
|
#
|
@@ -743,6 +940,98 @@ module Aws::ControlTower
|
|
743
940
|
req.send_request(options)
|
744
941
|
end
|
745
942
|
|
943
|
+
# Returns a summary list of all available baselines.
|
944
|
+
#
|
945
|
+
# @option params [Integer] :max_results
|
946
|
+
# The maximum number of results to be shown.
|
947
|
+
#
|
948
|
+
# @option params [String] :next_token
|
949
|
+
# A pagination token.
|
950
|
+
#
|
951
|
+
# @return [Types::ListBaselinesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
952
|
+
#
|
953
|
+
# * {Types::ListBaselinesOutput#baselines #baselines} => Array<Types::BaselineSummary>
|
954
|
+
# * {Types::ListBaselinesOutput#next_token #next_token} => String
|
955
|
+
#
|
956
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
957
|
+
#
|
958
|
+
# @example Request syntax with placeholder values
|
959
|
+
#
|
960
|
+
# resp = client.list_baselines({
|
961
|
+
# max_results: 1,
|
962
|
+
# next_token: "String",
|
963
|
+
# })
|
964
|
+
#
|
965
|
+
# @example Response structure
|
966
|
+
#
|
967
|
+
# resp.baselines #=> Array
|
968
|
+
# resp.baselines[0].arn #=> String
|
969
|
+
# resp.baselines[0].description #=> String
|
970
|
+
# resp.baselines[0].name #=> String
|
971
|
+
# resp.next_token #=> String
|
972
|
+
#
|
973
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ListBaselines AWS API Documentation
|
974
|
+
#
|
975
|
+
# @overload list_baselines(params = {})
|
976
|
+
# @param [Hash] params ({})
|
977
|
+
def list_baselines(params = {}, options = {})
|
978
|
+
req = build_request(:list_baselines, params)
|
979
|
+
req.send_request(options)
|
980
|
+
end
|
981
|
+
|
982
|
+
# Returns a list of summaries describing `EnabledBaseline` resources.
|
983
|
+
# You can filter the list by the corresponding `Baseline` or `Target` of
|
984
|
+
# the `EnabledBaseline` resources.
|
985
|
+
#
|
986
|
+
# @option params [Types::EnabledBaselineFilter] :filter
|
987
|
+
# A filter applied on the `ListEnabledBaseline` operation. Allowed
|
988
|
+
# filters are `baselineIdentifiers` and `targetIdentifiers`. The filter
|
989
|
+
# can be applied for either, or both.
|
990
|
+
#
|
991
|
+
# @option params [Integer] :max_results
|
992
|
+
# The maximum number of results to be shown.
|
993
|
+
#
|
994
|
+
# @option params [String] :next_token
|
995
|
+
# A pagination token.
|
996
|
+
#
|
997
|
+
# @return [Types::ListEnabledBaselinesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
998
|
+
#
|
999
|
+
# * {Types::ListEnabledBaselinesOutput#enabled_baselines #enabled_baselines} => Array<Types::EnabledBaselineSummary>
|
1000
|
+
# * {Types::ListEnabledBaselinesOutput#next_token #next_token} => String
|
1001
|
+
#
|
1002
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1003
|
+
#
|
1004
|
+
# @example Request syntax with placeholder values
|
1005
|
+
#
|
1006
|
+
# resp = client.list_enabled_baselines({
|
1007
|
+
# filter: {
|
1008
|
+
# baseline_identifiers: ["Arn"],
|
1009
|
+
# target_identifiers: ["Arn"],
|
1010
|
+
# },
|
1011
|
+
# max_results: 1,
|
1012
|
+
# next_token: "ListEnabledBaselinesNextToken",
|
1013
|
+
# })
|
1014
|
+
#
|
1015
|
+
# @example Response structure
|
1016
|
+
#
|
1017
|
+
# resp.enabled_baselines #=> Array
|
1018
|
+
# resp.enabled_baselines[0].arn #=> String
|
1019
|
+
# resp.enabled_baselines[0].baseline_identifier #=> String
|
1020
|
+
# resp.enabled_baselines[0].baseline_version #=> String
|
1021
|
+
# resp.enabled_baselines[0].status_summary.last_operation_identifier #=> String
|
1022
|
+
# resp.enabled_baselines[0].status_summary.status #=> String, one of "SUCCEEDED", "FAILED", "UNDER_CHANGE"
|
1023
|
+
# resp.enabled_baselines[0].target_identifier #=> String
|
1024
|
+
# resp.next_token #=> String
|
1025
|
+
#
|
1026
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ListEnabledBaselines AWS API Documentation
|
1027
|
+
#
|
1028
|
+
# @overload list_enabled_baselines(params = {})
|
1029
|
+
# @param [Hash] params ({})
|
1030
|
+
def list_enabled_baselines(params = {}, options = {})
|
1031
|
+
req = build_request(:list_enabled_baselines, params)
|
1032
|
+
req.send_request(options)
|
1033
|
+
end
|
1034
|
+
|
746
1035
|
# Lists the controls enabled by Amazon Web Services Control Tower on the
|
747
1036
|
# specified organizational unit and the accounts it contains. For usage
|
748
1037
|
# examples, see [ *the Amazon Web Services Control Tower User Guide*
|
@@ -879,6 +1168,37 @@ module Aws::ControlTower
|
|
879
1168
|
req.send_request(options)
|
880
1169
|
end
|
881
1170
|
|
1171
|
+
# Re-enables an `EnabledBaseline` resource. For example, this API can
|
1172
|
+
# re-apply the existing `Baseline` after a new member account is moved
|
1173
|
+
# to the target OU.
|
1174
|
+
#
|
1175
|
+
# @option params [required, String] :enabled_baseline_identifier
|
1176
|
+
# Specifies the ID of the `EnabledBaseline` resource to be re-enabled,
|
1177
|
+
# in ARN format.
|
1178
|
+
#
|
1179
|
+
# @return [Types::ResetEnabledBaselineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1180
|
+
#
|
1181
|
+
# * {Types::ResetEnabledBaselineOutput#operation_identifier #operation_identifier} => String
|
1182
|
+
#
|
1183
|
+
# @example Request syntax with placeholder values
|
1184
|
+
#
|
1185
|
+
# resp = client.reset_enabled_baseline({
|
1186
|
+
# enabled_baseline_identifier: "Arn", # required
|
1187
|
+
# })
|
1188
|
+
#
|
1189
|
+
# @example Response structure
|
1190
|
+
#
|
1191
|
+
# resp.operation_identifier #=> String
|
1192
|
+
#
|
1193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ResetEnabledBaseline AWS API Documentation
|
1194
|
+
#
|
1195
|
+
# @overload reset_enabled_baseline(params = {})
|
1196
|
+
# @param [Hash] params ({})
|
1197
|
+
def reset_enabled_baseline(params = {}, options = {})
|
1198
|
+
req = build_request(:reset_enabled_baseline, params)
|
1199
|
+
req.send_request(options)
|
1200
|
+
end
|
1201
|
+
|
882
1202
|
# This API call resets a landing zone. It starts an asynchronous
|
883
1203
|
# operation that resets the landing zone to the parameters specified in
|
884
1204
|
# its original configuration.
|
@@ -973,6 +1293,50 @@ module Aws::ControlTower
|
|
973
1293
|
req.send_request(options)
|
974
1294
|
end
|
975
1295
|
|
1296
|
+
# Updates an `EnabledBaseline` resource's applied parameters or
|
1297
|
+
# version.
|
1298
|
+
#
|
1299
|
+
# @option params [required, String] :baseline_version
|
1300
|
+
# Specifies the new `Baseline` version, to which the `EnabledBaseline`
|
1301
|
+
# should be updated.
|
1302
|
+
#
|
1303
|
+
# @option params [required, String] :enabled_baseline_identifier
|
1304
|
+
# Specifies the `EnabledBaseline` resource to be updated.
|
1305
|
+
#
|
1306
|
+
# @option params [Array<Types::EnabledBaselineParameter>] :parameters
|
1307
|
+
# Parameters to apply when making an update.
|
1308
|
+
#
|
1309
|
+
# @return [Types::UpdateEnabledBaselineOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1310
|
+
#
|
1311
|
+
# * {Types::UpdateEnabledBaselineOutput#operation_identifier #operation_identifier} => String
|
1312
|
+
#
|
1313
|
+
# @example Request syntax with placeholder values
|
1314
|
+
#
|
1315
|
+
# resp = client.update_enabled_baseline({
|
1316
|
+
# baseline_version: "BaselineVersion", # required
|
1317
|
+
# enabled_baseline_identifier: "Arn", # required
|
1318
|
+
# parameters: [
|
1319
|
+
# {
|
1320
|
+
# key: "String", # required
|
1321
|
+
# value: { # required
|
1322
|
+
# },
|
1323
|
+
# },
|
1324
|
+
# ],
|
1325
|
+
# })
|
1326
|
+
#
|
1327
|
+
# @example Response structure
|
1328
|
+
#
|
1329
|
+
# resp.operation_identifier #=> String
|
1330
|
+
#
|
1331
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/UpdateEnabledBaseline AWS API Documentation
|
1332
|
+
#
|
1333
|
+
# @overload update_enabled_baseline(params = {})
|
1334
|
+
# @param [Hash] params ({})
|
1335
|
+
def update_enabled_baseline(params = {}, options = {})
|
1336
|
+
req = build_request(:update_enabled_baseline, params)
|
1337
|
+
req.send_request(options)
|
1338
|
+
end
|
1339
|
+
|
976
1340
|
# Updates the configuration of an already enabled control.
|
977
1341
|
#
|
978
1342
|
# If the enabled control shows an `EnablementStatus` of SUCCEEDED,
|
@@ -1040,9 +1404,8 @@ module Aws::ControlTower
|
|
1040
1404
|
# The unique identifier of the landing zone.
|
1041
1405
|
#
|
1042
1406
|
# @option params [required, Hash,Array,String,Numeric,Boolean] :manifest
|
1043
|
-
# The manifest
|
1044
|
-
# Services resources. For examples, review [
|
1045
|
-
# zone][1].
|
1407
|
+
# The `manifest.yaml` file is a text file that describes your Amazon Web
|
1408
|
+
# Services resources. For examples, review [The manifest file][1].
|
1046
1409
|
#
|
1047
1410
|
# Document type used to carry open content
|
1048
1411
|
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
@@ -1051,7 +1414,7 @@ module Aws::ControlTower
|
|
1051
1414
|
#
|
1052
1415
|
#
|
1053
1416
|
#
|
1054
|
-
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/
|
1417
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/the-manifest-file
|
1055
1418
|
#
|
1056
1419
|
# @option params [required, String] :version
|
1057
1420
|
# The landing zone version, for example, 3.2.
|
@@ -1095,7 +1458,7 @@ module Aws::ControlTower
|
|
1095
1458
|
params: params,
|
1096
1459
|
config: config)
|
1097
1460
|
context[:gem_name] = 'aws-sdk-controltower'
|
1098
|
-
context[:gem_version] = '1.
|
1461
|
+
context[:gem_version] = '1.18.0'
|
1099
1462
|
Seahorse::Client::Request.new(handlers, context)
|
1100
1463
|
end
|
1101
1464
|
|