Enum rusoto_lex_models::DeleteBotAliasError [−][src]
pub enum DeleteBotAliasError { BadRequest(String), Conflict(String), InternalFailure(String), LimitExceeded(String), NotFound(String), ResourceInUse(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by DeleteBotAlias
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 DeleteBotAliasError
[src]
impl DeleteBotAliasError
pub fn from_body(body: &str) -> DeleteBotAliasError
[src]
pub fn from_body(body: &str) -> DeleteBotAliasError
Trait Implementations
impl Debug for DeleteBotAliasError
[src]
impl Debug for DeleteBotAliasError
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 DeleteBotAliasError
[src]
impl PartialEq for DeleteBotAliasError
fn eq(&self, other: &DeleteBotAliasError) -> bool
[src]
fn eq(&self, other: &DeleteBotAliasError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &DeleteBotAliasError) -> bool
[src]
fn ne(&self, other: &DeleteBotAliasError) -> bool
This method tests for !=
.
impl From<Error> for DeleteBotAliasError
[src]
impl From<Error> for DeleteBotAliasError
fn from(err: Error) -> DeleteBotAliasError
[src]
fn from(err: Error) -> DeleteBotAliasError
Performs the conversion.
impl From<CredentialsError> for DeleteBotAliasError
[src]
impl From<CredentialsError> for DeleteBotAliasError
fn from(err: CredentialsError) -> DeleteBotAliasError
[src]
fn from(err: CredentialsError) -> DeleteBotAliasError
Performs the conversion.
impl From<HttpDispatchError> for DeleteBotAliasError
[src]
impl From<HttpDispatchError> for DeleteBotAliasError
fn from(err: HttpDispatchError) -> DeleteBotAliasError
[src]
fn from(err: HttpDispatchError) -> DeleteBotAliasError
Performs the conversion.
impl From<Error> for DeleteBotAliasError
[src]
impl From<Error> for DeleteBotAliasError
fn from(err: Error) -> DeleteBotAliasError
[src]
fn from(err: Error) -> DeleteBotAliasError
Performs the conversion.
impl Display for DeleteBotAliasError
[src]
impl Display for DeleteBotAliasError
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 DeleteBotAliasError
[src]
impl Error for DeleteBotAliasError
Auto Trait Implementations
impl Send for DeleteBotAliasError
impl Send for DeleteBotAliasError
impl Sync for DeleteBotAliasError
impl Sync for DeleteBotAliasError