aws-sdk-organizations 1.69.0 → 1.70.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 01736d22d59d67a7076ace3046e263e4188642c3cd4944d9c12b72402112763f
4
- data.tar.gz: cad795b4ce4aceb40ac2801d7073286c4cf7bb6501d16a40c8f1a1ec8bc0a39f
3
+ metadata.gz: ba87ed7289c6599b0767d8ce02ecd53ddff64127f0e7fbcff441265d0342c05d
4
+ data.tar.gz: 6d24512c2c462703d2115ca371df6218a65b868f2591f615dbd8cc3e580f1881
5
5
  SHA512:
6
- metadata.gz: 45ba798069f281b083af95a25b3081c91433bbac8e89f7bbe2ad30a230cf94f03ff4723e26481e2f2f0adc50b27be39aebbb0b4590cd63d2cb4fd15dabd5795e
7
- data.tar.gz: 7fa8d38585e7548d779061b078f9cc962f6438a4c38dca209622c43953026179aa72da9a4b63571d987bc341cea4b352d55c659604a8341b1ea0dd65f0b7e5c3
6
+ metadata.gz: 6c26f41e20c68f82656785ca84db3f3206c2a0102263376cbb74c6ff6b936f636514336bf7f3bcde60cee7b6d93696671c61c0650e2b82e18fc250dbe14a84c1
7
+ data.tar.gz: e3adb4cf9f194cfa622e5adaa916fee581c97e02e217c3b2e5f85dac9c7e86c6813bad05c62c090eb0f5516b5096f897e7bc5cdeb199bbf6ce9d286d267e85aa
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.70.0 (2022-05-02)
5
+ ------------------
6
+
7
+ * Feature - This release adds the INVALID_PAYMENT_INSTRUMENT as a fail reason and an error message.
8
+
4
9
  1.69.0 (2022-03-29)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.69.0
1
+ 1.70.0
@@ -710,9 +710,52 @@ module Aws::Organizations
710
710
  req.send_request(options)
711
711
  end
712
712
 
713
- # Closes an Amazon Web Services account that is now a part of an
714
- # Organizations, either created within the organization, or invited to
715
- # join the organization.
713
+ # Closes an Amazon Web Services member account within an organization.
714
+ # You can't close the management account with this API. This is an
715
+ # asynchronous request that Amazon Web Services performs in the
716
+ # background. Because `CloseAccount` operates asynchronously, it can
717
+ # return a successful completion message even though account closure
718
+ # might still be in progress. You need to wait a few minutes before the
719
+ # account is fully closed. To check the status of the request, do one of
720
+ # the following:
721
+ #
722
+ # * Use the `AccountId` that you sent in the `CloseAccount` request to
723
+ # provide as a parameter to the DescribeAccount operation.
724
+ #
725
+ # While the close account request is in progress, Account status will
726
+ # indicate PENDING\_CLOSURE. When the close account request completes,
727
+ # the status will change to SUSPENDED.
728
+ #
729
+ # * Check the CloudTrail log for the `CloseAccountResult` event that
730
+ # gets published after the account closes successfully. For
731
+ # information on using CloudTrail with Organizations, see [Logging and
732
+ # monitoring in Organizations][1] in the *Organizations User Guide.*
733
+ #
734
+ # <note markdown="1"> * You can only close 10% of active member accounts within a rolling 30
735
+ # day period. This quota is not bound by a calendar month, but starts
736
+ # when you close an account. Within 30 days of that initial account
737
+ # closure, you can't exceed the 10% account closure limit.
738
+ #
739
+ # * To reinstate a closed account, contact Amazon Web Services Support
740
+ # within the 90-day grace period while the account is in SUSPENDED
741
+ # status.
742
+ #
743
+ # * If the Amazon Web Services account you attempt to close is linked to
744
+ # an Amazon Web Services GovCloud (US) account, the `CloseAccount`
745
+ # request will close both accounts. To learn important pre-closure
746
+ # details, see [ Closing an Amazon Web Services GovCloud (US)
747
+ # account][2] in the <i> Amazon Web Services GovCloud User Guide</i>.
748
+ #
749
+ # </note>
750
+ #
751
+ # For more information about closing accounts, see [Closing an Amazon
752
+ # Web Services account][3] in the *Organizations User Guide.*
753
+ #
754
+ #
755
+ #
756
+ # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_security_incident-response.html#orgs_cloudtrail-integration
757
+ # [2]: https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/Closing-govcloud-account.html
758
+ # [3]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_close.html
716
759
  #
717
760
  # @option params [required, String] :account_id
718
761
  # Retrieves the Amazon Web Services account Id for the current
@@ -970,7 +1013,7 @@ module Aws::Organizations
970
1013
  # resp.create_account_status.completed_timestamp #=> Time
971
1014
  # resp.create_account_status.account_id #=> String
972
1015
  # resp.create_account_status.gov_cloud_account_id #=> String
973
- # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT"
1016
+ # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT", "INVALID_PAYMENT_INSTRUMENT"
974
1017
  #
