#[non_exhaustive]
pub enum PublishLayerVersionErrorKind {
CodeStorageExceededException(CodeStorageExceededException),
InvalidParameterValueException(InvalidParameterValueException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceException(ServiceException),
TooManyRequestsException(TooManyRequestsException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the PublishLayerVersion
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
CodeStorageExceededException(CodeStorageExceededException)
Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas.
InvalidParameterValueException(InvalidParameterValueException)
One of the parameters in the request is not valid.
ResourceNotFoundException(ResourceNotFoundException)
The resource specified in the request does not exist.
ServiceException(ServiceException)
The Lambda service encountered an internal error.
TooManyRequestsException(TooManyRequestsException)
The request throughput limit was exceeded. For more information, see Lambda quotas.
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.