#[non_exhaustive]
pub enum PromoteResourceShareCreatedFromPolicyErrorKind {
InvalidParameterException(InvalidParameterException),
MalformedArnException(MalformedArnException),
MissingRequiredParameterException(MissingRequiredParameterException),
OperationNotPermittedException(OperationNotPermittedException),
ResourceShareLimitExceededException(ResourceShareLimitExceededException),
ServerInternalException(ServerInternalException),
ServiceUnavailableException(ServiceUnavailableException),
UnknownResourceException(UnknownResourceException),
Unhandled(Unhandled),
}Expand description
Types of errors that can occur for the PromoteResourceShareCreatedFromPolicy operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidParameterException(InvalidParameterException)
A parameter is not valid.
MalformedArnException(MalformedArnException)
The format of an Amazon Resource Name (ARN) is not valid.
MissingRequiredParameterException(MissingRequiredParameterException)
A required input parameter is missing.
OperationNotPermittedException(OperationNotPermittedException)
The requested operation is not permitted.
This request would exceed the limit for resource shares for your account.
ServerInternalException(ServerInternalException)
The service could not respond to the request due to an internal problem.
The service is not available.
UnknownResourceException(UnknownResourceException)
A specified resource was not found.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source for more details about the underlying cause.