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