Enum rusoto_lex_models::DeleteBotError
[−]
[src]
pub enum DeleteBotError { BadRequest(String), Conflict(String), InternalFailure(String), LimitExceeded(String), NotFound(String), ResourceInUse(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DeleteBot
Variants
BadRequest(String)
The request is not well formed. For example, a value is invalid or a required field is missing. Check the field values, and try again.
Conflict(String)
There was a conflict processing the request. Try your request again.
InternalFailure(String)
An internal Amazon Lex error occurred. Try your request again.
LimitExceeded(String)
The request exceeded a limit. Try your request again.
NotFound(String)
The resource specified in the request was not found. Check the resource and try again.
ResourceInUse(String)
The resource that you are attempting to delete is referred to by another resource. Use this information to remove references to the resource that you are trying to delete.
The body of the exception contains a JSON object that describes the resource.
{ "resourceType": BOT | BOTALIAS | BOTCHANNEL | INTENT,
"resourceReference": {
"name": string, "version": string } }
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 DeleteBotError
[src]
pub fn from_body(body: &str) -> DeleteBotError
[src]
Trait Implementations
impl Debug for DeleteBotError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for DeleteBotError
[src]
fn eq(&self, __arg_0: &DeleteBotError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DeleteBotError) -> bool
[src]
This method tests for !=
.
impl From<Error> for DeleteBotError
[src]
fn from(err: Error) -> DeleteBotError
[src]
Performs the conversion.
impl From<CredentialsError> for DeleteBotError
[src]
fn from(err: CredentialsError) -> DeleteBotError
[src]
Performs the conversion.
impl From<HttpDispatchError> for DeleteBotError
[src]
fn from(err: HttpDispatchError) -> DeleteBotError
[src]
Performs the conversion.
impl From<Error> for DeleteBotError
[src]
fn from(err: Error) -> DeleteBotError
[src]
Performs the conversion.
impl Display for DeleteBotError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more