#[non_exhaustive]
pub enum Error {
Show 39 variants CodeSigningConfigNotFoundException(CodeSigningConfigNotFoundException), CodeStorageExceededException(CodeStorageExceededException), CodeVerificationFailedException(CodeVerificationFailedException), Ec2AccessDeniedException(Ec2AccessDeniedException), Ec2ThrottledException(Ec2ThrottledException), Ec2UnexpectedException(Ec2UnexpectedException), EfsioException(EfsioException), EfsMountConnectivityException(EfsMountConnectivityException), EfsMountFailureException(EfsMountFailureException), EfsMountTimeoutException(EfsMountTimeoutException), EniLimitReachedException(EniLimitReachedException), InvalidCodeSignatureException(InvalidCodeSignatureException), InvalidParameterValueException(InvalidParameterValueException), InvalidRequestContentException(InvalidRequestContentException), InvalidRuntimeException(InvalidRuntimeException), InvalidSecurityGroupIdException(InvalidSecurityGroupIdException), InvalidSubnetIdException(InvalidSubnetIdException), InvalidZipFileException(InvalidZipFileException), KmsAccessDeniedException(KmsAccessDeniedException), KmsDisabledException(KmsDisabledException), KmsInvalidStateException(KmsInvalidStateException), KmsNotFoundException(KmsNotFoundException), PolicyLengthExceededException(PolicyLengthExceededException), PreconditionFailedException(PreconditionFailedException), ProvisionedConcurrencyConfigNotFoundException(ProvisionedConcurrencyConfigNotFoundException), RecursiveInvocationException(RecursiveInvocationException), RequestTooLargeException(RequestTooLargeException), ResourceConflictException(ResourceConflictException), ResourceInUseException(ResourceInUseException), ResourceNotFoundException(ResourceNotFoundException), ResourceNotReadyException(ResourceNotReadyException), ServiceException(ServiceException), SnapStartException(SnapStartException), SnapStartNotReadyException(SnapStartNotReadyException), SnapStartTimeoutException(SnapStartTimeoutException), SubnetIpAddressLimitReachedException(SubnetIpAddressLimitReachedException), TooManyRequestsException(TooManyRequestsException), UnsupportedMediaTypeException(UnsupportedMediaTypeException), Unhandled(Unhandled),
}
Expand description

All possible error types for this service.

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.
§

CodeSigningConfigNotFoundException(CodeSigningConfigNotFoundException)

The specified code signing configuration does not exist.

§

CodeStorageExceededException(CodeStorageExceededException)

Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas.

§

CodeVerificationFailedException(CodeVerificationFailedException)

The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda blocks the deployment.

§

Ec2AccessDeniedException(Ec2AccessDeniedException)

Need additional permissions to configure VPC settings.

§

Ec2ThrottledException(Ec2ThrottledException)

Amazon EC2 throttled Lambda during Lambda function initialization using the execution role provided for the function.

§

Ec2UnexpectedException(Ec2UnexpectedException)

Lambda received an unexpected Amazon EC2 client exception while setting up for the Lambda function.

§

EfsioException(EfsioException)

An error occurred when reading from or writing to a connected file system.

§

EfsMountConnectivityException(EfsMountConnectivityException)

The Lambda function couldn't make a network connection to the configured file system.

§

EfsMountFailureException(EfsMountFailureException)

The Lambda function couldn't mount the configured file system due to a permission or configuration issue.

§

EfsMountTimeoutException(EfsMountTimeoutException)

The Lambda function made a network connection to the configured file system, but the mount operation timed out.

§

EniLimitReachedException(EniLimitReachedException)

Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more information, see Lambda quotas.

§

InvalidCodeSignatureException(InvalidCodeSignatureException)

The code signature failed the integrity check. If the integrity check fails, then Lambda blocks deployment, even if the code signing policy is set to WARN.

§

InvalidParameterValueException(InvalidParameterValueException)

One of the parameters in the request is not valid.

§

InvalidRequestContentException(InvalidRequestContentException)

The request body could not be parsed as JSON.

§

InvalidRuntimeException(InvalidRuntimeException)

The runtime or runtime version specified is not supported.

§

InvalidSecurityGroupIdException(InvalidSecurityGroupIdException)

The security group ID provided in the Lambda function VPC configuration is not valid.

§