975
1018
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccount AWS API Documentation
976
1019
  #
@@ -1157,6 +1200,10 @@ module Aws::Organizations
1157
1200
  # @option params [required, String] :account_name
1158
1201
  # The friendly name of the member account.
1159
1202
  #
1203
+ # The account name can consist of only the characters
1204
+ # \[a-z\],\[A-Z\],\[0-9\], hyphen (-), or dot (.) You can't separate
1205
+ # characters with a dash (–).
1206
+ #
1160
1207
  # @option params [String] :role_name
1161
1208
  # (Optional)
1162
1209
  #
@@ -1253,7 +1300,7 @@ module Aws::Organizations
1253
1300
  # resp.create_account_status.completed_timestamp #=> Time
1254
1301
  # resp.create_account_status.account_id #=> String
1255
1302
  # resp.create_account_status.gov_cloud_account_id #=> String
1256
- # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT"
1303
+ # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT", "INVALID_PAYMENT_INSTRUMENT"
1257
1304
  #
1258
1305
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateGovCloudAccount AWS API Documentation
1259
1306
  #
@@ -2038,7 +2085,7 @@ module Aws::Organizations
2038
2085
  # resp.create_account_status.completed_timestamp #=> Time
2039
2086
  # resp.create_account_status.account_id #=> String
2040
2087
  # resp.create_account_status.gov_cloud_account_id #=> String
2041
- # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT"
2088
+ # resp.create_account_status.failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT", "INVALID_PAYMENT_INSTRUMENT"
2042
2089
  #
2043
2090
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DescribeCreateAccountStatus AWS API Documentation
2044
2091
  #
@@ -3757,7 +3804,7 @@ module Aws::Organizations
3757
3804
  # resp.create_account_statuses[0].completed_timestamp #=> Time
3758
3805
  # resp.create_account_statuses[0].account_id #=> String
3759
3806
  # resp.create_account_statuses[0].gov_cloud_account_id #=> String
3760
- # resp.create_account_statuses[0].failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT"
3807
+ # resp.create_account_statuses[0].failure_reason #=> String, one of "ACCOUNT_LIMIT_EXCEEDED", "EMAIL_ALREADY_EXISTS", "INVALID_ADDRESS", "INVALID_EMAIL", "CONCURRENT_ACCOUNT_MODIFICATION", "INTERNAL_FAILURE", "GOVCLOUD_ACCOUNT_ALREADY_EXISTS", "MISSING_BUSINESS_VALIDATION", "FAILED_BUSINESS_VALIDATION", "PENDING_BUSINESS_VALIDATION", "INVALID_IDENTITY_FOR_BUSINESS_VALIDATION", "UNKNOWN_BUSINESS_VALIDATION", "MISSING_PAYMENT_INSTRUMENT", "INVALID_PAYMENT_INSTRUMENT"
3761
3808
  # resp.next_token #=> String
3762
3809
  #
3763
3810
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListCreateAccountStatus AWS API Documentation
@@ -5544,7 +5591,7 @@ module Aws::Organizations
5544
5591
  params: params,
5545
5592
  config: config)
5546
5593
  context[:gem_name] = 'aws-sdk-organizations'
5547
- context[:gem_version] = '1.69.0'
5594
+ context[:gem_version] = '1.70.0'
5548
5595
  Seahorse::Client::Request.new(handlers, context)
5549
5596
  end
5550
5597
 
@@ -511,12 +511,24 @@ module Aws::Organizations
511
511
  # integrated with Organizations. You can designate only a member
512
512
  # account as a delegated administrator.
513
513
  #
514
+ # * CANNOT\_CLOSE\_MANAGEMENT\_ACCOUNT: You attempted to close the
515
+ # management account. To close the management account for the
516
+ # organization, you must first either remove or close all member
517
+ # accounts in the organization. Follow standard account closure
518
+ # process using root credentials.​
519
+ #
514
520
  # * CANNOT\_REMOVE\_DELEGATED\_ADMINISTRATOR\_FROM\_ORG: You attempted
515
521
  # to remove an account that is registered as a delegated administrator
516
522
  # for a service integrated with your organization. To complete this
517
523
  # operation, you must first deregister this account as a delegated
518
524
  # administrator.
519
525
  #
526
+ # * CLOSE\_ACCOUNT\_QUOTA\_EXCEEDED: You have exceeded close account
527
+ # quota for the past 30 days.
528
+ #
529
+ # * CLOSE\_ACCOUNT\_REQUESTS\_LIMIT\_EXCEEDED: You attempted to exceed
530
+ # the number of accounts that you can close at a time. ​
531
+ #
520
532
  # * CREATE\_ORGANIZATION\_IN\_BILLING\_MODE\_UNSUPPORTED\_REGION: To
521
533
  # create an organization in the specified region, you must enable all
522
534
  # features mode.
@@ -534,6 +546,12 @@ module Aws::Organizations
534
546
  # * HANDSHAKE\_RATE\_LIMIT\_EXCEEDED: You attempted to exceed the number
