pub enum BatchGetDeploymentTargetsError {
DeploymentDoesNotExist(String),
DeploymentIdRequired(String),
DeploymentNotStarted(String),
DeploymentTargetDoesNotExist(String),
DeploymentTargetIdRequired(String),
DeploymentTargetListSizeExceeded(String),
InstanceDoesNotExist(String),
InvalidDeploymentId(String),
InvalidDeploymentTargetId(String),
}
Expand description
Errors returned by BatchGetDeploymentTargets
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.
DeploymentTargetListSizeExceeded(String)
The maximum number of targets that can be associated with an Amazon ECS or AWS Lambda deployment was exceeded. The target list of both types of deployments must have exactly one item. This exception does not apply to EC2/On-premises deployments.
InstanceDoesNotExist(String)
The specified instance does not exist in the deployment group.
InvalidDeploymentId(String)
At least one of the deployment IDs was specified in an invalid format.
InvalidDeploymentTargetId(String)
The target ID provided was not valid.
Implementations§
Trait Implementations§
Source§impl Error for BatchGetDeploymentTargetsError
impl Error for BatchGetDeploymentTargetsError
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 BatchGetDeploymentTargetsError
impl PartialEq for BatchGetDeploymentTargetsError
Source§fn eq(&self, other: &BatchGetDeploymentTargetsError) -> bool
fn eq(&self, other: &BatchGetDeploymentTargetsError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for BatchGetDeploymentTargetsError
Auto Trait Implementations§
impl Freeze for BatchGetDeploymentTargetsError
impl RefUnwindSafe for BatchGetDeploymentTargetsError
impl Send for BatchGetDeploymentTargetsError
impl Sync for BatchGetDeploymentTargetsError
impl Unpin for BatchGetDeploymentTargetsError
impl UnwindSafe for BatchGetDeploymentTargetsError
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