#[non_exhaustive]
pub enum Error { AccessDeniedException(AccessDeniedException), ConflictException(ConflictException), InternalServerException(InternalServerException), ResourceNotFoundException(ResourceNotFoundException), ServiceQuotaExceededException(ServiceQuotaExceededException), ValidationException(ValidationException), 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.
§

AccessDeniedException(AccessDeniedException)

Access to the specified resource was denied.

§

ConflictException(ConflictException)

Updating or deleting a resource can cause an inconsistent state.

§

InternalServerException(InternalServerException)

An internal service failure occurred.

§

ResourceNotFoundException(ResourceNotFoundException)

One or more resources can't be found.

§

ServiceQuotaExceededException(ServiceQuotaExceededException)

A service quota is exceeded.

§

ValidationException(ValidationException)

The input parameters for this request failed validation.

§

Unhandled(Unhandled)

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, demand: &mut Demand<'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<BatchDeleteRecipeVersionError> for Error

source§

fn from(err: BatchDeleteRecipeVersionError) -> Self

Converts to this type from the input type.
source§

impl From<CreateDatasetError> for Error

source§

fn from(err: CreateDatasetError) -> Self

Converts to this type from the input type.
source§

impl From<CreateProfileJobError> for Error

source§

fn from(err: CreateProfileJobError) -> Self

Converts to this type from the input type.
source§

impl From<CreateProjectError> for Error

source§

fn from(err: CreateProjectError) -> Self

Converts to this type from the input type.
source§

impl From<CreateRecipeError> for Error

source§

fn from(err: CreateRecipeError) -> Self

Converts to this type from the input type.
source§

impl From<CreateRecipeJobError> for Error

source§

fn from(err: CreateRecipeJobError) -> Self

Converts to this type from the input type.
source§

impl From<CreateRulesetError> for Error

source§

fn from(err: CreateRulesetError) -> Self

Converts to this type from the input type.
source§

impl From<CreateScheduleError> for Error

source§

fn from(err: CreateScheduleError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteDatasetError> for Error

source§

fn from(err: DeleteDatasetError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteJobError> for Error

source§

fn from(err: DeleteJobError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteProjectError> for Error

source§

fn from(err: DeleteProjectError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteRecipeVersionError> for Error

source§

fn from(err: DeleteRecipeVersionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteRulesetError> for Error

source§

fn from(err: DeleteRulesetError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteScheduleError> for Error

source§

fn from(err: DeleteScheduleError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeDatasetError> for Error

source§

fn from(err: DescribeDatasetError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeJobError> for Error

source§

fn from(err: DescribeJobError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeJobRunError> for Error

source§

fn from(err: DescribeJobRunError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeProjectError> for Error

source§

fn from(err: DescribeProjectError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeRecipeError> for Error

source§

fn from(err: DescribeRecipeError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeRulesetError> for Error

source§

fn from(err: DescribeRulesetError) -> Self

Converts to this type from the input type.
source§

impl From<DescribeScheduleError> for Error

source§

fn from(err: DescribeScheduleError) -> Self

Converts to this type from the input type.
source§

impl From<ListDatasetsError> for Error

source§

fn from(err: ListDatasetsError) -> Self

Converts to this type from the input type.
source§

impl From<ListJobRunsError> for Error

source§

fn from(err: ListJobRunsError) -> Self

Converts to this type from the input type.
source§

impl From<ListJobsError> for Error

source§

fn from(err: ListJobsError) -> Self

Converts to this type from the input type.
source§

impl From<ListProjectsError> for Error

source§

fn from(err: ListProjectsError) -> Self

Converts to this type from the input type.
source§

impl From<ListRecipeVersionsError> for Error

source§

fn from(err: ListRecipeVersionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListRecipesError> for Error

source§

fn from(err: ListRecipesError) -> Self

Converts to this type from the input type.
source§

impl From<ListRulesetsError> for Error

source§

fn from(err: ListRulesetsError) -> Self

Converts to this type from the input type.
source§

impl From<ListSchedulesError> for Error

source§

fn from(err: ListSchedulesError) -> 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 From<PublishRecipeError> for Error

source§

fn from(err: PublishRecipeError) -> Self

Converts to this type from the input type.
source§

impl<R> From<SdkError<BatchDeleteRecipeVersionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateDatasetError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateProfileJobError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateProjectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateRecipeError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateRecipeJobError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateRulesetError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<CreateScheduleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteDatasetError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteJobError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteProjectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteRecipeVersionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteRulesetError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DeleteScheduleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeDatasetError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeJobError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeJobRunError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeProjectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeRecipeError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeRulesetError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<DescribeScheduleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListDatasetsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListJobRunsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListJobsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListProjectsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRecipeVersionsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRecipesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListRulesetsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListSchedulesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<ListTagsForResourceError, R>> for Errorwhere 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<PublishRecipeError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<SendProjectSessionActionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<StartJobRunError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<StartProjectSessionError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<StopJobRunError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<TagResourceError, R>> for Errorwhere 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 Errorwhere 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<UpdateDatasetError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateProfileJobError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateProjectError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateRecipeError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateRecipeJobError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateRulesetError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl<R> From<SdkError<UpdateScheduleError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

impl From<SendProjectSessionActionError> for Error

source§

fn from(err: SendProjectSessionActionError) -> Self

Converts to this type from the input type.
source§

impl From<StartJobRunError> for Error

source§

fn from(err: StartJobRunError) -> Self

Converts to this type from the input type.
source§

impl From<StartProjectSessionError> for Error

source§

fn from(err: StartProjectSessionError) -> Self

Converts to this type from the input type.
source§

impl From<StopJobRunError> for Error

source§

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

source§

fn from(err: UpdateDatasetError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateProfileJobError> for Error

source§

fn from(err: UpdateProfileJobError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateProjectError> for Error

source§

fn from(err: UpdateProjectError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateRecipeError> for Error

source§

fn from(err: UpdateRecipeError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateRecipeJobError> for Error

source§

fn from(err: UpdateRecipeJobError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateRulesetError> for Error

source§

fn from(err: UpdateRulesetError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateScheduleError> for Error

source§

fn from(err: UpdateScheduleError) -> Self

Converts to this type from the input type.
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 !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 Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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<E> Provider for Ewhere E: Error + ?Sized,

source§

fn provide<'a>(&'a self, demand: &mut Demand<'a>)

🔬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
source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToString for Twhere 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 Twhere 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 Twhere 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