pub enum GetDeploymentInstanceError {
DeploymentDoesNotExist(String),
DeploymentIdRequired(String),
InstanceDoesNotExist(String),
InstanceIdRequired(String),
InvalidComputePlatform(String),
InvalidDeploymentId(String),
InvalidInstanceName(String),
}
Expand description
Errors returned by GetDeploymentInstance
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.
InstanceDoesNotExist(String)
The specified instance does not exist in the deployment group.
InstanceIdRequired(String)
The instance ID was not specified.
InvalidComputePlatform(String)
The computePlatform is invalid. The computePlatform should be Lambda
, Server
, or ECS
.
InvalidDeploymentId(String)
At least one of the deployment IDs was specified in an invalid format.
InvalidInstanceName(String)
The on-premises instance name was specified in an invalid format.
Implementations§
Source§impl GetDeploymentInstanceError
impl GetDeploymentInstanceError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<GetDeploymentInstanceError>
Trait Implementations§
Source§impl Debug for GetDeploymentInstanceError
impl Debug for GetDeploymentInstanceError
Source§impl Display for GetDeploymentInstanceError
impl Display for GetDeploymentInstanceError
Source§impl Error for GetDeploymentInstanceError
impl Error for GetDeploymentInstanceError
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()
impl StructuralPartialEq for GetDeploymentInstanceError
Auto Trait Implementations§
impl Freeze for GetDeploymentInstanceError
impl RefUnwindSafe for GetDeploymentInstanceError
impl Send for GetDeploymentInstanceError
impl Sync for GetDeploymentInstanceError
impl Unpin for GetDeploymentInstanceError
impl UnwindSafe for GetDeploymentInstanceError
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