pub enum CreateFunctionError {
CodeStorageExceeded(String),
InvalidParameterValue(String),
ResourceConflict(String),
ResourceNotFound(String),
Service(String),
TooManyRequests(String),
}
Expand description
Errors returned by CreateFunction
Variants§
CodeStorageExceeded(String)
You have exceeded your maximum total code size per account. Learn more
InvalidParameterValue(String)
One of the parameters in the request is invalid.
ResourceConflict(String)
The resource already exists, or another operation is in progress.
ResourceNotFound(String)
The resource specified in the request does not exist.
Service(String)
The AWS Lambda service encountered an internal error.
TooManyRequests(String)
The request throughput limit was exceeded.
Implementations§
Source§impl CreateFunctionError
impl CreateFunctionError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateFunctionError>
Trait Implementations§
Source§impl Debug for CreateFunctionError
impl Debug for CreateFunctionError
Source§impl Display for CreateFunctionError
impl Display for CreateFunctionError
Source§impl Error for CreateFunctionError
impl Error for CreateFunctionError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for CreateFunctionError
impl PartialEq for CreateFunctionError
impl StructuralPartialEq for CreateFunctionError
Auto Trait Implementations§
impl Freeze for CreateFunctionError
impl RefUnwindSafe for CreateFunctionError
impl Send for CreateFunctionError
impl Sync for CreateFunctionError
impl Unpin for CreateFunctionError
impl UnwindSafe for CreateFunctionError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more