aws-sdk-controltower 1.12.0 → 1.14.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-controltower/client.rb +370 -26
- data/lib/aws-sdk-controltower/client_api.rb +241 -0
- data/lib/aws-sdk-controltower/endpoints.rb +112 -0
- data/lib/aws-sdk-controltower/plugins/endpoints.rb +16 -0
- data/lib/aws-sdk-controltower/types.rb +472 -31
- data/lib/aws-sdk-controltower.rb +2 -2
- 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: 573d52fdb4d2e41257388f874ba6fbdcd130dfd04fbec74df7a95d5d2c1e19d7
|
4
|
+
data.tar.gz: 2f24b76751109439a2cee72646bdb8b98a07091d26ad09c3976f37de179ae3a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29ffd45b639cddbbf4ba47dd4041cc3bec4e8c2dbeed630650d0c90f4a8ec941d05bfb96fb4e986b2f8e7fd115930166ec06ebaab89cf4681ca7bc39ad19a5ee
|
7
|
+
data.tar.gz: a7eac3ddc681b61a3a608654012ab2da9dae7f73c52d793907a8ebce36e1be8d75bfed3cc0fd66c8dc487ca880b9a444cc7e2bd53aadcab522627139b7a129ff
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.14.0 (2023-11-27)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds the following support: 1. The EnableControl API can configure controls that are configurable. 2. The GetEnabledControl API shows the configured parameters on an enabled control. 3. The new UpdateEnabledControl API can change parameters on an enabled control.
|
8
|
+
|
9
|
+
1.13.0 (2023-11-27)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Add APIs to create and manage a landing zone.
|
13
|
+
|
4
14
|
1.12.0 (2023-11-22)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.14.0
|
@@ -388,11 +388,94 @@ module Aws::ControlTower
|
|
388
388
|
|
389
389
|
# @!group API Operations
|
390
390
|
|
391
|
+
# Creates a new landing zone. This API call starts an asynchronous
|
392
|
+
# operation that creates and configures a landing zone, based on the
|
393
|
+
# parameters specified in the manifest JSON file.
|
394
|
+
#
|
395
|
+
# @option params [required, Hash,Array,String,Numeric,Boolean] :manifest
|
396
|
+
# The manifest.yaml file is a text file that describes your Amazon Web
|
397
|
+
# Services resources. For examples, review [The manifest file][1].
|
398
|
+
#
|
399
|
+
# Document type used to carry open content
|
400
|
+
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
401
|
+
# serialized using the same format as its surroundings and requires no
|
402
|
+
# additional encoding or escaping.
|
403
|
+
#
|
404
|
+
#
|
405
|
+
#
|
406
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/the-manifest-file
|
407
|
+
#
|
408
|
+
# @option params [Hash<String,String>] :tags
|
409
|
+
# Tags to be applied to the landing zone.
|
410
|
+
#
|
411
|
+
# @option params [required, String] :version
|
412
|
+
# The landing zone version, for example, 3.0.
|
413
|
+
#
|
414
|
+
# @return [Types::CreateLandingZoneOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
415
|
+
#
|
416
|
+
# * {Types::CreateLandingZoneOutput#arn #arn} => String
|
417
|
+
# * {Types::CreateLandingZoneOutput#operation_identifier #operation_identifier} => String
|
418
|
+
#
|
419
|
+
# @example Request syntax with placeholder values
|
420
|
+
#
|
421
|
+
# resp = client.create_landing_zone({
|
422
|
+
# manifest: { # required
|
423
|
+
# },
|
424
|
+
# tags: {
|
425
|
+
# "TagKey" => "TagValue",
|
426
|
+
# },
|
427
|
+
# version: "LandingZoneVersion", # required
|
428
|
+
# })
|
429
|
+
#
|
430
|
+
# @example Response structure
|
431
|
+
#
|
432
|
+
# resp.arn #=> String
|
433
|
+
# resp.operation_identifier #=> String
|
434
|
+
#
|
435
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/CreateLandingZone AWS API Documentation
|
436
|
+
#
|
437
|
+
# @overload create_landing_zone(params = {})
|
438
|
+
# @param [Hash] params ({})
|
439
|
+
def create_landing_zone(params = {}, options = {})
|
440
|
+
req = build_request(:create_landing_zone, params)
|
441
|
+
req.send_request(options)
|
442
|
+
end
|
443
|
+
|
444
|
+
# Decommissions a landing zone. This API call starts an asynchronous
|
445
|
+
# operation that deletes Amazon Web Services Control Tower resources
|
446
|
+
# deployed in accounts managed by Amazon Web Services Control Tower.
|
447
|
+
#
|
448
|
+
# @option params [required, String] :landing_zone_identifier
|
449
|
+
# The unique identifier of the landing zone.
|
450
|
+
#
|
451
|
+
# @return [Types::DeleteLandingZoneOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
452
|
+
#
|
453
|
+
# * {Types::DeleteLandingZoneOutput#operation_identifier #operation_identifier} => String
|
454
|
+
#
|
455
|
+
# @example Request syntax with placeholder values
|
456
|
+
#
|
457
|
+
# resp = client.delete_landing_zone({
|
458
|
+
# landing_zone_identifier: "String", # required
|
459
|
+
# })
|
460
|
+
#
|
461
|
+
# @example Response structure
|
462
|
+
#
|
463
|
+
# resp.operation_identifier #=> String
|
464
|
+
#
|
465
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/DeleteLandingZone AWS API Documentation
|
466
|
+
#
|
467
|
+
# @overload delete_landing_zone(params = {})
|
468
|
+
# @param [Hash] params ({})
|
469
|
+
def delete_landing_zone(params = {}, options = {})
|
470
|
+
req = build_request(:delete_landing_zone, params)
|
471
|
+
req.send_request(options)
|
472
|
+
end
|
473
|
+
|
391
474
|
# This API call turns off a control. It starts an asynchronous operation
|
392
|
-
# that deletes
|
393
|
-
# the accounts it contains. The resources will
|
394
|
-
# control that you specify. For usage examples,
|
395
|
-
# Tower User Guide* ][1].
|
475
|
+
# that deletes Amazon Web Services resources on the specified
|
476
|
+
# organizational unit and the accounts it contains. The resources will
|
477
|
+
# vary according to the control that you specify. For usage examples,
|
478
|
+
# see [ *the Amazon Web Services Control Tower User Guide* ][1].
|
396
479
|
#
|
397
480
|
#
|
398
481
|
#
|
@@ -400,9 +483,9 @@ module Aws::ControlTower
|
|
400
483
|
#
|
401
484
|
# @option params [required, String] :control_identifier
|
402
485
|
# The ARN of the control. Only **Strongly recommended** and **Elective**
|
403
|
-
# controls are permitted, with the exception of the **
|
404
|
-
# control. For information on how to find the
|
405
|
-
# [the overview page][1].
|
486
|
+
# controls are permitted, with the exception of the **landing zone
|
487
|
+
# Region deny** control. For information on how to find the
|
488
|
+
# `controlIdentifier`, see [the overview page][1].
|
406
489
|
#
|
407
490
|
#
|
408
491
|
#
|
@@ -441,10 +524,11 @@ module Aws::ControlTower
|
|
441
524
|
end
|
442
525
|
|
443
526
|
# This API call activates a control. It starts an asynchronous operation
|
444
|
-
# that creates
|
445
|
-
# the accounts it contains. The resources
|
446
|
-
# the control that you specify. For usage
|
447
|
-
# Control Tower User Guide*
|
527
|
+
# that creates Amazon Web Services resources on the specified
|
528
|
+
# organizational unit and the accounts it contains. The resources
|
529
|
+
# created will vary according to the control that you specify. For usage
|
530
|
+
# examples, see [ *the Amazon Web Services Control Tower User Guide*
|
531
|
+
# ][1].
|
448
532
|
#
|
449
533
|
#
|
450
534
|
#
|
@@ -452,14 +536,17 @@ module Aws::ControlTower
|
|
452
536
|
#
|
453
537
|
# @option params [required, String] :control_identifier
|
454
538
|
# The ARN of the control. Only **Strongly recommended** and **Elective**
|
455
|
-
# controls are permitted, with the exception of the **
|
456
|
-
# control. For information on how to find the
|
457
|
-
# [the overview page][1].
|
539
|
+
# controls are permitted, with the exception of the **landing zone
|
540
|
+
# Region deny** control. For information on how to find the
|
541
|
+
# `controlIdentifier`, see [the overview page][1].
|
458
542
|
#
|
459
543
|
#
|
460
544
|
#
|
461
545
|
# [1]: https://docs.aws.amazon.com/controltower/latest/APIReference/Welcome.html
|
462
546
|
#
|
547
|
+
# @option params [Array<Types::EnabledControlParameter>] :parameters
|
548
|
+
# An array of `EnabledControlParameter` objects
|
549
|
+
#
|
463
550
|
# @option params [Hash<String,String>] :tags
|
464
551
|
# Tags to be applied to the `EnabledControl` resource.
|
465
552
|
#
|
@@ -480,6 +567,13 @@ module Aws::ControlTower
|
|
480
567
|
#
|
481
568
|
# resp = client.enable_control({
|
482
569
|
# control_identifier: "ControlIdentifier", # required
|
570
|
+
# parameters: [
|
571
|
+
# {
|
572
|
+
# key: "String", # required
|
573
|
+
# value: { # required
|
574
|
+
# },
|
575
|
+
# },
|
576
|
+
# ],
|
483
577
|
# tags: {
|
484
578
|
# "TagKey" => "TagValue",
|
485
579
|
# },
|
@@ -503,7 +597,7 @@ module Aws::ControlTower
|
|
503
597
|
# Returns the status of a particular `EnableControl` or `DisableControl`
|
504
598
|
# operation. Displays a message in case of error. Details for an
|
505
599
|
# operation are available for 90 days. For usage examples, see [ *the
|
506
|
-
#
|
600
|
+
# Amazon Web Services Control Tower User Guide* ][1].
|
507
601
|
#
|
508
602
|
#
|
509
603
|
#
|
@@ -526,7 +620,7 @@ module Aws::ControlTower
|
|
526
620
|
# @example Response structure
|
527
621
|
#
|
528
622
|
# resp.control_operation.end_time #=> Time
|
529
|
-
# resp.control_operation.operation_type #=> String, one of "ENABLE_CONTROL", "DISABLE_CONTROL"
|
623
|
+
# resp.control_operation.operation_type #=> String, one of "ENABLE_CONTROL", "DISABLE_CONTROL", "UPDATE_ENABLED_CONTROL"
|
530
624
|
# resp.control_operation.start_time #=> Time
|
531
625
|
# resp.control_operation.status #=> String, one of "SUCCEEDED", "FAILED", "IN_PROGRESS"
|
532
626
|
# resp.control_operation.status_message #=> String
|
@@ -541,7 +635,7 @@ module Aws::ControlTower
|
|
541
635
|
end
|
542
636
|
|
543
637
|
# Retrieves details about an enabled control. For usage examples, see [
|
544
|
-
# *the
|
638
|
+
# *the Amazon Web Services Control Tower User Guide* ][1].
|
545
639
|
#
|
546
640
|
#
|
547
641
|
#
|
@@ -565,6 +659,8 @@ module Aws::ControlTower
|
|
565
659
|
# resp.enabled_control_details.arn #=> String
|
566
660
|
# resp.enabled_control_details.control_identifier #=> String
|
567
661
|
# resp.enabled_control_details.drift_status_summary.drift_status #=> String, one of "DRIFTED", "IN_SYNC", "NOT_CHECKING", "UNKNOWN"
|
662
|
+
# resp.enabled_control_details.parameters #=> Array
|
663
|
+
# resp.enabled_control_details.parameters[0].key #=> String
|
568
664
|
# resp.enabled_control_details.status_summary.last_operation_identifier #=> String
|
569
665
|
# resp.enabled_control_details.status_summary.status #=> String, one of "SUCCEEDED", "FAILED", "UNDER_CHANGE"
|
570
666
|
# resp.enabled_control_details.target_identifier #=> String
|
@@ -580,9 +676,76 @@ module Aws::ControlTower
|
|
580
676
|
req.send_request(options)
|
581
677
|
end
|
582
678
|
|
583
|
-
#
|
584
|
-
#
|
585
|
-
#
|
679
|
+
# Returns details about the landing zone. Displays a message in case of
|
680
|
+
# error.
|
681
|
+
#
|
682
|
+
# @option params [required, String] :landing_zone_identifier
|
683
|
+
# The unique identifier of the landing zone.
|
684
|
+
#
|
685
|
+
# @return [Types::GetLandingZoneOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
686
|
+
#
|
687
|
+
# * {Types::GetLandingZoneOutput#landing_zone #landing_zone} => Types::LandingZoneDetail
|
688
|
+
#
|
689
|
+
# @example Request syntax with placeholder values
|
690
|
+
#
|
691
|
+
# resp = client.get_landing_zone({
|
692
|
+
# landing_zone_identifier: "String", # required
|
693
|
+
# })
|
694
|
+
#
|
695
|
+
# @example Response structure
|
696
|
+
#
|
697
|
+
# resp.landing_zone.arn #=> String
|
698
|
+
# resp.landing_zone.drift_status.status #=> String, one of "DRIFTED", "IN_SYNC"
|
699
|
+
# resp.landing_zone.latest_available_version #=> String
|
700
|
+
# resp.landing_zone.status #=> String, one of "ACTIVE", "PROCESSING", "FAILED"
|
701
|
+
# resp.landing_zone.version #=> String
|
702
|
+
#
|
703
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/GetLandingZone AWS API Documentation
|
704
|
+
#
|
705
|
+
# @overload get_landing_zone(params = {})
|
706
|
+
# @param [Hash] params ({})
|
707
|
+
def get_landing_zone(params = {}, options = {})
|
708
|
+
req = build_request(:get_landing_zone, params)
|
709
|
+
req.send_request(options)
|
710
|
+
end
|
711
|
+
|
712
|
+
# Returns the status of the specified landing zone operation. Details
|
713
|
+
# for an operation are available for 60 days.
|
714
|
+
#
|
715
|
+
# @option params [required, String] :operation_identifier
|
716
|
+
# A unique identifier assigned to a landing zone operation.
|
717
|
+
#
|
718
|
+
# @return [Types::GetLandingZoneOperationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
719
|
+
#
|
720
|
+
# * {Types::GetLandingZoneOperationOutput#operation_details #operation_details} => Types::LandingZoneOperationDetail
|
721
|
+
#
|
722
|
+
# @example Request syntax with placeholder values
|
723
|
+
#
|
724
|
+
# resp = client.get_landing_zone_operation({
|
725
|
+
# operation_identifier: "OperationIdentifier", # required
|
726
|
+
# })
|
727
|
+
#
|
728
|
+
# @example Response structure
|
729
|
+
#
|
730
|
+
# resp.operation_details.end_time #=> Time
|
731
|
+
# resp.operation_details.operation_type #=> String, one of "DELETE", "CREATE", "UPDATE", "RESET"
|
732
|
+
# resp.operation_details.start_time #=> Time
|
733
|
+
# resp.operation_details.status #=> String, one of "SUCCEEDED", "FAILED", "IN_PROGRESS"
|
734
|
+
# resp.operation_details.status_message #=> String
|
735
|
+
#
|
736
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/GetLandingZoneOperation AWS API Documentation
|
737
|
+
#
|
738
|
+
# @overload get_landing_zone_operation(params = {})
|
739
|
+
# @param [Hash] params ({})
|
740
|
+
def get_landing_zone_operation(params = {}, options = {})
|
741
|
+
req = build_request(:get_landing_zone_operation, params)
|
742
|
+
req.send_request(options)
|
743
|
+
end
|
744
|
+
|
745
|
+
# Lists the controls enabled by Amazon Web Services Control Tower on the
|
746
|
+
# specified organizational unit and the accounts it contains. For usage
|
747
|
+
# examples, see [ *the Amazon Web Services Control Tower User Guide*
|
748
|
+
# ][1].
|
586
749
|
#
|
587
750
|
#
|
588
751
|
#
|
@@ -638,8 +801,51 @@ module Aws::ControlTower
|
|
638
801
|
req.send_request(options)
|
639
802
|
end
|
640
803
|
|
804
|
+
# Returns the landing zone ARN for the landing zone deployed in your
|
805
|
+
# managed account. This API also creates an ARN for existing accounts
|
806
|
+
# that do not yet have a landing zone ARN.
|
807
|
+
#
|
808
|
+
# Returns one landing zone ARN.
|
809
|
+
#
|
810
|
+
# @option params [Integer] :max_results
|
811
|
+
# The maximum number of returned landing zone ARNs, which is one.
|
812
|
+
#
|
813
|
+
# @option params [String] :next_token
|
814
|
+
# The token to continue the list from a previous API call with the same
|
815
|
+
# parameters.
|
816
|
+
#
|
817
|
+
# @return [Types::ListLandingZonesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
818
|
+
#
|
819
|
+
# * {Types::ListLandingZonesOutput#landing_zones #landing_zones} => Array<Types::LandingZoneSummary>
|
820
|
+
# * {Types::ListLandingZonesOutput#next_token #next_token} => String
|
821
|
+
#
|
822
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
823
|
+
#
|
824
|
+
# @example Request syntax with placeholder values
|
825
|
+
#
|
826
|
+
# resp = client.list_landing_zones({
|
827
|
+
# max_results: 1,
|
828
|
+
# next_token: "String",
|
829
|
+
# })
|
830
|
+
#
|
831
|
+
# @example Response structure
|
832
|
+
#
|
833
|
+
# resp.landing_zones #=> Array
|
834
|
+
# resp.landing_zones[0].arn #=> String
|
835
|
+
# resp.next_token #=> String
|
836
|
+
#
|
837
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ListLandingZones AWS API Documentation
|
838
|
+
#
|
839
|
+
# @overload list_landing_zones(params = {})
|
840
|
+
# @param [Hash] params ({})
|
841
|
+
def list_landing_zones(params = {}, options = {})
|
842
|
+
req = build_request(:list_landing_zones, params)
|
843
|
+
req.send_request(options)
|
844
|
+
end
|
845
|
+
|
641
846
|
# Returns a list of tags associated with the resource. For usage
|
642
|
-
# examples, see [ *the
|
847
|
+
# examples, see [ *the Amazon Web Services Control Tower User Guide*
|
848
|
+
# ][1].
|
643
849
|
#
|
644
850
|
#
|
645
851
|
#
|
@@ -672,8 +878,38 @@ module Aws::ControlTower
|
|
672
878
|
req.send_request(options)
|
673
879
|
end
|
674
880
|
|
675
|
-
#
|
676
|
-
#
|
881
|
+
# This API call resets a landing zone. It starts an asynchronous
|
882
|
+
# operation that resets the landing zone to the parameters specified in
|
883
|
+
# its original configuration.
|
884
|
+
#
|
885
|
+
# @option params [required, String] :landing_zone_identifier
|
886
|
+
# The unique identifier of the landing zone.
|
887
|
+
#
|
888
|
+
# @return [Types::ResetLandingZoneOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
889
|
+
#
|
890
|
+
# * {Types::ResetLandingZoneOutput#operation_identifier #operation_identifier} => String
|
891
|
+
#
|
892
|
+
# @example Request syntax with placeholder values
|
893
|
+
#
|
894
|
+
# resp = client.reset_landing_zone({
|
895
|
+
# landing_zone_identifier: "String", # required
|
896
|
+
# })
|
897
|
+
#
|
898
|
+
# @example Response structure
|
899
|
+
#
|
900
|
+
# resp.operation_identifier #=> String
|
901
|
+
#
|
902
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/ResetLandingZone AWS API Documentation
|
903
|
+
#
|
904
|
+
# @overload reset_landing_zone(params = {})
|
905
|
+
# @param [Hash] params ({})
|
906
|
+
def reset_landing_zone(params = {}, options = {})
|
907
|
+
req = build_request(:reset_landing_zone, params)
|
908
|
+
req.send_request(options)
|
909
|
+
end
|
910
|
+
|
911
|
+
# Applies tags to a resource. For usage examples, see [ *the Amazon Web
|
912
|
+
# Services Control Tower User Guide* ][1].
|
677
913
|
#
|
678
914
|
#
|
679
915
|
#
|
@@ -705,8 +941,8 @@ module Aws::ControlTower
|
|
705
941
|
req.send_request(options)
|
706
942
|
end
|
707
943
|
|
708
|
-
# Removes tags from a resource. For usage examples, see [ *the
|
709
|
-
# Control Tower User Guide* ][1].
|
944
|
+
# Removes tags from a resource. For usage examples, see [ *the Amazon
|
945
|
+
# Web Services Control Tower User Guide* ][1].
|
710
946
|
#
|
711
947
|
#
|
712
948
|
#
|
@@ -736,6 +972,114 @@ module Aws::ControlTower
|
|
736
972
|
req.send_request(options)
|
737
973
|
end
|
738
974
|
|
975
|
+
# Updates the configuration of an already enabled control.
|
976
|
+
#
|
977
|
+
# If the enabled control shows an `EnablementStatus` of SUCCEEDED,
|
978
|
+
# supply parameters that are different from the currently configured
|
979
|
+
# parameters. Otherwise, Amazon Web Services Control Tower will not
|
980
|
+
# accept the request.
|
981
|
+
#
|
982
|
+
# If the enabled control shows an `EnablementStatus` of FAILED, Amazon
|
983
|
+
# Web Services Control Tower will update the control to match any valid
|
984
|
+
# parameters that you supply.
|
985
|
+
#
|
986
|
+
# If the `DriftSummary` status for the control shows as DRIFTED, you
|
987
|
+
# cannot call this API. Instead, you can update the control by calling
|
988
|
+
# `DisableControl` and again calling `EnableControl`, or you can run an
|
989
|
+
# extending governance operation. For usage examples, see [ *the Amazon
|
990
|
+
# Web Services Control Tower User Guide* ][1]
|
991
|
+
#
|
992
|
+
#
|
993
|
+
#
|
994
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/control-api-examples-short.html
|
995
|
+
#
|
996
|
+
# @option params [required, String] :enabled_control_identifier
|
997
|
+
# The ARN of the enabled control that will be updated.
|
998
|
+
#
|
999
|
+
# @option params [required, Array<Types::EnabledControlParameter>] :parameters
|
1000
|
+
# A key/value pair, where `Key` is of type `String` and `Value` is of
|
1001
|
+
# type `Document`.
|
1002
|
+
#
|
1003
|
+
# @return [Types::UpdateEnabledControlOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1004
|
+
#
|
1005
|
+
# * {Types::UpdateEnabledControlOutput#operation_identifier #operation_identifier} => String
|
1006
|
+
#
|
1007
|
+
# @example Request syntax with placeholder values
|
1008
|
+
#
|
1009
|
+
# resp = client.update_enabled_control({
|
1010
|
+
# enabled_control_identifier: "Arn", # required
|
1011
|
+
# parameters: [ # required
|
1012
|
+
# {
|
1013
|
+
# key: "String", # required
|
1014
|
+
# value: { # required
|
1015
|
+
# },
|
1016
|
+
# },
|
1017
|
+
# ],
|
1018
|
+
# })
|
1019
|
+
#
|
1020
|
+
# @example Response structure
|
1021
|
+
#
|
1022
|
+
# resp.operation_identifier #=> String
|
1023
|
+
#
|
1024
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/UpdateEnabledControl AWS API Documentation
|
1025
|
+
#
|
1026
|
+
# @overload update_enabled_control(params = {})
|
1027
|
+
# @param [Hash] params ({})
|
1028
|
+
def update_enabled_control(params = {}, options = {})
|
1029
|
+
req = build_request(:update_enabled_control, params)
|
1030
|
+
req.send_request(options)
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
# This API call updates the landing zone. It starts an asynchronous
|
1034
|
+
# operation that updates the landing zone based on the new landing zone
|
1035
|
+
# version, or on the changed parameters specified in the updated
|
1036
|
+
# manifest file.
|
1037
|
+
#
|
1038
|
+
# @option params [required, String] :landing_zone_identifier
|
1039
|
+
# The unique identifier of the landing zone.
|
1040
|
+
#
|
1041
|
+
# @option params [required, Hash,Array,String,Numeric,Boolean] :manifest
|
1042
|
+
# The `manifest.yaml` file is a text file that describes your Amazon Web
|
1043
|
+
# Services resources. For examples, review [The manifest file][1].
|
1044
|
+
#
|
1045
|
+
# Document type used to carry open content
|
1046
|
+
# (Hash,Array,String,Numeric,Boolean). A document type value is
|
1047
|
+
# serialized using the same format as its surroundings and requires no
|
1048
|
+
# additional encoding or escaping.
|
1049
|
+
#
|
1050
|
+
#
|
1051
|
+
#
|
1052
|
+
# [1]: https://docs.aws.amazon.com/controltower/latest/userguide/the-manifest-file
|
1053
|
+
#
|
1054
|
+
# @option params [required, String] :version
|
1055
|
+
# The landing zone version, for example, 3.2.
|
1056
|
+
#
|
1057
|
+
# @return [Types::UpdateLandingZoneOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1058
|
+
#
|
1059
|
+
# * {Types::UpdateLandingZoneOutput#operation_identifier #operation_identifier} => String
|
1060
|
+
#
|
1061
|
+
# @example Request syntax with placeholder values
|
1062
|
+
#
|
1063
|
+
# resp = client.update_landing_zone({
|
1064
|
+
# landing_zone_identifier: "String", # required
|
1065
|
+
# manifest: { # required
|
1066
|
+
# },
|
1067
|
+
# version: "LandingZoneVersion", # required
|
1068
|
+
# })
|
1069
|
+
#
|
1070
|
+
# @example Response structure
|
1071
|
+
#
|
1072
|
+
# resp.operation_identifier #=> String
|
1073
|
+
#
|
1074
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/controltower-2018-05-10/UpdateLandingZone AWS API Documentation
|
1075
|
+
#
|
1076
|
+
# @overload update_landing_zone(params = {})
|
1077
|
+
# @param [Hash] params ({})
|
1078
|
+
def update_landing_zone(params = {}, options = {})
|
1079
|
+
req = build_request(:update_landing_zone, params)
|
1080
|
+
req.send_request(options)
|
1081
|
+
end
|
1082
|
+
|
739
1083
|
# @!endgroup
|
740
1084
|
|
741
1085
|
# @param params ({})
|
@@ -749,7 +1093,7 @@ module Aws::ControlTower
|
|
749
1093
|
params: params,
|
750
1094
|
config: config)
|
751
1095
|
context[:gem_name] = 'aws-sdk-controltower'
|
752
|
-
context[:gem_version] = '1.
|
1096
|
+
context[:gem_version] = '1.14.0'
|
753
1097
|
Seahorse::Client::Request.new(handlers, context)
|
754
1098
|
end
|
755
1099
|
|