#[non_exhaustive]pub enum LogsErrorCode {
Show 15 variants
DataAlreadyAcceptedException,
InvalidAction,
InvalidOperationException,
InvalidParameterException,
InvalidSequenceTokenException,
LimitExceededException,
MalformedQueryException,
MissingAction,
OperationAbortedException,
ResourceAlreadyExistsException,
ResourceNotFoundException,
ServiceUnavailableException,
TooManyTagsException,
UnrecognizedClientException,
ValidationException,
}Expand description
Well-known CloudWatch Logs error codes.
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.
DataAlreadyAcceptedException
DataAlreadyAcceptedException error.
InvalidAction
InvalidAction error.
InvalidOperationException
InvalidOperationException error.
InvalidParameterException
InvalidParameterException error.
InvalidSequenceTokenException
InvalidSequenceTokenException error.
LimitExceededException
LimitExceededException error.
MalformedQueryException
MalformedQueryException error.
MissingAction
MissingAction error.
OperationAbortedException
OperationAbortedException error.
ResourceAlreadyExistsException
ResourceAlreadyExistsException error.
ResourceNotFoundException
ResourceNotFoundException error.
ServiceUnavailableException error.
TooManyTagsException
TooManyTagsException error.
UnrecognizedClientException
UnrecognizedClientException error.
ValidationException
ValidationException error.
Implementations§
Source§impl LogsErrorCode
impl LogsErrorCode
Sourcepub fn error_type(&self) -> &'static str
pub fn error_type(&self) -> &'static str
Returns the short error type string for the JSON __type field.
Sourcepub fn default_status_code(&self) -> StatusCode
pub fn default_status_code(&self) -> StatusCode
Returns the default HTTP status code for this error.
Trait Implementations§
Source§impl Clone for LogsErrorCode
impl Clone for LogsErrorCode
Source§fn clone(&self) -> LogsErrorCode
fn clone(&self) -> LogsErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LogsErrorCode
impl Debug for LogsErrorCode
Source§impl Default for LogsErrorCode
impl Default for LogsErrorCode
Source§fn default() -> LogsErrorCode
fn default() -> LogsErrorCode
Returns the “default value” for a type. Read more
Source§impl Display for LogsErrorCode
impl Display for LogsErrorCode
Source§impl Hash for LogsErrorCode
impl Hash for LogsErrorCode
Source§impl PartialEq for LogsErrorCode
impl PartialEq for LogsErrorCode
Source§fn eq(&self, other: &LogsErrorCode) -> bool
fn eq(&self, other: &LogsErrorCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for LogsErrorCode
impl Eq for LogsErrorCode
impl StructuralPartialEq for LogsErrorCode
Auto Trait Implementations§
impl Freeze for LogsErrorCode
impl RefUnwindSafe for LogsErrorCode
impl Send for LogsErrorCode
impl Sync for LogsErrorCode
impl Unpin for LogsErrorCode
impl UnsafeUnpin for LogsErrorCode
impl UnwindSafe for LogsErrorCode
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