Enum aws_sdk_kinesisanalytics::Error

source ·
#[non_exhaustive]
pub enum Error {
Show 13 variants CodeValidationException(CodeValidationException), ConcurrentModificationException(ConcurrentModificationException), InvalidApplicationConfigurationException(InvalidApplicationConfigurationException), InvalidArgumentException(InvalidArgumentException), LimitExceededException(LimitExceededException), ResourceInUseException(ResourceInUseException), ResourceNotFoundException(ResourceNotFoundException), ResourceProvisionedThroughputExceededException(ResourceProvisionedThroughputExceededException), ServiceUnavailableException(ServiceUnavailableException), TooManyTagsException(TooManyTagsException), UnableToDetectSchemaException(UnableToDetectSchemaException), UnsupportedOperationException(UnsupportedOperationException), 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.
§

CodeValidationException(CodeValidationException)

User-provided application code (query) is invalid. This can be a simple syntax error.

§

ConcurrentModificationException(ConcurrentModificationException)

Exception thrown as a result of concurrent modification to an application. For example, two individuals attempting to edit the same application at the same time.

§

InvalidApplicationConfigurationException(InvalidApplicationConfigurationException)

User-provided application configuration is not valid.

§

InvalidArgumentException(InvalidArgumentException)

Specified input parameter value is invalid.

§

LimitExceededException(LimitExceededException)

Exceeded the number of applications allowed.

§

ResourceInUseException(ResourceInUseException)

Application is not available for this operation.

§

ResourceNotFoundException(ResourceNotFoundException)

Specified application can't be found.

§

ResourceProvisionedThroughputExceededException(ResourceProvisionedThroughputExceededException)

Discovery failed to get a record from the streaming source because of the Amazon Kinesis Streams ProvisionedThroughputExceededException. For more information, see GetRecords in the Amazon Kinesis Streams API Reference.

§

ServiceUnavailableException(ServiceUnavailableException)

The service is unavailable. Back off and retry the operation.

§

TooManyTagsException(TooManyTagsException)

Application created with too many tags, or too many tags added to an application. Note that the maximum number of application tags includes system tags. The maximum number of user-defined application tags is 50.

§

UnableToDetectSchemaException(UnableToDetectSchemaException)

Data format is not valid. Amazon Kinesis Analytics is not able to detect schema for the given streaming source.

§

UnsupportedOperationException(UnsupportedOperationException)

The request was rejected because a specified parameter is not supported or a specified resource is not valid for this operation.

§

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<AddApplicationCloudWatchLoggingOptionError> for Error

source§

fn from(err: AddApplicationCloudWatchLoggingOptionError) -> Self

Converts to this type from the input type.
source§

impl From<AddApplicationInputError> for Error

source§

fn from(err: AddApplicationInputError) -> Self

Converts to this type from the input type.
source§

impl From<AddApplicationInputProcessingConfigurationError> for Error

source§

fn from(err: AddApplicationInputProcessingConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<AddApplicationOutputError> for Error

source§

fn from(err: AddApplicationOutputError) -> Self

Converts to this type from the input type.
source§

impl From<AddApplicationReferenceDataSourceError> for Error

source§

fn from(err: AddApplicationReferenceDataSourceError) -> 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<CreateApplicationError> for Error

source§

fn from(err: CreateApplicationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteApplicationCloudWatchLoggingOptionError> for Error

source§

fn from(err: DeleteApplicationCloudWatchLoggingOptionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteApplicationError> for Error

source§

fn from(err: DeleteApplicationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteApplicationInputProcessingConfigurationError> for Error

source§

fn from(err: DeleteApplicationInputProcessingConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteApplicationOutputError> for Error

source§

fn from(err: DeleteApplicationOutputError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteApplicationReferenceDataSourceError> for Error

source§

fn from(err: DeleteApplicationReferenceDataSourceError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeApplicationError> for Error

source§

fn from(err: DescribeApplicationError) -> Self

Converts to this type from the input type.
source§

impl From<DiscoverInputSchemaError> for Error

source§

fn from(err: DiscoverInputSchemaError) -> Self

Converts to this type from the input type.
source§

impl From<ListApplicationsError> for Error

source§

fn from(err: ListApplicationsError) -> Self

Converts to this type from the input type.
source§

impl From<ListTagsForResourceError> for Error

source§

fn from(err: ListTagsForResourceError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<StopApplicationError, 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<UpdateApplicationError, R>> for Error
where R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl From<StartApplicationError> for Error

source§

fn from(err: StartApplicationError) -> Self

Converts to this type from the input type.
source§

impl From<StopApplicationError> for Error

source§

fn from(err: StopApplicationError) -> 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<UpdateApplicationError> for Error

source§

fn from(err: UpdateApplicationError) -> 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<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
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