pub enum CreateDeploymentConfigError {
DeploymentConfigAlreadyExists(String),
DeploymentConfigLimitExceeded(String),
DeploymentConfigNameRequired(String),
InvalidComputePlatform(String),
InvalidDeploymentConfigName(String),
InvalidMinimumHealthyHostValue(String),
InvalidTrafficRoutingConfiguration(String),
}
Expand description
Errors returned by CreateDeploymentConfig
Variants§
DeploymentConfigAlreadyExists(String)
A deployment configuration with the specified name with the IAM user or AWS account already exists.
DeploymentConfigLimitExceeded(String)
The deployment configurations limit was exceeded.
DeploymentConfigNameRequired(String)
The deployment configuration name was not specified.
InvalidComputePlatform(String)
The computePlatform is invalid. The computePlatform should be Lambda
, Server
, or ECS
.
InvalidDeploymentConfigName(String)
The deployment configuration name was specified in an invalid format.
InvalidMinimumHealthyHostValue(String)
The minimum healthy instance value was specified in an invalid format.
InvalidTrafficRoutingConfiguration(String)
The configuration that specifies how traffic is routed during a deployment is invalid.
Implementations§
Source§impl CreateDeploymentConfigError
impl CreateDeploymentConfigError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateDeploymentConfigError>
Trait Implementations§
Source§impl Debug for CreateDeploymentConfigError
impl Debug for CreateDeploymentConfigError
Source§impl Error for CreateDeploymentConfigError
impl Error for CreateDeploymentConfigError
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 CreateDeploymentConfigError
Auto Trait Implementations§
impl Freeze for CreateDeploymentConfigError
impl RefUnwindSafe for CreateDeploymentConfigError
impl Send for CreateDeploymentConfigError
impl Sync for CreateDeploymentConfigError
impl Unpin for CreateDeploymentConfigError
impl UnwindSafe for CreateDeploymentConfigError
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