Enum rusoto_organizations::ListPoliciesForTargetError [−][src]
pub enum ListPoliciesForTargetError { AWSOrganizationsNotInUse(String), AccessDenied(String), InvalidInput(String), Service(String), TargetNotFound(String), TooManyRequests(String), UnsupportedAPIEndpoint(String), }
Expand description
Errors returned by ListPoliciesForTarget
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.
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.
TargetNotFound(String)
We can't find a root, OU, account, or policy with the TargetId
that you specified.
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.
UnsupportedAPIEndpoint(String)
This action isn't available in the current AWS Region.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListPoliciesForTargetError
impl Send for ListPoliciesForTargetError
impl Sync for ListPoliciesForTargetError
impl Unpin for ListPoliciesForTargetError
impl UnwindSafe for ListPoliciesForTargetError