InvalidSubnetIdException(InvalidSubnetIdException)

The subnet ID provided in the Lambda function VPC configuration is not valid.

§

InvalidZipFileException(InvalidZipFileException)

Lambda could not unzip the deployment package.

§

KmsAccessDeniedException(KmsAccessDeniedException)

Lambda couldn't decrypt the environment variables because KMS access was denied. Check the Lambda function's KMS permissions.

§

KmsDisabledException(KmsDisabledException)

Lambda couldn't decrypt the environment variables because the KMS key used is disabled. Check the Lambda function's KMS key settings.

§

KmsInvalidStateException(KmsInvalidStateException)

Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.

§

KmsNotFoundException(KmsNotFoundException)

Lambda couldn't decrypt the environment variables because the KMS key was not found. Check the function's KMS key settings.

§

PolicyLengthExceededException(PolicyLengthExceededException)

The permissions policy for the resource is too large. For more information, see Lambda quotas.

§

PreconditionFailedException(PreconditionFailedException)

The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias API operation to retrieve the latest RevisionId for your resource.

§

ProvisionedConcurrencyConfigNotFoundException(ProvisionedConcurrencyConfigNotFoundException)

The specified configuration does not exist.

§

RecursiveInvocationException(RecursiveInvocationException)

Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.

§

RequestTooLargeException(RequestTooLargeException)

The request payload exceeded the Invoke request body JSON input quota. For more information, see Lambda quotas.

§

ResourceConflictException(ResourceConflictException)

The resource already exists, or another operation is in progress.

§

ResourceInUseException(ResourceInUseException)

The operation conflicts with the resource's availability. For example, you tried to update an event source mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.

§

ResourceNotFoundException(ResourceNotFoundException)

The resource specified in the request does not exist.

§

ResourceNotReadyException(ResourceNotReadyException)

The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to reestablish and try again.

§

ServiceException(ServiceException)

The Lambda service encountered an internal error.

§

SnapStartException(SnapStartException)

The afterRestore() runtime hook encountered an error. For more information, check the Amazon CloudWatch logs.

§

SnapStartNotReadyException(SnapStartNotReadyException)

Lambda is initializing your function. You can invoke the function when the function state becomes Active.

§

SnapStartTimeoutException(SnapStartTimeoutException)

Lambda couldn't restore the snapshot within the timeout limit.

§

SubnetIpAddressLimitReachedException(SubnetIpAddressLimitReachedException)

Lambda couldn't set up VPC access for the Lambda function because one or more configured subnets has no available IP addresses.

§

TooManyRequestsException(TooManyRequestsException)

The request throughput limit was exceeded. For more information, see Lambda quotas.

§

UnsupportedMediaTypeException(UnsupportedMediaTypeException)

The content type of the Invoke request body is not JSON.

§

Unhandled(Unhandled)

👎Deprecated: Matching Unhandled directly is not forwards compatible. Instead, match using a variable wildcard pattern and check .code():    err if err.code() == Some("SpecificExceptionCode") => { /* handle the error */ } See ProvideErrorMetadata for what information is available for the error.

An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).

Trait Implementations§

source§

impl Debug for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for Error

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Error for Error

source§

