Enum aws_sdk_osis::Error
source · #[non_exhaustive]pub enum Error {
AccessDeniedException(AccessDeniedException),
ConflictException(ConflictException),
InternalException(InternalException),
InvalidPaginationTokenException(InvalidPaginationTokenException),
LimitExceededException(LimitExceededException),
ResourceAlreadyExistsException(ResourceAlreadyExistsException),
ResourceNotFoundException(ResourceNotFoundException),
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)
You don't have permissions to access the resource.
ConflictException(ConflictException)
The client attempted to remove a resource that is currently in use.
InternalException(InternalException)
The request failed because of an unknown error, exception, or failure (the failure is internal to the service).
InvalidPaginationTokenException(InvalidPaginationTokenException)
An invalid pagination token provided in the request.
LimitExceededException(LimitExceededException)
You attempted to create more than the allowed number of tags.
ResourceAlreadyExistsException(ResourceAlreadyExistsException)
You attempted to create a resource that already exists.
ResourceNotFoundException(ResourceNotFoundException)
You attempted to access or delete a resource that does not exist.
ValidationException(ValidationException)
An exception for missing or invalid input fields.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
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
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<CreatePipelineError> for Error
impl From<CreatePipelineError> for Error
source§fn from(err: CreatePipelineError) -> Self
fn from(err: CreatePipelineError) -> Self
Converts to this type from the input type.
source§impl From<DeletePipelineError> for Error
impl From<DeletePipelineError> for Error
source§fn from(err: DeletePipelineError) -> Self
fn from(err: DeletePipelineError) -> Self
Converts to this type from the input type.
source§impl From<GetPipelineBlueprintError> for Error
impl From<GetPipelineBlueprintError> for Error
source§fn from(err: GetPipelineBlueprintError) -> Self
fn from(err: GetPipelineBlueprintError) -> Self
Converts to this type from the input type.
source§impl From<GetPipelineChangeProgressError> for Error
impl From<GetPipelineChangeProgressError> for Error
source§fn from(err: GetPipelineChangeProgressError) -> Self
fn from(err: GetPipelineChangeProgressError) -> Self
Converts to this type from the input type.
source§impl From<GetPipelineError> for Error
impl From<GetPipelineError> for Error
source§fn from(err: GetPipelineError) -> Self
fn from(err: GetPipelineError) -> Self
Converts to this type from the input type.
source§impl From<ListPipelineBlueprintsError> for Error
impl From<ListPipelineBlueprintsError> for Error
source§fn from(err: ListPipelineBlueprintsError) -> Self
fn from(err: ListPipelineBlueprintsError) -> Self
Converts to this type from the input type.
source§impl From<ListPipelinesError> for Error
impl From<ListPipelinesError> for Error
source§fn from(err: ListPipelinesError) -> Self
fn from(err: ListPipelinesError) -> Self
Converts to this type from the input type.
source§impl From<ListTagsForResourceError> for Error
impl From<ListTagsForResourceError> for Error
source§fn from(err: ListTagsForResourceError) -> Self
fn from(err: ListTagsForResourceError) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<CreatePipelineError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreatePipelineError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<CreatePipelineError, R>) -> Self
fn from(err: SdkError<CreatePipelineError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<DeletePipelineError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeletePipelineError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<DeletePipelineError, R>) -> Self
fn from(err: SdkError<DeletePipelineError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetPipelineBlueprintError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetPipelineBlueprintError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<GetPipelineBlueprintError, R>) -> Self
fn from(err: SdkError<GetPipelineBlueprintError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetPipelineChangeProgressError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetPipelineChangeProgressError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<GetPipelineChangeProgressError, R>) -> Self
fn from(err: SdkError<GetPipelineChangeProgressError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<GetPipelineError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetPipelineError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<GetPipelineError, R>) -> Self
fn from(err: SdkError<GetPipelineError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListPipelineBlueprintsError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListPipelineBlueprintsError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListPipelineBlueprintsError, R>) -> Self
fn from(err: SdkError<ListPipelineBlueprintsError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListPipelinesError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListPipelinesError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListPipelinesError, R>) -> Self
fn from(err: SdkError<ListPipelinesError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ListTagsForResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsForResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
fn from(err: SdkError<ListTagsForResourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<StartPipelineError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartPipelineError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<StartPipelineError, R>) -> Self
fn from(err: SdkError<StartPipelineError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<StopPipelineError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StopPipelineError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<StopPipelineError, R>) -> Self
fn from(err: SdkError<StopPipelineError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<TagResourceError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<TagResourceError, R>) -> Self
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,
impl<R> From<SdkError<UntagResourceError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UntagResourceError, R>) -> Self
fn from(err: SdkError<UntagResourceError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<UpdatePipelineError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<UpdatePipelineError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<UpdatePipelineError, R>) -> Self
fn from(err: SdkError<UpdatePipelineError, R>) -> Self
Converts to this type from the input type.
source§impl<R> From<SdkError<ValidatePipelineError, R>> for Errorwhere
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ValidatePipelineError, R>> for Errorwhere R: Send + Sync + Debug + 'static,
source§fn from(err: SdkError<ValidatePipelineError, R>) -> Self
fn from(err: SdkError<ValidatePipelineError, R>) -> Self
Converts to this type from the input type.
source§impl From<StartPipelineError> for Error
impl From<StartPipelineError> for Error
source§fn from(err: StartPipelineError) -> Self
fn from(err: StartPipelineError) -> Self
Converts to this type from the input type.
source§impl From<StopPipelineError> for Error
impl From<StopPipelineError> for Error
source§fn from(err: StopPipelineError) -> Self
fn from(err: StopPipelineError) -> Self
Converts to this type from the input type.
source§impl From<TagResourceError> for Error
impl From<TagResourceError> for Error
source§fn from(err: TagResourceError) -> Self
fn from(err: TagResourceError) -> Self
Converts to this type from the input type.
source§impl From<UntagResourceError> for Error
impl From<UntagResourceError> for Error
source§fn from(err: UntagResourceError) -> Self
fn from(err: UntagResourceError) -> Self
Converts to this type from the input type.
source§impl From<UpdatePipelineError> for Error
impl From<UpdatePipelineError> for Error
source§fn from(err: UpdatePipelineError) -> Self
fn from(err: UpdatePipelineError) -> Self
Converts to this type from the input type.
source§impl From<ValidatePipelineError> for Error
impl From<ValidatePipelineError> for Error
source§fn from(err: ValidatePipelineError) -> Self
fn from(err: ValidatePipelineError) -> 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more