Enum rusoto_lambda::UpdateFunctionCodeError
[−]
[src]
pub enum UpdateFunctionCodeError { CodeStorageExceeded(String), InvalidParameterValue(String), ResourceNotFound(String), Service(String), TooManyRequests(String), HttpDispatch(HttpDispatchError), Credentials(CredentialsError), Validation(String), Unknown(String), }
Errors returned by UpdateFunctionCode
Variants
CodeStorageExceeded(String)
You have exceeded your maximum total code size per account. Limits
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.
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)
You will get this exception for the following reasons. ConcurrentInvocationLimitExceeded
is returned if you have no functions with reserved-concurrency and have exceeded your account concurrent limit or if a function without reserved concurrency exceeds the account's unreserved concurrency limit. ReservedFunctionConcurrentInvocationLimitExceeded
is returned when a function with reserved concurrency exceeds its configured concurrent limit. CallerRateLimitExceeded
is returned when your account limit is exceeded and you have not reserved concurrency on any function. For more information, see concurrent-executions
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 UpdateFunctionCodeError
[src]
pub fn from_body(body: &str) -> UpdateFunctionCodeError
[src]
Trait Implementations
impl Debug for UpdateFunctionCodeError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for UpdateFunctionCodeError
[src]
fn eq(&self, __arg_0: &UpdateFunctionCodeError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &UpdateFunctionCodeError) -> bool
[src]
This method tests for !=
.
impl From<Error> for UpdateFunctionCodeError
[src]
fn from(err: Error) -> UpdateFunctionCodeError
[src]
Performs the conversion.
impl From<CredentialsError> for UpdateFunctionCodeError
[src]
fn from(err: CredentialsError) -> UpdateFunctionCodeError
[src]
Performs the conversion.
impl From<HttpDispatchError> for UpdateFunctionCodeError
[src]
fn from(err: HttpDispatchError) -> UpdateFunctionCodeError
[src]
Performs the conversion.
impl From<Error> for UpdateFunctionCodeError
[src]
fn from(err: Error) -> UpdateFunctionCodeError
[src]
Performs the conversion.
impl Display for UpdateFunctionCodeError
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more