Enum aws_sdk_cloudwatchlogs::Error
source · [−]#[non_exhaustive]
pub enum Error {
DataAlreadyAcceptedException(DataAlreadyAcceptedException),
InvalidOperationException(InvalidOperationException),
InvalidParameterException(InvalidParameterException),
InvalidSequenceTokenException(InvalidSequenceTokenException),
LimitExceededException(LimitExceededException),
MalformedQueryException(MalformedQueryException),
OperationAbortedException(OperationAbortedException),
ResourceAlreadyExistsException(ResourceAlreadyExistsException),
ResourceNotFoundException(ResourceNotFoundException),
ServiceUnavailableException(ServiceUnavailableException),
UnrecognizedClientException(UnrecognizedClientException),
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
DataAlreadyAcceptedException(DataAlreadyAcceptedException)
The event was already logged.
InvalidOperationException(InvalidOperationException)
The operation is not valid on the specified resource.
InvalidParameterException(InvalidParameterException)
A parameter is specified incorrectly.
InvalidSequenceTokenException(InvalidSequenceTokenException)
The sequence token is not valid. You can get the correct sequence token in the expectedSequenceToken
field in the InvalidSequenceTokenException
message.
LimitExceededException(LimitExceededException)
You have reached the maximum number of resources that can be created.
MalformedQueryException(MalformedQueryException)
The query string is not valid. Details about this error are displayed in a QueryCompileError
object. For more information, see QueryCompileError.
For more information about valid query syntax, see CloudWatch Logs Insights Query Syntax.
OperationAbortedException(OperationAbortedException)
Multiple requests to update the same resource were in conflict.
ResourceAlreadyExistsException(ResourceAlreadyExistsException)
The specified resource already exists.
ResourceNotFoundException(ResourceNotFoundException)
The specified resource does not exist.
ServiceUnavailableException(ServiceUnavailableException)
The service cannot complete the request.
UnrecognizedClientException(UnrecognizedClientException)
The most likely cause is an invalid Amazon Web Services access key ID or secret key.
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<AssociateKmsKeyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<AssociateKmsKeyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<AssociateKmsKeyError, R>) -> Self
fn from(err: SdkError<AssociateKmsKeyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CancelExportTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CancelExportTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CancelExportTaskError, R>) -> Self
fn from(err: SdkError<CancelExportTaskError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateExportTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateExportTaskError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateExportTaskError, R>) -> Self
fn from(err: SdkError<CreateExportTaskError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateLogGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateLogGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateLogGroupError, R>) -> Self
fn from(err: SdkError<CreateLogGroupError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<CreateLogStreamError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<CreateLogStreamError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<CreateLogStreamError, R>) -> Self
fn from(err: SdkError<CreateLogStreamError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteDestinationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteDestinationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteDestinationError, R>) -> Self
fn from(err: SdkError<DeleteDestinationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteLogGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteLogGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteLogGroupError, R>) -> Self
fn from(err: SdkError<DeleteLogGroupError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteLogStreamError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteLogStreamError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteLogStreamError, R>) -> Self
fn from(err: SdkError<DeleteLogStreamError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteMetricFilterError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteMetricFilterError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteMetricFilterError, R>) -> Self
fn from(err: SdkError<DeleteMetricFilterError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteQueryDefinitionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteQueryDefinitionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteQueryDefinitionError, R>) -> Self
fn from(err: SdkError<DeleteQueryDefinitionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteResourcePolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteResourcePolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteResourcePolicyError, R>) -> Self
fn from(err: SdkError<DeleteResourcePolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteRetentionPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteRetentionPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteRetentionPolicyError, R>) -> Self
fn from(err: SdkError<DeleteRetentionPolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DeleteSubscriptionFilterError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DeleteSubscriptionFilterError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DeleteSubscriptionFilterError, R>) -> Self
fn from(err: SdkError<DeleteSubscriptionFilterError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeDestinationsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeDestinationsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeDestinationsError, R>) -> Self
fn from(err: SdkError<DescribeDestinationsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeExportTasksError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeExportTasksError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeExportTasksError, R>) -> Self
fn from(err: SdkError<DescribeExportTasksError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeLogGroupsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeLogGroupsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeLogGroupsError, R>) -> Self
fn from(err: SdkError<DescribeLogGroupsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeLogStreamsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeLogStreamsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeLogStreamsError, R>) -> Self
fn from(err: SdkError<DescribeLogStreamsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeMetricFiltersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeMetricFiltersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeMetricFiltersError, R>) -> Self
fn from(err: SdkError<DescribeMetricFiltersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeQueriesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeQueriesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeQueriesError, R>) -> Self
fn from(err: SdkError<DescribeQueriesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeQueryDefinitionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeQueryDefinitionsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeQueryDefinitionsError, R>) -> Self
fn from(err: SdkError<DescribeQueryDefinitionsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeResourcePoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeResourcePoliciesError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeResourcePoliciesError, R>) -> Self
fn from(err: SdkError<DescribeResourcePoliciesError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DescribeSubscriptionFiltersError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DescribeSubscriptionFiltersError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DescribeSubscriptionFiltersError, R>) -> Self
fn from(err: SdkError<DescribeSubscriptionFiltersError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<DisassociateKmsKeyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<DisassociateKmsKeyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<DisassociateKmsKeyError, R>) -> Self
fn from(err: SdkError<DisassociateKmsKeyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<FilterLogEventsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<FilterLogEventsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<FilterLogEventsError, R>) -> Self
fn from(err: SdkError<FilterLogEventsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetLogEventsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetLogEventsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetLogEventsError, R>) -> Self
fn from(err: SdkError<GetLogEventsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetLogGroupFieldsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetLogGroupFieldsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetLogGroupFieldsError, R>) -> Self
fn from(err: SdkError<GetLogGroupFieldsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetLogRecordError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetLogRecordError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetLogRecordError, R>) -> Self
fn from(err: SdkError<GetLogRecordError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<GetQueryResultsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<GetQueryResultsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<GetQueryResultsError, R>) -> Self
fn from(err: SdkError<GetQueryResultsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<ListTagsLogGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<ListTagsLogGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<ListTagsLogGroupError, R>) -> Self
fn from(err: SdkError<ListTagsLogGroupError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutDestinationError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutDestinationError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutDestinationError, R>) -> Self
fn from(err: SdkError<PutDestinationError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutDestinationPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutDestinationPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutDestinationPolicyError, R>) -> Self
fn from(err: SdkError<PutDestinationPolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutLogEventsError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutLogEventsError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutLogEventsError, R>) -> Self
fn from(err: SdkError<PutLogEventsError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutMetricFilterError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutMetricFilterError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutMetricFilterError, R>) -> Self
fn from(err: SdkError<PutMetricFilterError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutQueryDefinitionError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutQueryDefinitionError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutQueryDefinitionError, R>) -> Self
fn from(err: SdkError<PutQueryDefinitionError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutResourcePolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutResourcePolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutResourcePolicyError, R>) -> Self
fn from(err: SdkError<PutResourcePolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutRetentionPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutRetentionPolicyError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutRetentionPolicyError, R>) -> Self
fn from(err: SdkError<PutRetentionPolicyError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<PutSubscriptionFilterError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<PutSubscriptionFilterError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<PutSubscriptionFilterError, R>) -> Self
fn from(err: SdkError<PutSubscriptionFilterError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<StartQueryError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StartQueryError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StartQueryError, R>) -> Self
fn from(err: SdkError<StartQueryError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<StopQueryError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<StopQueryError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<StopQueryError, R>) -> Self
fn from(err: SdkError<StopQueryError, R>) -> Self
Converts to this type from the input type.
sourceimpl<R> From<SdkError<TagLogGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
impl<R> From<SdkError<TagLogGroupError, R>> for Error where
R: Send + Sync + Debug + 'static,
sourcefn from(err: SdkError<TagLogGroupError, R>) -> Self
fn from(err: SdkError<TagLogGroupError, 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