pub enum BatchGetDeploymentInstancesError {
BatchLimitExceeded(String),
DeploymentDoesNotExist(String),
DeploymentIdRequired(String),
InstanceIdRequired(String),
InvalidComputePlatform(String),
InvalidDeploymentId(String),
InvalidInstanceName(String),
}
Expand description
Errors returned by BatchGetDeploymentInstances
Variants§
BatchLimitExceeded(String)
The maximum number of names or IDs allowed for this request (100) was exceeded.
DeploymentDoesNotExist(String)
The deployment with the IAM user or AWS account does not exist.
DeploymentIdRequired(String)
At least one deployment ID must be specified.
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§
Trait Implementations§
Source§impl Error for BatchGetDeploymentInstancesError
impl Error for BatchGetDeploymentInstancesError
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 BatchGetDeploymentInstancesError
impl PartialEq for BatchGetDeploymentInstancesError
Source§fn eq(&self, other: &BatchGetDeploymentInstancesError) -> bool
fn eq(&self, other: &BatchGetDeploymentInstancesError) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for BatchGetDeploymentInstancesError
Auto Trait Implementations§
impl Freeze for BatchGetDeploymentInstancesError
impl RefUnwindSafe for BatchGetDeploymentInstancesError
impl Send for BatchGetDeploymentInstancesError
impl Sync for BatchGetDeploymentInstancesError
impl Unpin for BatchGetDeploymentInstancesError
impl UnwindSafe for BatchGetDeploymentInstancesError
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