Enum rusoto_cognito_sync::SetCognitoEventsError [−][src]
pub enum SetCognitoEventsError { InternalError(String), InvalidParameter(String), NotAuthorized(String), ResourceNotFound(String), TooManyRequests(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by SetCognitoEvents
Variants
InternalError(String)
Indicates an internal service error.
InvalidParameter(String)
Thrown when a request parameter does not comply with the associated constraints.
NotAuthorized(String)
Thrown when a user is not authorized to access the requested resource.
ResourceNotFound(String)
Thrown if the resource doesn't exist.
TooManyRequests(String)
Thrown if the request is throttled.
HttpDispatch(HttpDispatchError)
An error occurred dispatching the HTTP request
Credentials(CredentialsError)
An error was encountered with AWS credentials.
Validation(String)
A validation error occurred. Details from AWS are provided.
Unknown(String)
An unknown error occurred. The raw HTTP response is provided.
Methods
impl SetCognitoEventsError
[src]
impl SetCognitoEventsError
pub fn from_body(body: &str) -> SetCognitoEventsError
[src]
pub fn from_body(body: &str) -> SetCognitoEventsError
Trait Implementations
impl Debug for SetCognitoEventsError
[src]
impl Debug for SetCognitoEventsError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for SetCognitoEventsError
[src]
impl PartialEq for SetCognitoEventsError
fn eq(&self, other: &SetCognitoEventsError) -> bool
[src]
fn eq(&self, other: &SetCognitoEventsError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &SetCognitoEventsError) -> bool
[src]
fn ne(&self, other: &SetCognitoEventsError) -> bool
This method tests for !=
.
impl From<Error> for SetCognitoEventsError
[src]
impl From<Error> for SetCognitoEventsError
fn from(err: Error) -> SetCognitoEventsError
[src]
fn from(err: Error) -> SetCognitoEventsError
Performs the conversion.
impl From<CredentialsError> for SetCognitoEventsError
[src]
impl From<CredentialsError> for SetCognitoEventsError
fn from(err: CredentialsError) -> SetCognitoEventsError
[src]
fn from(err: CredentialsError) -> SetCognitoEventsError
Performs the conversion.
impl From<HttpDispatchError> for SetCognitoEventsError
[src]
impl From<HttpDispatchError> for SetCognitoEventsError
fn from(err: HttpDispatchError) -> SetCognitoEventsError
[src]
fn from(err: HttpDispatchError) -> SetCognitoEventsError
Performs the conversion.
impl From<Error> for SetCognitoEventsError
[src]
impl From<Error> for SetCognitoEventsError
fn from(err: Error) -> SetCognitoEventsError
[src]
fn from(err: Error) -> SetCognitoEventsError
Performs the conversion.
impl Display for SetCognitoEventsError
[src]
impl Display for SetCognitoEventsError
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Error for SetCognitoEventsError
[src]
impl Error for SetCognitoEventsError
Auto Trait Implementations
impl Send for SetCognitoEventsError
impl Send for SetCognitoEventsError
impl Sync for SetCognitoEventsError
impl Sync for SetCognitoEventsError