pub enum EnableAllFeaturesError {
AWSOrganizationsNotInUse(String),
AccessDenied(String),
ConcurrentModification(String),
HandshakeConstraintViolation(String),
InvalidInput(String),
Service(String),
TooManyRequests(String),
}
Expand description
Errors returned by EnableAllFeatures
Variants
AWSOrganizationsNotInUse(String)
Your account isn't a member of an organization. To make this request, you must use the credentials of an account that belongs to an organization.
AccessDenied(String)
You don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access Management in the IAM User Guide.
ConcurrentModification(String)
The target of the operation is currently being modified by a different request. Try again later.
HandshakeConstraintViolation(String)
The requested operation would violate the constraint identified in the reason code.
Some of the reasons in the following list might not be applicable to this specific API or operation:
-
ACCOUNTNUMBERLIMITEXCEEDED: You attempted to exceed the limit on the number of accounts in an organization. Note that deleted and closed accounts still count toward your limit.
If you get this exception 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.
-
ALREADYINANORGANIZATION: The handshake request is invalid because the invited account is already a member of an organization.
-
HANDSHAKERATELIMITEXCEEDED: You attempted to exceed the number of handshakes that you can send in one day.
-
INVITEDISABLEDDURINGENABLEALLFEATURES: You can't issue new invitations to join an organization while it's in the process of enabling all features. You can resume inviting accounts after you finalize the process when all accounts have agreed to the change.
-
ORGANIZATIONALREADYHASALLFEATURES: The handshake request is invalid because the organization has already enabled all features.
-
ORGANIZATIONISALREADYPENDINGALLFEATURESMIGRATION: The handshake request is invalid because the organization has already started the process to enable all features.
-
ORGANIZATIONFROMDIFFERENTSELLEROFRECORD: The request failed because the account is from a different marketplace than the accounts in the organization. For example, accounts with India addresses must be associated with the AISPL marketplace. All accounts in an organization must be from the same marketplace.
-
ORGANIZATIONMEMBERSHIPCHANGERATELIMITEXCEEDED: You attempted to change the membership of an account too quickly after its previous change.
-
PAYMENTINSTRUMENTREQUIRED: You can't complete the operation with an account that doesn't have a payment instrument, such as a credit card, associated with it.
InvalidInput(String)
The requested operation failed because you provided invalid values for one or more of the request parameters. 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.
-
DUPLICATETAGKEY: Tag keys must be unique among the tags attached to the same entity.
-
IMMUTABLEPOLICY: You specified a policy that is managed by AWS and can't be modified.
-
INPUTREQUIRED: You must include a value for all required parameters.
-
INVALIDEMAILADDRESSTARGET: You specified an invalid email address for the invited account owner.
-
INVALIDENUM: You specified an invalid value.
-
INVALIDENUMPOLICYTYPE: You specified an invalid policy type string.
-
INVALIDFULLNAMETARGET: You specified a full name that contains invalid characters.
-
INVALIDLISTMEMBER: You provided a list to a parameter that contains at least one invalid value.
-
INVALIDPAGINATIONTOKEN: Get the value for the
NextToken
parameter from the response to a previous call of the operation. -
INVALIDPARTYTYPETARGET: You specified the wrong type of entity (account, organization, or email) as a party.
-
INVALIDPATTERN: You provided a value that doesn't match the required pattern.
-
INVALIDPATTERNTARGETID: You specified a policy target ID that doesn't match the required pattern.
-
INVALIDROLENAME: You provided a role name that isn't valid. A role name can't begin with the reserved prefix
AWSServiceRoleFor
. -
INVALIDSYNTAXORGANIZATIONARN: You specified an invalid Amazon Resource Name (ARN) for the organization.
-
INVALIDSYNTAXPOLICYID: You specified an invalid policy ID.
-
INVALIDSYSTEMTAGSPARAMETER: You specified a tag key that is a system tag. You can’t add, edit, or delete system tag keys because they're reserved for AWS use. System tags don’t count against your tags per resource limit.
-
MAXFILTERLIMITEXCEEDED: You can specify only one filter parameter for the operation.
-
MAXLENGTHEXCEEDED: You provided a string parameter that is longer than allowed.
-
MAXVALUEEXCEEDED: You provided a numeric parameter that has a larger value than allowed.
-
MINLENGTHEXCEEDED: You provided a string parameter that is shorter than allowed.
-
MINVALUEEXCEEDED: You provided a numeric parameter that has a smaller value than allowed.
-
MOVINGACCOUNTBETWEENDIFFERENTROOTS: You can move an account only between entities in the same root.
-
TARGETNOTSUPPORTED: You can't perform the specified operation on that target entity.
-
UNRECOGNIZEDSERVICE_PRINCIPAL: You specified a service principal that isn't recognized.
Service(String)
AWS Organizations can't complete your request because of an internal service error. Try again later.
TooManyRequests(String)
You have sent too many requests in too short a period of time. The quota helps protect against denial-of-service attacks. Try again later.
For information about quotas that affect AWS Organizations, see Quotas for AWS Organizationsin the AWS Organizations User Guide.
Implementations
sourceimpl EnableAllFeaturesError
impl EnableAllFeaturesError
pub fn from_response(
res: BufferedHttpResponse
) -> RusotoError<EnableAllFeaturesError>
Trait Implementations
sourceimpl Debug for EnableAllFeaturesError
impl Debug for EnableAllFeaturesError
sourceimpl Display for EnableAllFeaturesError
impl Display for EnableAllFeaturesError
sourceimpl Error for EnableAllFeaturesError
impl Error for EnableAllFeaturesError
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl PartialEq<EnableAllFeaturesError> for EnableAllFeaturesError
impl PartialEq<EnableAllFeaturesError> for EnableAllFeaturesError
sourcefn eq(&self, other: &EnableAllFeaturesError) -> bool
fn eq(&self, other: &EnableAllFeaturesError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EnableAllFeaturesError) -> bool
fn ne(&self, other: &EnableAllFeaturesError) -> bool
This method tests for !=
.
impl StructuralPartialEq for EnableAllFeaturesError
Auto Trait Implementations
impl RefUnwindSafe for EnableAllFeaturesError
impl Send for EnableAllFeaturesError
impl Sync for EnableAllFeaturesError
impl Unpin for EnableAllFeaturesError
impl UnwindSafe for EnableAllFeaturesError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more