Enum rusoto_lambda::CreateAliasError [−][src]
pub enum CreateAliasError {
InvalidParameterValue(String),
ResourceConflict(String),
ResourceNotFound(String),
Service(String),
TooManyRequests(String),
HttpDispatch(HttpDispatchError),
Credentials(CredentialsError),
Validation(String),
Unknown(String),
}Errors returned by CreateAlias
Variants
InvalidParameterValue(String)One of the parameters in the request is invalid. For example, if you provided an IAM role for AWS Lambda to assume in the CreateFunction or the UpdateFunctionConfiguration API, that AWS Lambda is unable to assume you will get this exception.
ResourceConflict(String)The resource already exists.
ResourceNotFound(String)The resource (for example, a Lambda function or access policy statement) specified in the request does not exist.
Service(String)The AWS Lambda service encountered an internal error.
TooManyRequests(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 CreateAliasError[src]
impl CreateAliasErrorpub fn from_body(body: &str) -> CreateAliasError[src]
pub fn from_body(body: &str) -> CreateAliasErrorTrait Implementations
impl Debug for CreateAliasError[src]
impl Debug for CreateAliasErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for CreateAliasError[src]
impl PartialEq for CreateAliasErrorfn eq(&self, other: &CreateAliasError) -> bool[src]
fn eq(&self, other: &CreateAliasError) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &CreateAliasError) -> bool[src]
fn ne(&self, other: &CreateAliasError) -> boolThis method tests for !=.
impl From<Error> for CreateAliasError[src]
impl From<Error> for CreateAliasErrorfn from(err: Error) -> CreateAliasError[src]
fn from(err: Error) -> CreateAliasErrorPerforms the conversion.
impl From<CredentialsError> for CreateAliasError[src]
impl From<CredentialsError> for CreateAliasErrorfn from(err: CredentialsError) -> CreateAliasError[src]
fn from(err: CredentialsError) -> CreateAliasErrorPerforms the conversion.
impl From<HttpDispatchError> for CreateAliasError[src]
impl From<HttpDispatchError> for CreateAliasErrorfn from(err: HttpDispatchError) -> CreateAliasError[src]
fn from(err: HttpDispatchError) -> CreateAliasErrorPerforms the conversion.
impl From<Error> for CreateAliasError[src]
impl From<Error> for CreateAliasErrorfn from(err: Error) -> CreateAliasError[src]
fn from(err: Error) -> CreateAliasErrorPerforms the conversion.
impl Display for CreateAliasError[src]
impl Display for CreateAliasErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Error for CreateAliasError[src]
impl Error for CreateAliasErrorAuto Trait Implementations
impl Send for CreateAliasError
impl Send for CreateAliasErrorimpl Sync for CreateAliasError
impl Sync for CreateAliasError