pub enum CreateCloudFormationTemplateError {
BadRequest(String),
Forbidden(String),
InternalServerError(String),
NotFound(String),
TooManyRequests(String),
}
Expand description
Errors returned by CreateCloudFormationTemplate
Variants§
BadRequest(String)
One of the parameters in the request is invalid.
Forbidden(String)
The client is not authenticated.
InternalServerError(String)
The AWS Serverless Application Repository service encountered an internal error.
NotFound(String)
The resource (for example, an access policy statement) specified in the request doesn't exist.
TooManyRequests(String)
The client is sending more than the allowed number of requests per unit of time.
Implementations§
Trait Implementations§
Source§impl Error for CreateCloudFormationTemplateError
impl Error for CreateCloudFormationTemplateError
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 CreateCloudFormationTemplateError
impl PartialEq for CreateCloudFormationTemplateError
Source§fn eq(&self, other: &CreateCloudFormationTemplateError) -> bool
fn eq(&self, other: &CreateCloudFormationTemplateError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for CreateCloudFormationTemplateError
Auto Trait Implementations§
impl Freeze for CreateCloudFormationTemplateError
impl RefUnwindSafe for CreateCloudFormationTemplateError
impl Send for CreateCloudFormationTemplateError
impl Sync for CreateCloudFormationTemplateError
impl Unpin for CreateCloudFormationTemplateError
impl UnwindSafe for CreateCloudFormationTemplateError
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