pub enum CreateDeploymentError {
BadRequest(String),
Conflict(String),
LimitExceeded(String),
NotFound(String),
ServiceUnavailable(String),
TooManyRequests(String),
Unauthorized(String),
}Expand description
Errors returned by CreateDeployment
Variants§
BadRequest(String)
The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.
Conflict(String)
The request configuration has conflicts. For details, see the accompanying error message.
LimitExceeded(String)
The request exceeded the rate limit. Retry after the specified time period.
NotFound(String)
The requested resource is not found. Make sure that the request URI is correct.
The requested service is not available. For details see the accompanying error message. Retry after the specified time period.
TooManyRequests(String)
The request has reached its throttling limit. Retry after the specified time period.
The request is denied because the caller has insufficient permissions.
Implementations§
Source§impl CreateDeploymentError
impl CreateDeploymentError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateDeploymentError>
Trait Implementations§
Source§impl Debug for CreateDeploymentError
impl Debug for CreateDeploymentError
Source§impl Display for CreateDeploymentError
impl Display for CreateDeploymentError
Source§impl Error for CreateDeploymentError
impl Error for CreateDeploymentError
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 CreateDeploymentError
impl PartialEq for CreateDeploymentError
impl StructuralPartialEq for CreateDeploymentError
Auto Trait Implementations§
impl Freeze for CreateDeploymentError
impl RefUnwindSafe for CreateDeploymentError
impl Send for CreateDeploymentError
impl Sync for CreateDeploymentError
impl Unpin for CreateDeploymentError
impl UnwindSafe for CreateDeploymentError
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