Enum aws_sdk_elasticsearch::Error
source · [−]#[non_exhaustive]
pub enum Error {
AccessDeniedException(AccessDeniedException),
BaseException(BaseException),
ConflictException(ConflictException),
DisabledOperationException(DisabledOperationException),
InternalException(InternalException),
InvalidPaginationTokenException(InvalidPaginationTokenException),
InvalidTypeException(InvalidTypeException),
LimitExceededException(LimitExceededException),
ResourceAlreadyExistsException(ResourceAlreadyExistsException),
ResourceNotFoundException(ResourceNotFoundException),
ValidationException(ValidationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
All possible error types for this service.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
AccessDeniedException(AccessDeniedException)
An error occurred because user does not have permissions to access the resource. Returns HTTP status code 403.
BaseException(BaseException)
An error occurred while processing the request.
ConflictException(ConflictException)
An error occurred because the client attempts to remove a resource that is currently in use. Returns HTTP status code 409.
DisabledOperationException(DisabledOperationException)
An error occured because the client wanted to access a not supported operation. Gives http status code of 409.
InternalException(InternalException)
The request processing has failed because of an unknown error, exception or failure (the failure is internal to the service) . Gives http status code of 500.
InvalidPaginationTokenException(InvalidPaginationTokenException)
The request processing has failed because of invalid pagination token provided by customer. Returns an HTTP status code of 400.
InvalidTypeException(InvalidTypeException)
An exception for trying to create or access sub-resource that is either invalid or not supported. Gives http status code of 409.
LimitExceededException(LimitExceededException)
An exception for trying to create more than allowed resources or sub-resources. Gives http status code of 409.
ResourceAlreadyExistsException(ResourceAlreadyExistsException)
An exception for creating a resource that already exists. Gives http status code of 400.
ResourceNotFoundException(ResourceNotFoundException)
An exception for accessing or deleting a resource that does not exist. Gives http status code of 400.
ValidationException(ValidationException)
An exception for missing / invalid input fields. Gives http status code of 400.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unhandled error occurred.
Trait Implementations
sourceimpl Error for Error
impl Error for Error
1.30.0 · sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
sourceimpl<R> From<SdkError<AcceptInboundCrossClusterSearchConnectionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AcceptInboundCrossClusterSearchConnectionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<AcceptInboundCrossClusterSearchConnectionError, R>
) -> Self
fn from(
err: SdkError<AcceptInboundCrossClusterSearchConnectionError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<AddTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AddTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AddTagsError, R>) -> Self
fn from(err: SdkError<AddTagsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<AssociatePackageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AssociatePackageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AssociatePackageError, R>) -> Self
fn from(err: SdkError<AssociatePackageError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CancelElasticsearchServiceSoftwareUpdateError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CancelElasticsearchServiceSoftwareUpdateError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CancelElasticsearchServiceSoftwareUpdateError, R>) -> Self
fn from(err: SdkError<CancelElasticsearchServiceSoftwareUpdateError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateElasticsearchDomainError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateElasticsearchDomainError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateElasticsearchDomainError, R>) -> Self
fn from(err: SdkError<CreateElasticsearchDomainError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateOutboundCrossClusterSearchConnectionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateOutboundCrossClusterSearchConnectionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<CreateOutboundCrossClusterSearchConnectionError, R>
) -> Self
fn from(
err: SdkError<CreateOutboundCrossClusterSearchConnectionError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreatePackageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreatePackageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreatePackageError, R>) -> Self
fn from(err: SdkError<CreatePackageError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteElasticsearchDomainError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteElasticsearchDomainError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteElasticsearchDomainError, R>) -> Self
fn from(err: SdkError<DeleteElasticsearchDomainError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteElasticsearchServiceRoleError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteElasticsearchServiceRoleError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteElasticsearchServiceRoleError, R>) -> Self
fn from(err: SdkError<DeleteElasticsearchServiceRoleError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteInboundCrossClusterSearchConnectionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteInboundCrossClusterSearchConnectionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<DeleteInboundCrossClusterSearchConnectionError, R>
) -> Self
fn from(
err: SdkError<DeleteInboundCrossClusterSearchConnectionError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteOutboundCrossClusterSearchConnectionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteOutboundCrossClusterSearchConnectionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<DeleteOutboundCrossClusterSearchConnectionError, R>
) -> Self
fn from(
err: SdkError<DeleteOutboundCrossClusterSearchConnectionError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeletePackageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeletePackageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeletePackageError, R>) -> Self
fn from(err: SdkError<DeletePackageError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeDomainAutoTunesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeDomainAutoTunesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeDomainAutoTunesError, R>) -> Self
fn from(err: SdkError<DescribeDomainAutoTunesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeDomainChangeProgressError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeDomainChangeProgressError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeDomainChangeProgressError, R>) -> Self
fn from(err: SdkError<DescribeDomainChangeProgressError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeElasticsearchDomainConfigError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeElasticsearchDomainConfigError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeElasticsearchDomainConfigError, R>) -> Self
fn from(err: SdkError<DescribeElasticsearchDomainConfigError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeElasticsearchDomainError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeElasticsearchDomainError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeElasticsearchDomainError, R>) -> Self
fn from(err: SdkError<DescribeElasticsearchDomainError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeElasticsearchDomainsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeElasticsearchDomainsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeElasticsearchDomainsError, R>) -> Self
fn from(err: SdkError<DescribeElasticsearchDomainsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeElasticsearchInstanceTypeLimitsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeElasticsearchInstanceTypeLimitsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeElasticsearchInstanceTypeLimitsError, R>) -> Self
fn from(err: SdkError<DescribeElasticsearchInstanceTypeLimitsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeInboundCrossClusterSearchConnectionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeInboundCrossClusterSearchConnectionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<DescribeInboundCrossClusterSearchConnectionsError, R>
) -> Self
fn from(
err: SdkError<DescribeInboundCrossClusterSearchConnectionsError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeOutboundCrossClusterSearchConnectionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeOutboundCrossClusterSearchConnectionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<DescribeOutboundCrossClusterSearchConnectionsError, R>
) -> Self
fn from(
err: SdkError<DescribeOutboundCrossClusterSearchConnectionsError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribePackagesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribePackagesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribePackagesError, R>) -> Self
fn from(err: SdkError<DescribePackagesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeReservedElasticsearchInstanceOfferingsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeReservedElasticsearchInstanceOfferingsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<DescribeReservedElasticsearchInstanceOfferingsError, R>
) -> Self
fn from(
err: SdkError<DescribeReservedElasticsearchInstanceOfferingsError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeReservedElasticsearchInstancesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeReservedElasticsearchInstancesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeReservedElasticsearchInstancesError, R>) -> Self
fn from(err: SdkError<DescribeReservedElasticsearchInstancesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DissociatePackageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DissociatePackageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DissociatePackageError, R>) -> Self
fn from(err: SdkError<DissociatePackageError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetCompatibleElasticsearchVersionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetCompatibleElasticsearchVersionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetCompatibleElasticsearchVersionsError, R>) -> Self
fn from(err: SdkError<GetCompatibleElasticsearchVersionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetPackageVersionHistoryError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetPackageVersionHistoryError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetPackageVersionHistoryError, R>) -> Self
fn from(err: SdkError<GetPackageVersionHistoryError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetUpgradeHistoryError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetUpgradeHistoryError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetUpgradeHistoryError, R>) -> Self
fn from(err: SdkError<GetUpgradeHistoryError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetUpgradeStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetUpgradeStatusError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetUpgradeStatusError, R>) -> Self
fn from(err: SdkError<GetUpgradeStatusError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListDomainNamesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListDomainNamesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListDomainNamesError, R>) -> Self
fn from(err: SdkError<ListDomainNamesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListDomainsForPackageError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListDomainsForPackageError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListDomainsForPackageError, R>) -> Self
fn from(err: SdkError<ListDomainsForPackageError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListElasticsearchInstanceTypesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListElasticsearchInstanceTypesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListElasticsearchInstanceTypesError, R>) -> Self
fn from(err: SdkError<ListElasticsearchInstanceTypesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListElasticsearchVersionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListElasticsearchVersionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListElasticsearchVersionsError, R>) -> Self
fn from(err: SdkError<ListElasticsearchVersionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListPackagesForDomainError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListPackagesForDomainError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListPackagesForDomainError, R>) -> Self
fn from(err: SdkError<ListPackagesForDomainError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTagsError, R>) -> Self
fn from(err: SdkError<ListTagsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PurchaseReservedElasticsearchInstanceOfferingError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PurchaseReservedElasticsearchInstanceOfferingError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<PurchaseReservedElasticsearchInstanceOfferingError, R>
) -> Self
fn from(
err: SdkError<PurchaseReservedElasticsearchInstanceOfferingError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RejectInboundCrossClusterSearchConnectionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RejectInboundCrossClusterSearchConnectionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(
err: SdkError<RejectInboundCrossClusterSearchConnectionError, R>
) -> Self
fn from(
err: SdkError<RejectInboundCrossClusterSearchConnectionError, R>
) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<RemoveTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<RemoveTagsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<RemoveTagsError, R>) -> Self
fn from(err: SdkError<RemoveTagsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<StartElasticsearchServiceSoftwareUpdateError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartElasticsearchServiceSoftwareUpdateError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartElasticsearchServiceSoftwareUpdateError, R>) -> Self
fn from(err: SdkError<StartElasticsearchServiceSoftwareUpdateError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<UpdateElasticsearchDomainConfigError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdateElasticsearchDomainConfigError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<UpdateElasticsearchDomainConfigError, R>) -> Self
fn from(err: SdkError<UpdateElasticsearchDomainConfigError, R>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more