#[non_exhaustive]
pub enum Error {
Show 20 variants CodeBuildNotInServiceRegionException(CodeBuildNotInServiceRegionException), ElasticBeanstalkServiceException(ElasticBeanstalkServiceException), InsufficientPrivilegesException(InsufficientPrivilegesException), InvalidRequestException(InvalidRequestException), ManagedActionInvalidStateException(ManagedActionInvalidStateException), OperationInProgressException(OperationInProgressException), PlatformVersionStillReferencedException(PlatformVersionStillReferencedException), ResourceNotFoundException(ResourceNotFoundException), ResourceTypeNotSupportedException(ResourceTypeNotSupportedException), S3LocationNotInServiceRegionException(S3LocationNotInServiceRegionException), S3SubscriptionRequiredException(S3SubscriptionRequiredException), SourceBundleDeletionException(SourceBundleDeletionException), TooManyApplicationVersionsException(TooManyApplicationVersionsException), TooManyApplicationsException(TooManyApplicationsException), TooManyBucketsException(TooManyBucketsException), TooManyConfigurationTemplatesException(TooManyConfigurationTemplatesException), TooManyEnvironmentsException(TooManyEnvironmentsException), TooManyPlatformsException(TooManyPlatformsException), TooManyTagsException(TooManyTagsException), 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.
§

CodeBuildNotInServiceRegionException(CodeBuildNotInServiceRegionException)

AWS CodeBuild is not available in the specified region.

§

ElasticBeanstalkServiceException(ElasticBeanstalkServiceException)

A generic service exception has occurred.

§

InsufficientPrivilegesException(InsufficientPrivilegesException)

The specified account does not have sufficient privileges for one or more AWS services.

§

InvalidRequestException(InvalidRequestException)

One or more input parameters is not valid. Please correct the input parameters and try the operation again.

§

ManagedActionInvalidStateException(ManagedActionInvalidStateException)

Cannot modify the managed action in its current state.

§

OperationInProgressException(OperationInProgressException)

Unable to perform the specified operation because another operation that effects an element in this activity is already in progress.

§

PlatformVersionStillReferencedException(PlatformVersionStillReferencedException)

You cannot delete the platform version because there are still environments running on it.

§

ResourceNotFoundException(ResourceNotFoundException)

A resource doesn't exist for the specified Amazon Resource Name (ARN).

§

ResourceTypeNotSupportedException(ResourceTypeNotSupportedException)

The type of the specified Amazon Resource Name (ARN) isn't supported for this operation.

§

S3LocationNotInServiceRegionException(S3LocationNotInServiceRegionException)

The specified S3 bucket does not belong to the S3 region in which the service is running. The following regions are supported:

  • IAD/us-east-1

  • PDX/us-west-2

  • DUB/eu-west-1

§

S3SubscriptionRequiredException(S3SubscriptionRequiredException)

The specified account does not have a subscription to Amazon S3.

§

SourceBundleDeletionException(SourceBundleDeletionException)

Unable to delete the Amazon S3 source bundle associated with the application version. The application version was deleted successfully.

§

TooManyApplicationVersionsException(TooManyApplicationVersionsException)

The specified account has reached its limit of application versions.

§

TooManyApplicationsException(TooManyApplicationsException)

The specified account has reached its limit of applications.

§

TooManyBucketsException(TooManyBucketsException)

The specified account has reached its limit of Amazon S3 buckets.

§

TooManyConfigurationTemplatesException(TooManyConfigurationTemplatesException)

The specified account has reached its limit of configuration templates.

§

TooManyEnvironmentsException(TooManyEnvironmentsException)

The specified account has reached its limit of environments.

§

TooManyPlatformsException(TooManyPlatformsException)

You have exceeded the maximum number of allowed platforms associated with the account.

§

TooManyTagsException(TooManyTagsException)

The number of tags in the resource would exceed the number of tags that each resource can have.

To calculate this, the operation considers both the number of tags the resource already has and the tags this operation would add if it succeeded.

§

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.

Trait Implementations§

Formats the value using the given formatter. Read more
Formats the value using the given formatter. Read more
The lower-level source of this error, if any. Read more
👎Deprecated since 1.42.0: use the Display impl or to_string()
👎Deprecated since 1.33.0: replaced by Error::source, which can support downcasting
🔬This is a nightly-only experimental API. (error_generic_member_access)
Provides type based access to context intended for error reports. Read more
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

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

Calls U::from(self).

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

🔬This is a nightly-only experimental API. (provide_any)
Data providers should implement this method to provide all values they are able to provide by using demand. Read more
Should always be Self
Converts the given value to a String. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
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