fn source(&self) -> Option<&(dyn Error + 'static)>

The lower-level source of this error, if any. Read more
1.0.0 · source§

fn description(&self) -> &str

👎Deprecated since 1.42.0: use the Display impl or to_string()
1.0.0 · source§

fn cause(&self) -> Option<&dyn Error>

👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
source§

fn provide<'a>(&'a self, request: &mut Request<'a>)

🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
source§

impl From<AddLayerVersionPermissionError> for Error

source§

fn from(err: AddLayerVersionPermissionError) -> Self

Converts to this type from the input type.
source§

impl From<AddPermissionError> for Error

source§

fn from(err: AddPermissionError) -> Self

Converts to this type from the input type.
source§

impl From<BuildError> for Error

source§

fn from(value: BuildError) -> Self

Converts to this type from the input type.
source§

impl From<CreateAliasError> for Error

source§

fn from(err: CreateAliasError) -> Self

Converts to this type from the input type.
source§

impl From<CreateCodeSigningConfigError> for Error

source§

fn from(err: CreateCodeSigningConfigError) -> Self

Converts to this type from the input type.
source§

impl From<CreateEventSourceMappingError> for Error

source§

fn from(err: CreateEventSourceMappingError) -> Self

Converts to this type from the input type.
source§

impl From<CreateFunctionError> for Error

source§

fn from(err: CreateFunctionError) -> Self

Converts to this type from the input type.
source§

impl From<CreateFunctionUrlConfigError> for Error

source§

fn from(err: CreateFunctionUrlConfigError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteAliasError> for Error

source§

fn from(err: DeleteAliasError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteCodeSigningConfigError> for Error

source§

fn from(err: DeleteCodeSigningConfigError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteEventSourceMappingError> for Error

source§

fn from(err: DeleteEventSourceMappingError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteFunctionCodeSigningConfigError> for Error

source§

fn from(err: DeleteFunctionCodeSigningConfigError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteFunctionConcurrencyError> for Error

source§

fn from(err: DeleteFunctionConcurrencyError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteFunctionError> for Error

source§

fn from(err: DeleteFunctionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteFunctionEventInvokeConfigError> for Error

source§

fn from(err: DeleteFunctionEventInvokeConfigError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteFunctionUrlConfigError> for Error

source§

fn from(err: DeleteFunctionUrlConfigError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteLayerVersionError> for Error

source§

fn from(err: DeleteLayerVersionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteProvisionedConcurrencyConfigError> for Error

source§

fn from(err: DeleteProvisionedConcurrencyConfigError) -> Self

Converts to this type from the input type.
source§

impl From<GetAccountSettingsError> for Error

source§

fn from(err: GetAccountSettingsError) -> Self

Converts to this type from the input type.
source§

impl From<GetAliasError> for Error

source§

fn from(err: GetAliasError) -> Self

Converts to this type from the input type.
source§

impl From<GetCodeSigningConfigError> for Error

source§

fn from(err: GetCodeSigningConfigError) -> Self

Converts to this type from the input type.
source§

impl From<GetEventSourceMappingError> for Error

source§

fn from(err: GetEventSourceMappingError) -> Self

Converts to this type from the input type.
source§

impl From<GetFunctionCodeSigningConfigError> for Error

source§

fn from(err: GetFunctionCodeSigningConfigError) -> Self

Converts to this type from the input type.
source§

impl From<GetFunctionConcurrencyError> for Error

source§

fn from(err: GetFunctionConcurrencyError) -> Self

Converts to this type from the input type.
source§

impl From<GetFunctionConfigurationError> for Error

source§

fn from(err: GetFunctionConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetFunctionError> for Error

source§

fn from(err: GetFunctionError) -> Self

Converts to this type from the input type.
source§

impl From<GetFunctionEventInvokeConfigError> for Error

source§

fn from(err: GetFunctionEventInvokeConfigError) -> Self

Converts to this type from the input type.
source§

impl From<GetFunctionUrlConfigError> for Error

source§

fn from(err: GetFunctionUrlConfigError) -> Self

Converts to this type from the input type.
source§

impl From<GetLayerVersionByArnError> for Error

source§

fn from(err: GetLayerVersionByArnError) -> Self

Converts to this type from the input type.
source§

impl From<GetLayerVersionError> for Error

source§

fn from(err: GetLayerVersionError) -> Self

Converts to this type from the input type.
source§

impl From<GetLayerVersionPolicyError> for Error

source§

fn from(err: GetLayerVersionPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<GetPolicyError> for Error

source§

fn from(err: GetPolicyError) -> Self

Converts to this type from the input type.
source§

impl From<GetProvisionedConcurrencyConfigError> for Error

source§

fn from(err: GetProvisionedConcurrencyConfigError) -> Self

Converts to this type from the input type.
source§

impl From<GetRuntimeManagementConfigError> for Error

source§

fn from(err: GetRuntimeManagementConfigError) -> Self

Converts to this type from the input type.
source§

impl From<InvokeAsyncError> for Error

source§

fn from(err: InvokeAsyncError) -> Self

Converts to this type from the input type.
source§

impl From<InvokeError> for Error

source§

fn from(err: InvokeError) -> Self

Converts to this type from the input type.
source§

impl From<InvokeWithResponseStreamError> for Error

source§

fn from(err: InvokeWithResponseStreamError) -> Self

Converts to this type from the input type.
source§

impl From<InvokeWithResponseStreamResponseEventError> for Error

source§

fn from(err: InvokeWithResponseStreamResponseEventError) -> Self

Converts to this type from the input type.
source§

impl From<ListAliasesError> for Error

source§

fn from(err: ListAliasesError) -> Self

Converts to this type from the input type.
source§

impl From<ListCodeSigningConfigsError> for Error

source§

fn from(err: ListCodeSigningConfigsError) -> Self

Converts to this type from the input type.
source§

impl From<ListEventSourceMappingsError> for Error

source§

fn from(err: ListEventSourceMappingsError) -> Self

Converts to this type from the input type.
source§

impl From<ListFunctionEventInvokeConfigsError> for Error

source§

fn from(err: ListFunctionEventInvokeConfigsError) -> Self

Converts to this type from the input type.
source§

impl From<ListFunctionUrlConfigsError> for Error

source§

fn from(err: ListFunctionUrlConfigsError) -> Self

Converts to this type from the input type.
source§

impl From<ListFunctionsByCodeSigningConfigError> for Error

source§

fn from(err: ListFunctionsByCodeSigningConfigError) -> Self

Converts to this type from the input type.
source§

impl From<ListFunctionsError> for Error

source§

fn from(err: ListFunctionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListLayerVersionsError> for Error

source§

fn from(err: ListLayerVersionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListLayersError> for Error

source§

fn from(err: ListLayersError) -> Self

Converts to this type from the input type.
source§

impl From<ListProvisionedConcurrencyConfigsError> for Error

source§

fn from(err: ListProvisionedConcurrencyConfigsError) -> Self

Converts to this type from the input type.
source§

impl From<ListTagsError> for Error

source§

fn from(err: ListTagsError) -> Self

Converts to this type from the input type.
source§

impl From<ListVersionsByFunctionError> for Error

source§

fn from(err: ListVersionsByFunctionError) -> Self

Converts to this type from the input type.
source§

impl From<PublishLayerVersionError> for Error

source§

fn from(err: PublishLayerVersionError) -> Self

Converts to this type from the input type.
source§

impl From<PublishVersionError> for Error

source§

fn from(err: PublishVersionError) -> Self

Converts to this type from the input type.
source§

impl From<PutFunctionCodeSigningConfigError> for Error

source§

fn from(err: PutFunctionCodeSigningConfigError) -> Self

Converts to this type from the input type.
source§

impl From<PutFunctionConcurrencyError> for Error

source§

fn from(err: PutFunctionConcurrencyError) -> Self

Converts to this type from the input type.
source§

impl From<PutFunctionEventInvokeConfigError> for Error

source§

fn from(err: PutFunctionEventInvokeConfigError) -> Self

Converts to this type from the input type.
source§

impl From<PutProvisionedConcurrencyConfigError> for Error

source§

fn from(err: PutProvisionedConcurrencyConfigError) -> Self

Converts to this type from the input type.
source§

impl From<PutRuntimeManagementConfigError> for Error

source§

fn from(err: PutRuntimeManagementConfigError) -> Self

Converts to this type from the input type.
source§

impl From<RemoveLayerVersionPermissionError> for Error

source§

fn from(err: RemoveLayerVersionPermissionError) -> Self

Converts to this type from the input type.
source§

impl From<RemovePermissionError> for Error

source§

fn from(err: RemovePermissionError) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AddLayerVersionPermissionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AddLayerVersionPermissionError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<AddPermissionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<AddPermissionError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateAliasError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateAliasError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateCodeSigningConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateCodeSigningConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateEventSourceMappingError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateEventSourceMappingError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateFunctionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateFunctionError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateFunctionUrlConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<CreateFunctionUrlConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteAliasError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteAliasError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteCodeSigningConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteCodeSigningConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteEventSourceMappingError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteEventSourceMappingError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteFunctionCodeSigningConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteFunctionCodeSigningConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteFunctionConcurrencyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteFunctionConcurrencyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteFunctionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteFunctionError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteFunctionEventInvokeConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteFunctionEventInvokeConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteFunctionUrlConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteFunctionUrlConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteLayerVersionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteLayerVersionError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteProvisionedConcurrencyConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<DeleteProvisionedConcurrencyConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetAccountSettingsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetAccountSettingsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetAliasError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetAliasError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetCodeSigningConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetCodeSigningConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetEventSourceMappingError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetEventSourceMappingError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetFunctionCodeSigningConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetFunctionCodeSigningConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetFunctionConcurrencyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetFunctionConcurrencyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetFunctionConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetFunctionConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetFunctionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetFunctionError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetFunctionEventInvokeConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetFunctionEventInvokeConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetFunctionUrlConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetFunctionUrlConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetLayerVersionByArnError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetLayerVersionByArnError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetLayerVersionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetLayerVersionError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetLayerVersionPolicyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetLayerVersionPolicyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetPolicyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetPolicyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetProvisionedConcurrencyConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetProvisionedConcurrencyConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<GetRuntimeManagementConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<GetRuntimeManagementConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<InvokeAsyncError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<InvokeAsyncError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<InvokeError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<InvokeError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<InvokeWithResponseStreamError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<InvokeWithResponseStreamError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<InvokeWithResponseStreamResponseEventError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<InvokeWithResponseStreamResponseEventError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListAliasesError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListAliasesError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListCodeSigningConfigsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListCodeSigningConfigsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListEventSourceMappingsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListEventSourceMappingsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListFunctionEventInvokeConfigsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListFunctionEventInvokeConfigsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListFunctionUrlConfigsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListFunctionUrlConfigsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListFunctionsByCodeSigningConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListFunctionsByCodeSigningConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListFunctionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListFunctionsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListLayerVersionsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListLayerVersionsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListLayersError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListLayersError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListProvisionedConcurrencyConfigsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListProvisionedConcurrencyConfigsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListTagsError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListTagsError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListVersionsByFunctionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<ListVersionsByFunctionError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PublishLayerVersionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PublishLayerVersionError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PublishVersionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PublishVersionError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutFunctionCodeSigningConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PutFunctionCodeSigningConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutFunctionConcurrencyError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PutFunctionConcurrencyError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutFunctionEventInvokeConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PutFunctionEventInvokeConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutProvisionedConcurrencyConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PutProvisionedConcurrencyConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<PutRuntimeManagementConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<PutRuntimeManagementConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<RemoveLayerVersionPermissionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RemoveLayerVersionPermissionError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<RemovePermissionError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RemovePermissionError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<TagResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<TagResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UntagResourceError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UntagResourceError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateAliasError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateAliasError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateCodeSigningConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateCodeSigningConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateEventSourceMappingError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateEventSourceMappingError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateFunctionCodeError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateFunctionCodeError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateFunctionConfigurationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateFunctionConfigurationError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateFunctionEventInvokeConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateFunctionEventInvokeConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateFunctionUrlConfigError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<UpdateFunctionUrlConfigError, R>) -> Self

Converts to this type from the input type.
source§

impl From<TagResourceError> for Error

source§

fn from(err: TagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UntagResourceError> for Error

source§

fn from(err: UntagResourceError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateAliasError> for Error

source§

fn from(err: UpdateAliasError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateCodeSigningConfigError> for Error

source§

fn from(err: UpdateCodeSigningConfigError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateEventSourceMappingError> for Error

source§

fn from(err: UpdateEventSourceMappingError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateFunctionCodeError> for Error

source§

fn from(err: UpdateFunctionCodeError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateFunctionConfigurationError> for Error

source§

fn from(err: UpdateFunctionConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateFunctionEventInvokeConfigError> for Error

source§

fn from(err: UpdateFunctionEventInvokeConfigError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateFunctionUrlConfigError> for Error

source§

fn from(err: UpdateFunctionUrlConfigError) -> Self

Converts to this type from the input type.
source§

impl ProvideErrorMetadata for Error

source§

fn meta(&self) -> &ErrorMetadata

Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
source§

fn code(&self) -> Option<&str>

Returns the error code if it’s available.
source§

fn message(&self) -> Option<&str>

Returns the error message, if there is one.
source§

impl RequestId for Error

source§

fn request_id(&self) -> Option<&str>

Returns the request ID, or None if the service could not be reached.

Auto Trait Implementations§

§

impl Freeze for Error

§

impl !RefUnwindSafe for Error

§

impl Send for Error

§

impl Sync for Error

§

impl Unpin for Error

§

impl !UnwindSafe for Error

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for T
where T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more