diff --git a/CHANGELOG.md b/CHANGELOG.md
index cc04fecf223..b84cc469cd2 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,11 @@
+Release v1.32.8 (2020-06-23)
+===
+
+### Service Client Updates
+* `service/mediatailor`: Updates service API and documentation
+* `service/organizations`: Updates service API and documentation
+ * Added a new error message to support the requirement for a Business License on AWS accounts in China to create an organization.
+
Release v1.32.7 (2020-06-22)
===
diff --git a/aws/endpoints/defaults.go b/aws/endpoints/defaults.go
index 710d551cf9a..4936931462c 100644
--- a/aws/endpoints/defaults.go
+++ b/aws/endpoints/defaults.go
@@ -3473,12 +3473,36 @@ var awsPartition = partition{
"eu-west-1": endpoint{},
"eu-west-2": endpoint{},
"eu-west-3": endpoint{},
- "me-south-1": endpoint{},
- "sa-east-1": endpoint{},
- "us-east-1": endpoint{},
- "us-east-2": endpoint{},
- "us-west-1": endpoint{},
- "us-west-2": endpoint{},
+ "fips-us-east-1": endpoint{
+ Hostname: "logs-fips.us-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-east-1",
+ },
+ },
+ "fips-us-east-2": endpoint{
+ Hostname: "logs-fips.us-east-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-east-2",
+ },
+ },
+ "fips-us-west-1": endpoint{
+ Hostname: "logs-fips.us-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-west-1",
+ },
+ },
+ "fips-us-west-2": endpoint{
+ Hostname: "logs-fips.us-west-2.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-west-2",
+ },
+ },
+ "me-south-1": endpoint{},
+ "sa-east-1": endpoint{},
+ "us-east-1": endpoint{},
+ "us-east-2": endpoint{},
+ "us-west-1": endpoint{},
+ "us-west-2": endpoint{},
},
},
"machinelearning": service{
@@ -7758,8 +7782,18 @@ var awsusgovPartition = partition{
"logs": service{
Endpoints: endpoints{
- "us-gov-east-1": endpoint{},
- "us-gov-west-1": endpoint{},
+ "us-gov-east-1": endpoint{
+ Hostname: "logs.us-gov-east-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-east-1",
+ },
+ },
+ "us-gov-west-1": endpoint{
+ Hostname: "logs.us-gov-west-1.amazonaws.com",
+ CredentialScope: credentialScope{
+ Region: "us-gov-west-1",
+ },
+ },
},
},
"mediaconvert": service{
diff --git a/aws/version.go b/aws/version.go
index c0506123d84..2e36c2f1a0a 100644
--- a/aws/version.go
+++ b/aws/version.go
@@ -5,4 +5,4 @@ package aws
const SDKName = "aws-sdk-go"
// SDKVersion is the version of this SDK
-const SDKVersion = "1.32.7"
+const SDKVersion = "1.32.8"
diff --git a/models/apis/mediatailor/2018-04-23/api-2.json b/models/apis/mediatailor/2018-04-23/api-2.json
index 1af22e03fb0..e3d1e4e0c12 100644
--- a/models/apis/mediatailor/2018-04-23/api-2.json
+++ b/models/apis/mediatailor/2018-04-23/api-2.json
@@ -125,17 +125,17 @@
}
},
"shapes": {
- "AvailSuppression" : {
- "type" : "structure",
- "members" : {
- "Mode" : {
- "shape" : "Mode"
- },
- "Value" : {
- "shape" : "__string"
- }
+ "AvailSuppression": {
+ "type": "structure",
+ "members": {
+ "Mode": {
+ "shape": "Mode"
+ },
+ "Value": {
+ "shape": "__string"
}
- },
+ }
+ },
"BadRequestException": {
"error": {
"httpStatusCode": 400
@@ -148,6 +148,17 @@
},
"type": "structure"
},
+ "Bumper": {
+ "type": "structure",
+ "members": {
+ "EndUrl": {
+ "shape": "__string"
+ },
+ "StartUrl": {
+ "shape": "__string"
+ }
+ }
+ },
"CdnConfiguration": {
"members": {
"AdSegmentUrlPrefix": {
@@ -219,8 +230,11 @@
"AdDecisionServerUrl": {
"shape": "__string"
},
- "AvailSuppression" : {
- "shape" : "AvailSuppression"
+ "AvailSuppression": {
+ "shape": "AvailSuppression"
+ },
+ "Bumper": {
+ "shape": "Bumper"
},
"CdnConfiguration": {
"shape": "CdnConfiguration"
@@ -251,7 +265,7 @@
},
"SlateAdUrl": {
"shape": "__string"
- },
+ },
"Tags": {
"locationName": "tags",
"shape": "__mapOf__string"
@@ -329,17 +343,17 @@
"type": "string"
},
"Mode": {
- "enum": [
- "OFF",
- "BEHIND_LIVE_EDGE"
- ],
- "type": "string"
+ "enum": [
+ "OFF",
+ "BEHIND_LIVE_EDGE"
+ ],
+ "type": "string"
},
"PlaybackConfiguration": {
"members": {
"AdDecisionServerUrl": {
"shape": "__string"
- },
+ },
"CdnConfiguration": {
"shape": "CdnConfiguration"
},
@@ -396,8 +410,11 @@
"AdDecisionServerUrl": {
"shape": "__string"
},
- "AvailSuppression" : {
- "shape" : "AvailSuppression"
+ "AvailSuppression": {
+ "shape": "AvailSuppression"
+ },
+ "Bumper": {
+ "shape": "Bumper"
},
"CdnConfiguration": {
"shape": "CdnConfiguration"
@@ -416,7 +433,7 @@
},
"SlateAdUrl": {
"shape": "__string"
- },
+ },
"Tags": {
"locationName": "tags",
"shape": "__mapOf__string"
@@ -435,15 +452,18 @@
"AdDecisionServerUrl": {
"shape": "__string"
},
- "AvailSuppression" : {
- "shape" : "AvailSuppression"
+ "AvailSuppression": {
+ "shape": "AvailSuppression"
+ },
+ "Bumper": {
+ "shape": "Bumper"
},
"CdnConfiguration": {
"shape": "CdnConfiguration"
},
"DashConfiguration": {
"shape": "DashConfiguration"
- },
+ },
"HlsConfiguration": {
"shape": "HlsConfiguration"
},
diff --git a/models/apis/mediatailor/2018-04-23/docs-2.json b/models/apis/mediatailor/2018-04-23/docs-2.json
index e7785d6fa38..67562507c9a 100644
--- a/models/apis/mediatailor/2018-04-23/docs-2.json
+++ b/models/apis/mediatailor/2018-04-23/docs-2.json
@@ -10,17 +10,24 @@
},
"service": "
Use the AWS Elemental MediaTailor SDK to configure scalable ad insertion for your live and VOD content. With AWS Elemental MediaTailor, you can serve targeted ads to viewers while maintaining broadcast quality in over-the-top (OTT) video applications. For information about using the service, including detailed information about the settings covered in this guide, see the AWS Elemental MediaTailor User Guide.
Through the SDK, you manage AWS Elemental MediaTailor configurations the same as you do through the console. For example, you specify ad insertion behavior and mapping information for the origin server and the ad decision server (ADS).
",
"shapes": {
- "AvailSuppression" : {
- "base" : null,
- "refs" : {
- "GetPlaybackConfigurationResponse$AvailSuppression" : "The configuration for Avail Suppression.
",
- "PutPlaybackConfigurationRequest$AvailSuppression" : "The configuration for Avail Suppression.
"
+ "AvailSuppression": {
+ "base": null,
+ "refs": {
+ "GetPlaybackConfigurationResponse$AvailSuppression": "The configuration for Avail Suppression.
",
+ "PutPlaybackConfigurationRequest$AvailSuppression": "The configuration for Avail Suppression.
"
}
},
"BadRequestException": {
"base": "One of the parameters in the request is invalid.
",
"refs": {}
},
+ "Bumper": {
+ "base": "The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break.
",
+ "refs": {
+ "GetPlaybackConfigurationResponse$Bumper": "The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break.
",
+ "PutPlaybackConfigurationRequest$Bumper": "The configuration for bumpers. Bumpers are short audio or video clips that play at the start or before the end of an ad break.
"
+ }
+ },
"CdnConfiguration": {
"base": "The configuration for using a content delivery network (CDN), like Amazon CloudFront, for content and ad segment management.
",
"refs": {
diff --git a/models/apis/organizations/2016-11-28/api-2.json b/models/apis/organizations/2016-11-28/api-2.json
index 519d74970ca..fc3ff7c2815 100644
--- a/models/apis/organizations/2016-11-28/api-2.json
+++ b/models/apis/organizations/2016-11-28/api-2.json
@@ -428,7 +428,8 @@
{"shape":"ConstraintViolationException"},
{"shape":"InvalidInputException"},
{"shape":"ServiceException"},
- {"shape":"TooManyRequestsException"}
+ {"shape":"TooManyRequestsException"},
+ {"shape":"UnsupportedAPIEndpointException"}
]
},
"DisablePolicyType":{
@@ -467,7 +468,8 @@
{"shape":"ConstraintViolationException"},
{"shape":"InvalidInputException"},
{"shape":"ServiceException"},
- {"shape":"TooManyRequestsException"}
+ {"shape":"TooManyRequestsException"},
+ {"shape":"UnsupportedAPIEndpointException"}
]
},
"EnableAllFeatures":{
@@ -564,7 +566,8 @@
{"shape":"ConstraintViolationException"},
{"shape":"InvalidInputException"},
{"shape":"ServiceException"},
- {"shape":"TooManyRequestsException"}
+ {"shape":"TooManyRequestsException"},
+ {"shape":"UnsupportedAPIEndpointException"}
]
},
"ListAccounts":{
@@ -1190,7 +1193,8 @@
"MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED",
"CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR",
"CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG",
- "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE"
+ "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE",
+ "MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE"
]
},
"CreateAccountFailureReason":{
diff --git a/models/apis/organizations/2016-11-28/docs-2.json b/models/apis/organizations/2016-11-28/docs-2.json
index 340a212ec90..72f6a566ef8 100644
--- a/models/apis/organizations/2016-11-28/docs-2.json
+++ b/models/apis/organizations/2016-11-28/docs-2.json
@@ -238,7 +238,7 @@
}
},
"ConstraintViolationException": {
- "base": "Performing this operation violates a minimum or maximum value limit. For example, attempting to remove the last service control policy (SCP) from an OU or root, inviting or creating too many accounts to the organization, or attaching too many policies to an account, OU, or root. This exception includes a reason that contains additional information about the violated limit.
Some of the reasons in the following list might not be applicable to this specific API or operation:
-
ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account from the organization that doesn't yet have enough information to exist as a standalone account. This account requires you to first agree to the AWS Customer Agreement. Follow the steps at To leave an organization when all required account information has not yet been provided in the AWS Organizations User Guide.
-
ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove an account from the organization that doesn't yet have enough information to exist as a standalone account. This account requires you to first complete phone verification. Follow the steps at To leave an organization when all required account information has not yet been provided in the AWS Organizations User Guide.
-
ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of accounts that you can create in one day.
-
ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number of accounts in an organization. If you need more accounts, contact AWS Support to request an increase in your limit.
Or the number of invitations that you tried to send would cause you to exceed the limit of accounts in your organization. Send fewer invitations or contact AWS Support to request an increase in the number of accounts.
Deleted and closed accounts still count toward your limit.
If you get receive this exception when running a command immediately after creating the organization, wait one hour and try again. If after an hour it continues to fail with this error, contact AWS Support.
-
CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate only a member account as a delegated administrator.
-
CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation, you must first deregister this account as a delegated administrator.
-
DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation, you must first deregister all delegated administrators for this service.
-
HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of handshakes that you can send in one day.
-
MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's master account to the marketplace that corresponds to the master account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace.
-
MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must first provide contact a valid address and phone number for the master account. Then try the operation again.
-
MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the master account must have an associated account in the AWS GovCloud (US-West) Region. For more information, see AWS Organizations in the AWS GovCloud User Guide.
-
MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization with this master account, you first must associate a valid payment instrument, such as a credit card, with the account. Follow the steps at To leave an organization when all required account information has not yet been provided in the AWS Organizations User Guide.
-
MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted to register more delegated administrators than allowed for the service principal.
-
MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the number of policies of a certain type that can be attached to an entity at one time.
-
MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed on this resource.
-
MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation with this member account, you first must associate a valid payment instrument, such as a credit card, with the account. Follow the steps at To leave an organization when all required account information has not yet been provided in the AWS Organizations User Guide.
-
MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a policy from an entity that would cause the entity to have fewer than the minimum number of policies of a certain type required.
-
OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is too many levels deep.
-
ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation that requires the organization to be configured to support all features. An organization that supports only consolidated billing features can't perform this operation.
-
OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs that you can have in an organization.
-
POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of policies that you can have in an organization.
",
+ "base": "Performing this operation violates a minimum or maximum value limit. For example, attempting to remove the last service control policy (SCP) from an OU or root, inviting or creating too many accounts to the organization, or attaching too many policies to an account, OU, or root. This exception includes a reason that contains additional information about the violated limit.
Some of the reasons in the following list might not be applicable to this specific API or operation:
-
ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master account from the organization. You can't remove the master account. Instead, after you remove all member accounts, delete the organization itself.
-
ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account from the organization that doesn't yet have enough information to exist as a standalone account. This account requires you to first agree to the AWS Customer Agreement. Follow the steps at To leave an organization when all required account information has not yet been provided in the AWS Organizations User Guide.
-
ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove an account from the organization that doesn't yet have enough information to exist as a standalone account. This account requires you to first complete phone verification. Follow the steps at To leave an organization when all required account information has not yet been provided in the AWS Organizations User Guide.
-
ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of accounts that you can create in one day.
-
ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number of accounts in an organization. If you need more accounts, contact AWS Support to request an increase in your limit.
Or the number of invitations that you tried to send would cause you to exceed the limit of accounts in your organization. Send fewer invitations or contact AWS Support to request an increase in the number of accounts.
Deleted and closed accounts still count toward your limit.
If you get receive this exception when running a command immediately after creating the organization, wait one hour and try again. If after an hour it continues to fail with this error, contact AWS Support.
-
CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to register the master account of the organization as a delegated administrator for an AWS service integrated with Organizations. You can designate only a member account as a delegated administrator.
-
CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove an account that is registered as a delegated administrator for a service integrated with your organization. To complete this operation, you must first deregister this account as a delegated administrator.
-
CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an organization in the specified region, you must enable all features mode.
-
DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register an AWS account as a delegated administrator for an AWS service that already has a delegated administrator. To complete this operation, you must first deregister any existing delegated administrators for this service.
-
EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for a limited period of time. You must resubmit the request and generate a new verfication code.
-
HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of handshakes that you can send in one day.
-
MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's master account to the marketplace that corresponds to the master account's address. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be associated with the same marketplace.
-
MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions in China. To create an organization, the master must have an valid business license. For more information, contact customer support.
-
MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must first provide contact a valid address and phone number for the master account. Then try the operation again.
-
MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the master account must have an associated account in the AWS GovCloud (US-West) Region. For more information, see AWS Organizations in the AWS GovCloud User Guide.
-
MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization with this master account, you first must associate a valid payment instrument, such as a credit card, with the account. Follow the steps at To leave an organization when all required account information has not yet been provided in the AWS Organizations User Guide.
-
MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted to register more delegated administrators than allowed for the service principal.
-
MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the number of policies of a certain type that can be attached to an entity at one time.
-
MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed on this resource.
-
MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation with this member account, you first must associate a valid payment instrument, such as a credit card, with the account. Follow the steps at To leave an organization when all required account information has not yet been provided in the AWS Organizations User Guide.
-
MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a policy from an entity that would cause the entity to have fewer than the minimum number of policies of a certain type required.
-
ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation that requires the organization to be configured to support all features. An organization that supports only consolidated billing features can't perform this operation.
-
OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is too many levels deep.
-
OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs that you can have in an organization.
-
POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that is larger than the maximum size.
-
POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of policies that you can have in an organization.
-
TAG_POLICY_VIOLATION: You attempted to create or update a resource with tags that are not compliant with the tag policy requirements for this account.
",
"refs": {
}
},
diff --git a/models/endpoints/endpoints.json b/models/endpoints/endpoints.json
index d635402c31b..fd515dc5ffa 100644
--- a/models/endpoints/endpoints.json
+++ b/models/endpoints/endpoints.json
@@ -3311,6 +3311,30 @@
"eu-west-1" : { },
"eu-west-2" : { },
"eu-west-3" : { },
+ "fips-us-east-1" : {
+ "credentialScope" : {
+ "region" : "us-east-1"
+ },
+ "hostname" : "logs-fips.us-east-1.amazonaws.com"
+ },
+ "fips-us-east-2" : {
+ "credentialScope" : {
+ "region" : "us-east-2"
+ },
+ "hostname" : "logs-fips.us-east-2.amazonaws.com"
+ },
+ "fips-us-west-1" : {
+ "credentialScope" : {
+ "region" : "us-west-1"
+ },
+ "hostname" : "logs-fips.us-west-1.amazonaws.com"
+ },
+ "fips-us-west-2" : {
+ "credentialScope" : {
+ "region" : "us-west-2"
+ },
+ "hostname" : "logs-fips.us-west-2.amazonaws.com"
+ },
"me-south-1" : { },
"sa-east-1" : { },
"us-east-1" : { },
@@ -7395,8 +7419,18 @@
},
"logs" : {
"endpoints" : {
- "us-gov-east-1" : { },
- "us-gov-west-1" : { }
+ "us-gov-east-1" : {
+ "credentialScope" : {
+ "region" : "us-gov-east-1"
+ },
+ "hostname" : "logs.us-gov-east-1.amazonaws.com"
+ },
+ "us-gov-west-1" : {
+ "credentialScope" : {
+ "region" : "us-gov-west-1"
+ },
+ "hostname" : "logs.us-gov-west-1.amazonaws.com"
+ }
}
},
"mediaconvert" : {
diff --git a/service/mediatailor/api.go b/service/mediatailor/api.go
index df15cf97924..b2cee4caff6 100644
--- a/service/mediatailor/api.go
+++ b/service/mediatailor/api.go
@@ -645,6 +645,38 @@ func (s *BadRequestException) RequestID() string {
return s.RespMetadata.RequestID
}
+// The configuration for bumpers. Bumpers are short audio or video clips that
+// play at the start or before the end of an ad break.
+type Bumper struct {
+ _ struct{} `type:"structure"`
+
+ EndUrl *string `type:"string"`
+
+ StartUrl *string `type:"string"`
+}
+
+// String returns the string representation
+func (s Bumper) String() string {
+ return awsutil.Prettify(s)
+}
+
+// GoString returns the string representation
+func (s Bumper) GoString() string {
+ return s.String()
+}
+
+// SetEndUrl sets the EndUrl field's value.
+func (s *Bumper) SetEndUrl(v string) *Bumper {
+ s.EndUrl = &v
+ return s
+}
+
+// SetStartUrl sets the StartUrl field's value.
+func (s *Bumper) SetStartUrl(v string) *Bumper {
+ s.StartUrl = &v
+ return s
+}
+
// The configuration for using a content delivery network (CDN), like Amazon
// CloudFront, for content and ad segment management.
type CdnConfiguration struct {
@@ -891,6 +923,10 @@ type GetPlaybackConfigurationOutput struct {
// The configuration for Avail Suppression.
AvailSuppression *AvailSuppression `type:"structure"`
+ // The configuration for bumpers. Bumpers are short audio or video clips that
+ // play at the start or before the end of an ad break.
+ Bumper *Bumper `type:"structure"`
+
// The configuration for using a content delivery network (CDN), like Amazon
// CloudFront, for content and ad segment management.
CdnConfiguration *CdnConfiguration `type:"structure"`
@@ -964,6 +1000,12 @@ func (s *GetPlaybackConfigurationOutput) SetAvailSuppression(v *AvailSuppression
return s
}
+// SetBumper sets the Bumper field's value.
+func (s *GetPlaybackConfigurationOutput) SetBumper(v *Bumper) *GetPlaybackConfigurationOutput {
+ s.Bumper = v
+ return s
+}
+
// SetCdnConfiguration sets the CdnConfiguration field's value.
func (s *GetPlaybackConfigurationOutput) SetCdnConfiguration(v *CdnConfiguration) *GetPlaybackConfigurationOutput {
s.CdnConfiguration = v
@@ -1380,6 +1422,10 @@ type PutPlaybackConfigurationInput struct {
// The configuration for Avail Suppression.
AvailSuppression *AvailSuppression `type:"structure"`
+ // The configuration for bumpers. Bumpers are short audio or video clips that
+ // play at the start or before the end of an ad break.
+ Bumper *Bumper `type:"structure"`
+
// The configuration for using a content delivery network (CDN), like Amazon
// CloudFront, for content and ad segment management.
CdnConfiguration *CdnConfiguration `type:"structure"`
@@ -1452,6 +1498,12 @@ func (s *PutPlaybackConfigurationInput) SetAvailSuppression(v *AvailSuppression)
return s
}
+// SetBumper sets the Bumper field's value.
+func (s *PutPlaybackConfigurationInput) SetBumper(v *Bumper) *PutPlaybackConfigurationInput {
+ s.Bumper = v
+ return s
+}
+
// SetCdnConfiguration sets the CdnConfiguration field's value.
func (s *PutPlaybackConfigurationInput) SetCdnConfiguration(v *CdnConfiguration) *PutPlaybackConfigurationInput {
s.CdnConfiguration = v
@@ -1513,6 +1565,10 @@ type PutPlaybackConfigurationOutput struct {
AvailSuppression *AvailSuppression `type:"structure"`
+ // The configuration for bumpers. Bumpers are short audio or video clips that
+ // play at the start or before the end of an ad break.
+ Bumper *Bumper `type:"structure"`
+
// The configuration for using a content delivery network (CDN), like Amazon
// CloudFront, for content and ad segment management.
CdnConfiguration *CdnConfiguration `type:"structure"`
@@ -1565,6 +1621,12 @@ func (s *PutPlaybackConfigurationOutput) SetAvailSuppression(v *AvailSuppression
return s
}
+// SetBumper sets the Bumper field's value.
+func (s *PutPlaybackConfigurationOutput) SetBumper(v *Bumper) *PutPlaybackConfigurationOutput {
+ s.Bumper = v
+ return s
+}
+
// SetCdnConfiguration sets the CdnConfiguration field's value.
func (s *PutPlaybackConfigurationOutput) SetCdnConfiguration(v *CdnConfiguration) *PutPlaybackConfigurationOutput {
s.CdnConfiguration = v
diff --git a/service/organizations/api.go b/service/organizations/api.go
index 627e054c1f2..3feef22a5a7 100644
--- a/service/organizations/api.go
+++ b/service/organizations/api.go
@@ -373,6 +373,10 @@ func (c *Organizations) AttachPolicyRequest(input *AttachPolicyInput) (req *requ
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -402,14 +406,27 @@ func (c *Organizations) AttachPolicyRequest(input *AttachPolicyInput) (req *requ
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
+//
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -421,6 +438,10 @@ func (c *Organizations) AttachPolicyRequest(input *AttachPolicyInput) (req *requ
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -459,20 +480,27 @@ func (c *Organizations) AttachPolicyRequest(input *AttachPolicyInput) (req *requ
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * DuplicatePolicyAttachmentException
// The selected policy is already attached to the specified target.
//
@@ -920,6 +948,10 @@ func (c *Organizations) CreateAccountRequest(input *CreateAccountInput) (req *re
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -949,14 +981,27 @@ func (c *Organizations) CreateAccountRequest(input *CreateAccountInput) (req *re
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
+//
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -968,6 +1013,10 @@ func (c *Organizations) CreateAccountRequest(input *CreateAccountInput) (req *re
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -1006,20 +1055,27 @@ func (c *Organizations) CreateAccountRequest(input *CreateAccountInput) (req *re
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -1306,6 +1362,10 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -1335,14 +1395,27 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
+//
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -1354,6 +1427,10 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -1392,20 +1469,27 @@ func (c *Organizations) CreateGovCloudAccountRequest(input *CreateGovCloudAccoun
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -1606,6 +1690,10 @@ func (c *Organizations) CreateOrganizationRequest(input *CreateOrganizationInput
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -1635,14 +1723,27 @@ func (c *Organizations) CreateOrganizationRequest(input *CreateOrganizationInput
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
+//
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -1654,6 +1755,10 @@ func (c *Organizations) CreateOrganizationRequest(input *CreateOrganizationInput
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -1692,20 +1797,27 @@ func (c *Organizations) CreateOrganizationRequest(input *CreateOrganizationInput
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -1898,6 +2010,10 @@ func (c *Organizations) CreateOrganizationalUnitRequest(input *CreateOrganizatio
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -1927,14 +2043,27 @@ func (c *Organizations) CreateOrganizationalUnitRequest(input *CreateOrganizatio
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
+//
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -1946,6 +2075,10 @@ func (c *Organizations) CreateOrganizationalUnitRequest(input *CreateOrganizatio
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -1984,20 +2117,27 @@ func (c *Organizations) CreateOrganizationalUnitRequest(input *CreateOrganizatio
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * DuplicateOrganizationalUnitException
// An OU with the same name already exists.
//
@@ -2188,6 +2328,10 @@ func (c *Organizations) CreatePolicyRequest(input *CreatePolicyInput) (req *requ
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -2217,14 +2361,27 @@ func (c *Organizations) CreatePolicyRequest(input *CreatePolicyInput) (req *requ
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
+//
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -2236,6 +2393,10 @@ func (c *Organizations) CreatePolicyRequest(input *CreatePolicyInput) (req *requ
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -2274,20 +2435,27 @@ func (c *Organizations) CreatePolicyRequest(input *CreatePolicyInput) (req *requ
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * DuplicatePolicyException
// A policy with the same name already exists.
//
@@ -3220,6 +3388,10 @@ func (c *Organizations) DeregisterDelegatedAdministratorRequest(input *Deregiste
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -3249,14 +3421,27 @@ func (c *Organizations) DeregisterDelegatedAdministratorRequest(input *Deregiste
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
+//
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -3268,6 +3453,10 @@ func (c *Organizations) DeregisterDelegatedAdministratorRequest(input *Deregiste
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -3306,20 +3495,27 @@ func (c *Organizations) DeregisterDelegatedAdministratorRequest(input *Deregiste
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -3852,6 +4048,10 @@ func (c *Organizations) DescribeEffectivePolicyRequest(input *DescribeEffectiveP
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -3881,14 +4081,27 @@ func (c *Organizations) DescribeEffectivePolicyRequest(input *DescribeEffectiveP
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
+//
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -3900,6 +4113,10 @@ func (c *Organizations) DescribeEffectivePolicyRequest(input *DescribeEffectiveP
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -3938,20 +4155,27 @@ func (c *Organizations) DescribeEffectivePolicyRequest(input *DescribeEffectiveP
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * ServiceException
// AWS Organizations can't complete your request because of an internal service
// error. Try again later.
@@ -4782,6 +5006,10 @@ func (c *Organizations) DetachPolicyRequest(input *DetachPolicyInput) (req *requ
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -4811,14 +5039,27 @@ func (c *Organizations) DetachPolicyRequest(input *DetachPolicyInput) (req *requ
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
+//
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -4830,6 +5071,10 @@ func (c *Organizations) DetachPolicyRequest(input *DetachPolicyInput) (req *requ
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -4868,20 +5113,27 @@ func (c *Organizations) DetachPolicyRequest(input *DetachPolicyInput) (req *requ
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -5103,6 +5355,10 @@ func (c *Organizations) DisableAWSServiceAccessRequest(input *DisableAWSServiceA
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -5132,14 +5388,27 @@ func (c *Organizations) DisableAWSServiceAccessRequest(input *DisableAWSServiceA
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
+//
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -5151,6 +5420,10 @@ func (c *Organizations) DisableAWSServiceAccessRequest(input *DisableAWSServiceA
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -5189,20 +5462,27 @@ func (c *Organizations) DisableAWSServiceAccessRequest(input *DisableAWSServiceA
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -5279,6 +5559,9 @@ func (c *Organizations) DisableAWSServiceAccessRequest(input *DisableAWSServiceA
// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)
// in the AWS Organizations User Guide.
//
+// * UnsupportedAPIEndpointException
+// This action isn't available in the current Region.
+//
// See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/DisableAWSServiceAccess
func (c *Organizations) DisableAWSServiceAccess(input *DisableAWSServiceAccessInput) (*DisableAWSServiceAccessOutput, error) {
req, out := c.DisableAWSServiceAccessRequest(input)
@@ -5396,6 +5679,10 @@ func (c *Organizations) DisablePolicyTypeRequest(input *DisablePolicyTypeInput)
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -5425,14 +5712,27 @@ func (c *Organizations) DisablePolicyTypeRequest(input *DisablePolicyTypeInput)
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
+//
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -5444,6 +5744,10 @@ func (c *Organizations) DisablePolicyTypeRequest(input *DisablePolicyTypeInput)
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -5482,20 +5786,27 @@ func (c *Organizations) DisablePolicyTypeRequest(input *DisablePolicyTypeInput)
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -5711,6 +6022,10 @@ func (c *Organizations) EnableAWSServiceAccessRequest(input *EnableAWSServiceAcc
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -5740,14 +6055,27 @@ func (c *Organizations) EnableAWSServiceAccessRequest(input *EnableAWSServiceAcc
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
+//
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -5759,6 +6087,10 @@ func (c *Organizations) EnableAWSServiceAccessRequest(input *EnableAWSServiceAcc
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -5797,20 +6129,27 @@ func (c *Organizations) EnableAWSServiceAccessRequest(input *EnableAWSServiceAcc
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -5887,6 +6226,9 @@ func (c *Organizations) EnableAWSServiceAccessRequest(input *EnableAWSServiceAcc
// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)
// in the AWS Organizations User Guide.
//
+// * UnsupportedAPIEndpointException
+// This action isn't available in the current Region.
+//
// See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/EnableAWSServiceAccess
func (c *Organizations) EnableAWSServiceAccess(input *EnableAWSServiceAccessInput) (*EnableAWSServiceAccessOutput, error) {
req, out := c.EnableAWSServiceAccessRequest(input)
@@ -6238,6 +6580,10 @@ func (c *Organizations) EnablePolicyTypeRequest(input *EnablePolicyTypeInput) (r
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -6267,14 +6613,27 @@ func (c *Organizations) EnablePolicyTypeRequest(input *EnablePolicyTypeInput) (r
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
+//
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -6286,6 +6645,10 @@ func (c *Organizations) EnablePolicyTypeRequest(input *EnablePolicyTypeInput) (r
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -6324,20 +6687,27 @@ func (c *Organizations) EnablePolicyTypeRequest(input *EnablePolicyTypeInput) (r
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -6814,6 +7184,10 @@ func (c *Organizations) LeaveOrganizationRequest(input *LeaveOrganizationInput)
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -6843,14 +7217,27 @@ func (c *Organizations) LeaveOrganizationRequest(input *LeaveOrganizationInput)
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
+//
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -6862,6 +7249,10 @@ func (c *Organizations) LeaveOrganizationRequest(input *LeaveOrganizationInput)
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -6900,20 +7291,27 @@ func (c *Organizations) LeaveOrganizationRequest(input *LeaveOrganizationInput)
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -7110,6 +7508,10 @@ func (c *Organizations) ListAWSServiceAccessForOrganizationRequest(input *ListAW
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -7139,14 +7541,27 @@ func (c *Organizations) ListAWSServiceAccessForOrganizationRequest(input *ListAW
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
+//
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
+//
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -7158,6 +7573,10 @@ func (c *Organizations) ListAWSServiceAccessForOrganizationRequest(input *ListAW
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -7196,20 +7615,27 @@ func (c *Organizations) ListAWSServiceAccessForOrganizationRequest(input *ListAW
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -7286,6 +7712,9 @@ func (c *Organizations) ListAWSServiceAccessForOrganizationRequest(input *ListAW
// Organizations (https://docs.aws.amazon.com/organizations/latest/userguide/orgs_reference_limits.html)
// in the AWS Organizations User Guide.
//
+// * UnsupportedAPIEndpointException
+// This action isn't available in the current Region.
+//
// See also, https://docs.aws.amazon.com/goto/WebAPI/organizations-2016-11-28/ListAWSServiceAccessForOrganization
func (c *Organizations) ListAWSServiceAccessForOrganization(input *ListAWSServiceAccessForOrganizationInput) (*ListAWSServiceAccessForOrganizationOutput, error) {
req, out := c.ListAWSServiceAccessForOrganizationRequest(input)
@@ -8380,6 +8809,10 @@ func (c *Organizations) ListDelegatedAdministratorsRequest(input *ListDelegatedA
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -8409,14 +8842,27 @@ func (c *Organizations) ListDelegatedAdministratorsRequest(input *ListDelegatedA
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
+//
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -8428,6 +8874,10 @@ func (c *Organizations) ListDelegatedAdministratorsRequest(input *ListDelegatedA
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -8466,20 +8916,27 @@ func (c *Organizations) ListDelegatedAdministratorsRequest(input *ListDelegatedA
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -8726,6 +9183,10 @@ func (c *Organizations) ListDelegatedServicesForAccountRequest(input *ListDelega
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -8755,14 +9216,27 @@ func (c *Organizations) ListDelegatedServicesForAccountRequest(input *ListDelega
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
+//
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
+//
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -8774,6 +9248,10 @@ func (c *Organizations) ListDelegatedServicesForAccountRequest(input *ListDelega
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -8812,20 +9290,27 @@ func (c *Organizations) ListDelegatedServicesForAccountRequest(input *ListDelega
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -11377,6 +11862,10 @@ func (c *Organizations) RegisterDelegatedAdministratorRequest(input *RegisterDel
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -11406,14 +11895,27 @@ func (c *Organizations) RegisterDelegatedAdministratorRequest(input *RegisterDel
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
+//
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -11425,6 +11927,10 @@ func (c *Organizations) RegisterDelegatedAdministratorRequest(input *RegisterDel
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -11463,20 +11969,27 @@ func (c *Organizations) RegisterDelegatedAdministratorRequest(input *RegisterDel
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -11688,6 +12201,10 @@ func (c *Organizations) RemoveAccountFromOrganizationRequest(input *RemoveAccoun
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -11717,14 +12234,27 @@ func (c *Organizations) RemoveAccountFromOrganizationRequest(input *RemoveAccoun
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
+//
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -11736,6 +12266,10 @@ func (c *Organizations) RemoveAccountFromOrganizationRequest(input *RemoveAccoun
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -11774,20 +12308,27 @@ func (c *Organizations) RemoveAccountFromOrganizationRequest(input *RemoveAccoun
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -11979,6 +12520,10 @@ func (c *Organizations) TagResourceRequest(input *TagResourceInput) (req *reques
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -12008,14 +12553,27 @@ func (c *Organizations) TagResourceRequest(input *TagResourceInput) (req *reques
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
+//
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
+//
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -12027,6 +12585,10 @@ func (c *Organizations) TagResourceRequest(input *TagResourceInput) (req *reques
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -12065,20 +12627,27 @@ func (c *Organizations) TagResourceRequest(input *TagResourceInput) (req *reques
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -12265,6 +12834,10 @@ func (c *Organizations) UntagResourceRequest(input *UntagResourceInput) (req *re
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -12294,14 +12867,27 @@ func (c *Organizations) UntagResourceRequest(input *UntagResourceInput) (req *re
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
+//
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -12313,6 +12899,10 @@ func (c *Organizations) UntagResourceRequest(input *UntagResourceInput) (req *re
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -12351,20 +12941,27 @@ func (c *Organizations) UntagResourceRequest(input *UntagResourceInput) (req *re
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * InvalidInputException
// The requested operation failed because you provided invalid values for one
// or more of the request parameters. This exception includes a reason that
@@ -12724,6 +13321,10 @@ func (c *Organizations) UpdatePolicyRequest(input *UpdatePolicyInput) (req *requ
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -12753,14 +13354,27 @@ func (c *Organizations) UpdatePolicyRequest(input *UpdatePolicyInput) (req *requ
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
+//
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
+//
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -12772,6 +13386,10 @@ func (c *Organizations) UpdatePolicyRequest(input *UpdatePolicyInput) (req *requ
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -12810,20 +13428,27 @@ func (c *Organizations) UpdatePolicyRequest(input *UpdatePolicyInput) (req *requ
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
+//
// * DuplicatePolicyException
// A policy with the same name already exists.
//
@@ -13878,6 +14503,10 @@ func (s *ConcurrentModificationException) RequestID() string {
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+// * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+// account from the organization. You can't remove the master account. Instead,
+// after you remove all member accounts, delete the organization itself.
+//
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -13907,14 +14536,27 @@ func (s *ConcurrentModificationException) RequestID() string {
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
-// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
-// only a member account as a delegated administrator.
+// * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+// register the master account of the organization as a delegated administrator
+// for an AWS service integrated with Organizations. You can designate only
+// a member account as a delegated administrator.
//
-// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
-// you must first deregister this account as a delegated administrator.
+// * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+// an account that is registered as a delegated administrator for a service
+// integrated with your organization. To complete this operation, you must
+// first deregister this account as a delegated administrator.
//
-// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
-// you must first deregister all delegated administrators for this service.
+// * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+// organization in the specified region, you must enable all features mode.
+//
+// * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+// an AWS account as a delegated administrator for an AWS service that already
+// has a delegated administrator. To complete this operation, you must first
+// deregister any existing delegated administrators for this service.
+//
+// * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+// valid for a limited period of time. You must resubmit the request and
+// generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -13926,6 +14568,10 @@ func (s *ConcurrentModificationException) RequestID() string {
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+// * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+// in China. To create an organization, the master must have an valid business
+// license. For more information, contact customer support.
+//
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -13964,19 +14610,26 @@ func (s *ConcurrentModificationException) RequestID() string {
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
-// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
-// too many levels deep.
-//
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+// * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+// too many levels deep.
+//
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
-// * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+// * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+// is larger than the maximum size.
+//
+// * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
+//
+// * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+// tags that are not compliant with the tag policy requirements for this
+// account.
type ConstraintViolationException struct {
_ struct{} `type:"structure"`
RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
@@ -21412,6 +22065,9 @@ const (
// ConstraintViolationExceptionReasonDelegatedAdministratorExistsForThisService is a ConstraintViolationExceptionReason enum value
ConstraintViolationExceptionReasonDelegatedAdministratorExistsForThisService = "DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE"
+
+ // ConstraintViolationExceptionReasonMasterAccountMissingBusinessLicense is a ConstraintViolationExceptionReason enum value
+ ConstraintViolationExceptionReasonMasterAccountMissingBusinessLicense = "MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE"
)
const (
diff --git a/service/organizations/errors.go b/service/organizations/errors.go
index 8ad7420f57b..ae36c7a5730 100644
--- a/service/organizations/errors.go
+++ b/service/organizations/errors.go
@@ -96,6 +96,10 @@ const (
// Some of the reasons in the following list might not be applicable to this
// specific API or operation:
//
+ // * ACCOUNT_CANNOT_LEAVE_ORGANIZAION: You attempted to remove the master
+ // account from the organization. You can't remove the master account. Instead,
+ // after you remove all member accounts, delete the organization itself.
+ //
// * ACCOUNT_CANNOT_LEAVE_WITHOUT_EULA: You attempted to remove an account
// from the organization that doesn't yet have enough information to exist
// as a standalone account. This account requires you to first agree to the
@@ -125,14 +129,27 @@ const (
// try again. If after an hour it continues to fail with this error, contact
// AWS Support (https://console.aws.amazon.com/support/home#/).
//
- // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You can designate
- // only a member account as a delegated administrator.
+ // * CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to
+ // register the master account of the organization as a delegated administrator
+ // for an AWS service integrated with Organizations. You can designate only
+ // a member account as a delegated administrator.
+ //
+ // * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove
+ // an account that is registered as a delegated administrator for a service
+ // integrated with your organization. To complete this operation, you must
+ // first deregister this account as a delegated administrator.
+ //
+ // * CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an
+ // organization in the specified region, you must enable all features mode.
//
- // * CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: To complete this operation,
- // you must first deregister this account as a delegated administrator.
+ // * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register
+ // an AWS account as a delegated administrator for an AWS service that already
+ // has a delegated administrator. To complete this operation, you must first
+ // deregister any existing delegated administrators for this service.
//
- // * DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: To complete this operation,
- // you must first deregister all delegated administrators for this service.
+ // * EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only
+ // valid for a limited period of time. You must resubmit the request and
+ // generate a new verfication code.
//
// * HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of
// handshakes that you can send in one day.
@@ -144,6 +161,10 @@ const (
// AISPL marketplace. All accounts in an organization must be associated
// with the same marketplace.
//
+ // * MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the AWS Regions
+ // in China. To create an organization, the master must have an valid business
+ // license. For more information, contact customer support.
+ //
// * MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you
// must first provide contact a valid address and phone number for the master
// account. Then try the operation again.
@@ -182,19 +203,26 @@ const (
// policy from an entity that would cause the entity to have fewer than the
// minimum number of policies of a certain type required.
//
- // * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
- // too many levels deep.
- //
// * ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation
// that requires the organization to be configured to support all features.
// An organization that supports only consolidated billing features can't
// perform this operation.
//
+ // * OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is
+ // too many levels deep.
+ //
// * OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs
// that you can have in an organization.
//
- // * POLICY_NUMBER_LIMIT_EXCEEDED. You attempted to exceed the number of
+ // * POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that
+ // is larger than the maximum size.
+ //
+ // * POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of
// policies that you can have in an organization.
+ //
+ // * TAG_POLICY_VIOLATION: You attempted to create or update a resource with
+ // tags that are not compliant with the tag policy requirements for this
+ // account.
ErrCodeConstraintViolationException = "ConstraintViolationException"
// ErrCodeCreateAccountStatusNotFoundException for service response error code