pub enum GetCloudFormationTemplateError {
BadRequest(String),
Forbidden(String),
InternalServerError(String),
NotFound(String),
TooManyRequests(String),
}
Expand description
Errors returned by GetCloudFormationTemplate
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 GetCloudFormationTemplateError
impl Error for GetCloudFormationTemplateError
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 GetCloudFormationTemplateError
impl PartialEq for GetCloudFormationTemplateError
Source§fn eq(&self, other: &GetCloudFormationTemplateError) -> bool
fn eq(&self, other: &GetCloudFormationTemplateError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetCloudFormationTemplateError
Auto Trait Implementations§
impl Freeze for GetCloudFormationTemplateError
impl RefUnwindSafe for GetCloudFormationTemplateError
impl Send for GetCloudFormationTemplateError
impl Sync for GetCloudFormationTemplateError
impl Unpin for GetCloudFormationTemplateError
impl UnwindSafe for GetCloudFormationTemplateError
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