Enum aws_sdk_serverlessapplicationrepository::error::GetApplicationPolicyErrorKind [−][src]
#[non_exhaustive]
pub enum GetApplicationPolicyErrorKind {
BadRequestException(BadRequestException),
ForbiddenException(ForbiddenException),
InternalServerErrorException(InternalServerErrorException),
NotFoundException(NotFoundException),
TooManyRequestsException(TooManyRequestsException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the GetApplicationPolicy
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BadRequestException(BadRequestException)
One of the parameters in the request is invalid.
Tuple Fields of BadRequestException
ForbiddenException(ForbiddenException)
The client is not authenticated.
Tuple Fields of ForbiddenException
InternalServerErrorException(InternalServerErrorException)
The AWS Serverless Application Repository service encountered an internal error.
Tuple Fields of InternalServerErrorException
NotFoundException(NotFoundException)
The resource (for example, an access policy statement) specified in the request doesn't exist.
Tuple Fields of NotFoundException
TooManyRequestsException(TooManyRequestsException)
The client is sending more than the allowed number of requests per unit of time.
Tuple Fields of TooManyRequestsException
An unexpected error, eg. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for GetApplicationPolicyErrorKind
impl Send for GetApplicationPolicyErrorKind
impl Sync for GetApplicationPolicyErrorKind
impl Unpin for GetApplicationPolicyErrorKind
impl !UnwindSafe for GetApplicationPolicyErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more