pub enum GetDeploymentTargetError {
DeploymentDoesNotExist(String),
DeploymentIdRequired(String),
DeploymentNotStarted(String),
DeploymentTargetDoesNotExist(String),
DeploymentTargetIdRequired(String),
InvalidDeploymentId(String),
InvalidDeploymentTargetId(String),
InvalidInstanceName(String),
}
Expand description
Errors returned by GetDeploymentTarget
Variants§
DeploymentDoesNotExist(String)
The deployment with the IAM user or AWS account does not exist.
DeploymentIdRequired(String)
At least one deployment ID must be specified.
DeploymentNotStarted(String)
The specified deployment has not started.
DeploymentTargetDoesNotExist(String)
The provided target ID does not belong to the attempted deployment.
DeploymentTargetIdRequired(String)
A deployment target ID was not provided.
InvalidDeploymentId(String)
At least one of the deployment IDs was specified in an invalid format.
InvalidDeploymentTargetId(String)
The target ID provided was not valid.
InvalidInstanceName(String)
The on-premises instance name was specified in an invalid format.
Implementations§
Source§impl GetDeploymentTargetError
impl GetDeploymentTargetError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetDeploymentTargetError>
Trait Implementations§
Source§impl Debug for GetDeploymentTargetError
impl Debug for GetDeploymentTargetError
Source§impl Display for GetDeploymentTargetError
impl Display for GetDeploymentTargetError
Source§impl Error for GetDeploymentTargetError
impl Error for GetDeploymentTargetError
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 GetDeploymentTargetError
impl PartialEq for GetDeploymentTargetError
impl StructuralPartialEq for GetDeploymentTargetError
Auto Trait Implementations§
impl Freeze for GetDeploymentTargetError
impl RefUnwindSafe for GetDeploymentTargetError
impl Send for GetDeploymentTargetError
impl Sync for GetDeploymentTargetError
impl Unpin for GetDeploymentTargetError
impl UnwindSafe for GetDeploymentTargetError
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