Enum aws_sdk_ram::Error
source · #[non_exhaustive]pub enum Error {
Show 29 variants
IdempotentParameterMismatchException(IdempotentParameterMismatchException),
InvalidClientTokenException(InvalidClientTokenException),
InvalidMaxResultsException(InvalidMaxResultsException),
InvalidNextTokenException(InvalidNextTokenException),
InvalidParameterException(InvalidParameterException),
InvalidPolicyException(InvalidPolicyException),
InvalidResourceTypeException(InvalidResourceTypeException),
InvalidStateTransitionException(InvalidStateTransitionException),
MalformedArnException(MalformedArnException),
MalformedPolicyTemplateException(MalformedPolicyTemplateException),
MissingRequiredParameterException(MissingRequiredParameterException),
OperationNotPermittedException(OperationNotPermittedException),
PermissionAlreadyExistsException(PermissionAlreadyExistsException),
PermissionLimitExceededException(PermissionLimitExceededException),
PermissionVersionsLimitExceededException(PermissionVersionsLimitExceededException),
ResourceArnNotFoundException(ResourceArnNotFoundException),
ResourceShareInvitationAlreadyAcceptedException(ResourceShareInvitationAlreadyAcceptedException),
ResourceShareInvitationAlreadyRejectedException(ResourceShareInvitationAlreadyRejectedException),
ResourceShareInvitationArnNotFoundException(ResourceShareInvitationArnNotFoundException),
ResourceShareInvitationExpiredException(ResourceShareInvitationExpiredException),
ResourceShareLimitExceededException(ResourceShareLimitExceededException),
ServerInternalException(ServerInternalException),
ServiceUnavailableException(ServiceUnavailableException),
TagLimitExceededException(TagLimitExceededException),
TagPolicyViolationException(TagPolicyViolationException),
ThrottlingException(ThrottlingException),
UnknownResourceException(UnknownResourceException),
UnmatchedPolicyPermissionException(UnmatchedPolicyPermissionException),
Unhandled(Unhandled),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
IdempotentParameterMismatchException(IdempotentParameterMismatchException)
The operation failed because the client token input parameter matched one that was used with a previous call to the operation, but at least one of the other input parameters is different from the previous call.
InvalidClientTokenException(InvalidClientTokenException)
The operation failed because the specified client token isn't valid.
InvalidMaxResultsException(InvalidMaxResultsException)
The operation failed because the specified value for MaxResults
isn't valid.
InvalidNextTokenException(InvalidNextTokenException)
The operation failed because the specified value for NextToken
isn't valid. You must specify a value you received in the NextToken
response of a previous call to this operation.
InvalidParameterException(InvalidParameterException)
The operation failed because a parameter you specified isn't valid.
InvalidPolicyException(InvalidPolicyException)
The operation failed because a policy you specified isn't valid.
InvalidResourceTypeException(InvalidResourceTypeException)
The operation failed because the specified resource type isn't valid.
InvalidStateTransitionException(InvalidStateTransitionException)
The operation failed because the requested operation isn't valid for the resource share in its current state.
MalformedArnException(MalformedArnException)
The operation failed because the specified Amazon Resource Name (ARN) has a format that isn't valid.
MalformedPolicyTemplateException(MalformedPolicyTemplateException)
The operation failed because the policy template that you provided isn't valid.
MissingRequiredParameterException(MissingRequiredParameterException)
The operation failed because a required input parameter is missing.
OperationNotPermittedException(OperationNotPermittedException)
The operation failed because the requested operation isn't permitted.
PermissionAlreadyExistsException(PermissionAlreadyExistsException)
The operation failed because a permission with the specified name already exists in the requested Amazon Web Services Region. Choose a different name.
PermissionLimitExceededException(PermissionLimitExceededException)
The operation failed because it would exceed the maximum number of permissions you can create in each Amazon Web Services Region. To view the limits for your Amazon Web Services account, see the RAM page in the Service Quotas console.
PermissionVersionsLimitExceededException(PermissionVersionsLimitExceededException)
The operation failed because it would exceed the limit for the number of versions you can have for a permission. To view the limits for your Amazon Web Services account, see the RAM page in the Service Quotas console.
ResourceArnNotFoundException(ResourceArnNotFoundException)
The operation failed because the specified Amazon Resource Name (ARN) was not found.
The operation failed because the specified invitation was already accepted.
The operation failed because the specified invitation was already rejected.
The operation failed because the specified Amazon Resource Name (ARN) for an invitation was not found.
The operation failed because the specified invitation is past its expiration date and time.
The operation failed because it would exceed the limit for resource shares for your account. To view the limits for your Amazon Web Services account, see the RAM page in the Service Quotas console.
ServerInternalException(ServerInternalException)
The operation failed because the service could not respond to the request due to an internal problem. Try again later.
The operation failed because the service isn't available. Try again later.
TagLimitExceededException(TagLimitExceededException)
The operation failed because it would exceed the limit for tags for your Amazon Web Services account.
TagPolicyViolationException(TagPolicyViolationException)
The operation failed because the specified tag key is a reserved word and can't be used.
ThrottlingException(ThrottlingException)
The operation failed because it exceeded the rate at which you are allowed to perform this operation. Please try again later.
UnknownResourceException(UnknownResourceException)
The operation failed because a specified resource couldn't be found.
UnmatchedPolicyPermissionException(UnmatchedPolicyPermissionException)
There isn't an existing managed permission defined in RAM that has the same IAM permissions as the resource-based policy attached to the resource. You should first run PromotePermissionCreatedFromPolicy
to create that managed permission.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).