pub enum PutLogEventsError {
DataAlreadyAccepted(String),
InvalidParameter(String),
InvalidSequenceToken(String),
ResourceNotFound(String),
ServiceUnavailable(String),
UnrecognizedClient(String),
}Expand description
Errors returned by PutLogEvents
Variants§
DataAlreadyAccepted(String)
The event was already logged.
InvalidParameter(String)
A parameter is specified incorrectly.
InvalidSequenceToken(String)
The sequence token is not valid. You can get the correct sequence token in the expectedSequenceToken field in the InvalidSequenceTokenException message.
ResourceNotFound(String)
The specified resource does not exist.
The service cannot complete the request.
UnrecognizedClient(String)
The most likely cause is an invalid AWS access key ID or secret key.
Implementations§
Source§impl PutLogEventsError
impl PutLogEventsError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<PutLogEventsError>
Trait Implementations§
Source§impl Debug for PutLogEventsError
impl Debug for PutLogEventsError
Source§impl Display for PutLogEventsError
impl Display for PutLogEventsError
Source§impl Error for PutLogEventsError
impl Error for PutLogEventsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for PutLogEventsError
impl PartialEq for PutLogEventsError
impl StructuralPartialEq for PutLogEventsError
Auto Trait Implementations§
impl Freeze for PutLogEventsError
impl RefUnwindSafe for PutLogEventsError
impl Send for PutLogEventsError
impl Sync for PutLogEventsError
impl Unpin for PutLogEventsError
impl UnwindSafe for PutLogEventsError
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