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