#[non_exhaustive]
pub enum Error { AccessDeniedException(AccessDeniedException), BadRequestException(BadRequestException), ConflictException(ConflictException), InternalServerException(InternalServerException), ResourceNotFoundException(ResourceNotFoundException), ThrottlingException(ThrottlingException), 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 do not have sufficient access to perform this action. Access denied errors appear when Amazon Security Lake explicitly or implicitly denies an authorization request. An explicit denial occurs when a policy contains a Deny statement for the specific Amazon Web Services action. An implicit denial occurs when there is no applicable Deny statement and also no applicable Allow statement.

§

BadRequestException(BadRequestException)

The request is malformed or contains an error such as an invalid parameter value or a missing required parameter.

§

ConflictException(ConflictException)

Occurs when a conflict with a previous successful write is detected. This generally occurs when the previous write did not have time to propagate to the host serving the current request. A retry (with appropriate backoff logic) is the recommended response to this exception.

§

InternalServerException(InternalServerException)

Internal service exceptions are sometimes caused by transient issues. Before you start troubleshooting, perform the operation again.

§

ResourceNotFoundException(ResourceNotFoundException)

The resource could not be found.

§

ThrottlingException(ThrottlingException)

The limit on the number of requests per second was exceeded.

§

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, 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<CreateAwsLogSourceError> for Error

source§

fn from(err: CreateAwsLogSourceError) -> Self

Converts to this type from the input type.
source§

impl From<CreateCustomLogSourceError> for Error

source§

fn from(err: CreateCustomLogSourceError) -> Self

Converts to this type from the input type.
source§

impl From<CreateDataLakeError> for Error

source§

fn from(err: CreateDataLakeError) -> Self

Converts to this type from the input type.
source§

impl From<CreateDataLakeExceptionSubscriptionError> for Error

source§

fn from(err: CreateDataLakeExceptionSubscriptionError) -> Self

Converts to this type from the input type.
source§

impl From<CreateDataLakeOrganizationConfigurationError> for Error

source§

fn from(err: CreateDataLakeOrganizationConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<CreateSubscriberError> for Error

source§

fn from(err: CreateSubscriberError) -> Self

Converts to this type from the input type.
source§

impl From<CreateSubscriberNotificationError> for Error

source§

fn from(err: CreateSubscriberNotificationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteAwsLogSourceError> for Error

source§

fn from(err: DeleteAwsLogSourceError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteCustomLogSourceError> for Error

source§

fn from(err: DeleteCustomLogSourceError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteDataLakeError> for Error

source§

fn from(err: DeleteDataLakeError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteDataLakeExceptionSubscriptionError> for Error

source§

fn from(err: DeleteDataLakeExceptionSubscriptionError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteDataLakeOrganizationConfigurationError> for Error

source§

fn from(err: DeleteDataLakeOrganizationConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteSubscriberError> for Error

source§

fn from(err: DeleteSubscriberError) -> Self

Converts to this type from the input type.
source§

impl From<DeleteSubscriberNotificationError> for Error

source§

fn from(err: DeleteSubscriberNotificationError) -> Self

Converts to this type from the input type.
source§

impl From<DeregisterDataLakeDelegatedAdministratorError> for Error

source§

fn from(err: DeregisterDataLakeDelegatedAdministratorError) -> Self

Converts to this type from the input type.
source§

impl From<GetDataLakeExceptionSubscriptionError> for Error

source§

fn from(err: GetDataLakeExceptionSubscriptionError) -> Self

Converts to this type from the input type.
source§

impl From<GetDataLakeOrganizationConfigurationError> for Error

source§

fn from(err: GetDataLakeOrganizationConfigurationError) -> Self

Converts to this type from the input type.
source§

impl From<GetDataLakeSourcesError> for Error

source§

fn from(err: GetDataLakeSourcesError) -> Self

Converts to this type from the input type.
source§

impl From<GetSubscriberError> for Error

source§

fn from(err: GetSubscriberError) -> Self

Converts to this type from the input type.
source§

impl From<ListDataLakeExceptionsError> for Error

source§

fn from(err: ListDataLakeExceptionsError) -> Self

Converts to this type from the input type.
source§

impl From<ListDataLakesError> for Error

source§

fn from(err: ListDataLakesError) -> Self

Converts to this type from the input type.
source§

impl From<ListLogSourcesError> for Error

source§

fn from(err: ListLogSourcesError) -> Self

Converts to this type from the input type.
source§

impl From<ListSubscribersError> for Error

source§

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

source§

fn from(err: RegisterDataLakeDelegatedAdministratorError) -> Self

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<ListSubscribersError, 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<RegisterDataLakeDelegatedAdministratorError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

fn from(err: SdkError<RegisterDataLakeDelegatedAdministratorError, 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<UpdateDataLakeError, R>> for Errorwhere R: Send + Sync + Debug + 'static,

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

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

Converts to this type from the input type.
source§

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

source§

fn from(err: SdkError<UpdateSubscriberNotificationError, R>) -> 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<UpdateDataLakeError> for Error

source§

fn from(err: UpdateDataLakeError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateDataLakeExceptionSubscriptionError> for Error

source§

fn from(err: UpdateDataLakeExceptionSubscriptionError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateSubscriberError> for Error

source§

fn from(err: UpdateSubscriberError) -> Self

Converts to this type from the input type.
source§

impl From<UpdateSubscriberNotificationError> for Error

source§

fn from(err: UpdateSubscriberNotificationError) -> 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<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