Skip to content

Commit

Permalink
Updated API models and rebuilt service gems.
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Ruby authored and Nobody committed Mar 29, 2022
1 parent 60cdf69 commit 44593ed
Show file tree
Hide file tree
Showing 9 changed files with 1,072 additions and 726 deletions.
71 changes: 63 additions & 8 deletions apis/organizations/2016-11-28/api-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,27 @@
{"shape":"TooManyRequestsException"}
]
},
"CloseAccount":{
"name":"CloseAccount",
"http":{
"method":"POST",
"requestUri":"/"
},
"input":{"shape":"CloseAccountRequest"},
"errors":[
{"shape":"AccessDeniedException"},
{"shape":"AccountAlreadyClosedException"},
{"shape":"AccountNotFoundException"},
{"shape":"AWSOrganizationsNotInUseException"},
{"shape":"ConcurrentModificationException"},
{"shape":"ConflictException"},
{"shape":"ConstraintViolationException"},
{"shape":"InvalidInputException"},
{"shape":"ServiceException"},
{"shape":"TooManyRequestsException"},
{"shape":"UnsupportedAPIEndpointException"}
]
},
"CreateAccount":{
"name":"CreateAccount",
"http":{
Expand Down Expand Up @@ -1019,6 +1040,13 @@
"JoinedTimestamp":{"shape":"Timestamp"}
}
},
"AccountAlreadyClosedException":{
"type":"structure",
"members":{
"Message":{"shape":"ExceptionMessage"}
},
"exception":true
},
"AccountAlreadyRegisteredException":{
"type":"structure",
"members":{
Expand All @@ -1044,9 +1072,9 @@
},
"AccountName":{
"type":"string",
"max":50,
"max":128,
"min":1,
"pattern":"[\\u0020-\\u007E]+",
"pattern":"[\\s\\S]*",
"sensitive":true
},
"AccountNotFoundException":{
Expand Down Expand Up @@ -1074,7 +1102,8 @@
"type":"string",
"enum":[
"ACTIVE",
"SUSPENDED"
"SUSPENDED",
"PENDING_CLOSURE"
]
},
"Accounts":{
Expand Down Expand Up @@ -1152,13 +1181,27 @@
"type":"list",
"member":{"shape":"Child"}
},
"CloseAccountRequest":{
"type":"structure",
"required":["AccountId"],
"members":{
"AccountId":{"shape":"AccountId"}
}
},
"ConcurrentModificationException":{
"type":"structure",
"members":{
"Message":{"shape":"ExceptionMessage"}
},
"exception":true
},
"ConflictException":{
"type":"structure",
"members":{
"Message":{"shape":"ExceptionMessage"}
},
"exception":true
},
"ConstraintViolationException":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -1197,7 +1240,11 @@
"CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR",
"CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG",
"DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE",
"MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE"
"MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE",
"CANNOT_CLOSE_MANAGEMENT_ACCOUNT",
"CLOSE_ACCOUNT_QUOTA_EXCEEDED",
"CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED",
"SERVICE_ACCESS_NOT_ENABLED"
]
},
"CreateAccountFailureReason":{
Expand All @@ -1218,6 +1265,13 @@
"MISSING_PAYMENT_INSTRUMENT"
]
},
"CreateAccountName":{
"type":"string",
"max":50,
"min":1,
"pattern":"[\\u0020-\\u007E]+",
"sensitive":true
},
"CreateAccountRequest":{
"type":"structure",
"required":[
Expand All @@ -1226,7 +1280,7 @@
],
"members":{
"Email":{"shape":"Email"},
"AccountName":{"shape":"AccountName"},
"AccountName":{"shape":"CreateAccountName"},
"RoleName":{"shape":"RoleName"},
"IamUserAccessToBilling":{"shape":"IAMUserAccessToBilling"},
"Tags":{"shape":"Tags"}
Expand Down Expand Up @@ -1259,7 +1313,7 @@
"type":"structure",
"members":{
"Id":{"shape":"CreateAccountRequestId"},
"AccountName":{"shape":"AccountName"},
"AccountName":{"shape":"CreateAccountName"},
"State":{"shape":"CreateAccountState"},
"RequestedTimestamp":{"shape":"Timestamp"},
"CompletedTimestamp":{"shape":"Timestamp"},
Expand Down Expand Up @@ -1287,7 +1341,7 @@
],
"members":{
"Email":{"shape":"Email"},
"AccountName":{"shape":"AccountName"},
"AccountName":{"shape":"CreateAccountName"},
"RoleName":{"shape":"RoleName"},
"IamUserAccessToBilling":{"shape":"IAMUserAccessToBilling"},
"Tags":{"shape":"Tags"}
Expand Down Expand Up @@ -1712,7 +1766,8 @@
"INVITE_DISABLED_DURING_ENABLE_ALL_FEATURES",
"PAYMENT_INSTRUMENT_REQUIRED",
"ORGANIZATION_FROM_DIFFERENT_SELLER_OF_RECORD",
"ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED"
"ORGANIZATION_MEMBERSHIP_CHANGE_RATE_LIMIT_EXCEEDED",
"MANAGEMENT_ACCOUNT_EMAIL_NOT_VERIFIED"
]
},
"HandshakeFilter":{
Expand Down
250 changes: 137 additions & 113 deletions apis/organizations/2016-11-28/docs-2.json

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions gems/aws-sdk-organizations/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Unreleased Changes
------------------

1.69.0 (2022-03-29)
------------------

* Feature - This release provides the new CloseAccount API that enables principals in the management account to close any member account within an organization.

1.68.0 (2022-02-24)
------------------

Expand Down
2 changes: 1 addition & 1 deletion gems/aws-sdk-organizations/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.68.0
1.69.0
2 changes: 1 addition & 1 deletion gems/aws-sdk-organizations/lib/aws-sdk-organizations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,6 @@
# @!group service
module Aws::Organizations

GEM_VERSION = '1.68.0'
GEM_VERSION = '1.69.0'

end
Loading

0 comments on commit 44593ed

Please sign in to comment.