535
547
  # of handshakes that you can send in one day.
536
548
  #
549
+ # * INVALID\_PAYMENT\_INSTRUMENT: You cannot remove an account because
550
+ # no supported payment method is associated with the account. Amazon
551
+ # Web Services does not support cards issued by financial institutions
552
+ # in Russia or Belarus. For more information, see [Managing your
553
+ # Amazon Web Services payments][3].
554
+ #
537
555
  # * MASTER\_ACCOUNT\_ADDRESS\_DOES\_NOT\_MATCH\_MARKETPLACE: To create
538
556
  # an account in this organization, you first must migrate the
539
557
  # organization's management account to the marketplace that
@@ -554,13 +572,13 @@ module Aws::Organizations
554
572
  # * MASTER\_ACCOUNT\_NOT\_GOVCLOUD\_ENABLED: To complete this operation,
555
573
  # the management account must have an associated account in the Amazon
556
574
  # Web Services GovCloud (US-West) Region. For more information, see
557
- # [Organizations][3] in the *Amazon Web Services GovCloud User Guide.*
575
+ # [Organizations][4] in the *Amazon Web Services GovCloud User Guide.*
558
576
  #
559
577
  # * MASTER\_ACCOUNT\_PAYMENT\_INSTRUMENT\_REQUIRED: To create an
560
578
  # organization with this management account, you first must associate
561
579
  # a valid payment instrument, such as a credit card, with the account.
562
580
  # Follow the steps at [To leave an organization when all required
563
- # account information has not yet been provided][4] in the
581
+ # account information has not yet been provided][5] in the
564
582
  # *Organizations User Guide.*
565
583
  #
566
584
  # * MAX\_DELEGATED\_ADMINISTRATORS\_FOR\_SERVICE\_LIMIT\_EXCEEDED: You
@@ -578,7 +596,7 @@ module Aws::Organizations
578
596
  # operation with this member account, you first must associate a valid
579
597
  # payment instrument, such as a credit card, with the account. Follow
580
598
  # the steps at [To leave an organization when all required account
581
- # information has not yet been provided][4] in the *Organizations User
599
+ # information has not yet been provided][5] in the *Organizations User
582
600
  # Guide.*
583
601
  #
584
602
  # * MIN\_POLICY\_TYPE\_ATTACHMENT\_LIMIT\_EXCEEDED: You attempted to
@@ -620,8 +638,9 @@ module Aws::Organizations
620
638
  #
621
639
  # [1]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#orgs_manage_accounts_remove-from-master
622
640
  # [2]: https://docs.aws.amazon.com/support/home#/
623
- # [3]: https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html
624
- # [4]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info
641
+ # [3]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html
642
+ # [4]: https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html
643
+ # [5]: https://docs.aws.amazon.com/organizations/latest/userguide/orgs_manage_accounts_remove.html#leave-without-all-info
625
644
  #
626
645
  # @!attribute [rw] message
627
646
  # @return [String]
@@ -881,6 +900,13 @@ module Aws::Organizations
881
900
  # * INVALID\_EMAIL: The account could not be created because the email
882
901
  # address you provided is not valid.
883
902
  #
903
+ # * INVALID\_PAYMENT\_INSTRUMENT: The Amazon Web Services account that
904
+ # owns your organization does not have a supported payment method
905
+ # associated with the account. Amazon Web Services does not support
906
+ # cards issued by financial institutions in Russia or Belarus. For
907
+ # more information, see [Managing your Amazon Web Services
908
+ # payments][1].
909
+ #
884
910
  # * INTERNAL\_FAILURE: The account could not be created because of an
885
911
  # internal failure. Try again later. If the problem persists,
886
912
  # contact Amazon Web Services Customer Support.
@@ -898,6 +924,10 @@ module Aws::Organizations
898
924
  # * UNKNOWN\_BUSINESS\_VALIDATION: The Amazon Web Services account
899
925
  # that owns your organization has an unknown issue with business
900
926
  # license validation.
927
+ #
928
+ #
929
+ #
930
+ # [1]: https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/manage-general.html
901
931
  # @return [String]
902
932
  #
903
933
  # @see http://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/CreateAccountStatus AWS API Documentation
@@ -984,6 +1014,10 @@ module Aws::Organizations
984
1014
  #
985
1015
  # @!attribute [rw] account_name
986
1016
  # The friendly name of the member account.
1017
+ #
1018
+ # The account name can consist of only the characters
1019
+ # \[a-z\],\[A-Z\],\[0-9\], hyphen (-), or dot (.) You can't separate
1020
+ # characters with a dash (–).
987
1021
  # @return [String]
988
1022
  #
989
1023
  # @!attribute [rw] role_name
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-organizations/customizations'
48
48
  # @!group service
49
49
  module Aws::Organizations
50
50
 
51
- GEM_VERSION = '1.69.0'
51
+ GEM_VERSION = '1.70.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-organizations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.69.0
4
+ version: 1.70.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: 2022-03-29 00:00:00.000000000 Z
11
+ date: 2022-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core