pub enum CreateServiceError {
AccessDenied(String),
Client(String),
ClusterNotFound(String),
InvalidParameter(String),
PlatformTaskDefinitionIncompatibility(String),
PlatformUnknown(String),
Server(String),
UnsupportedFeature(String),
}Expand description
Errors returned by CreateService
Variants§
AccessDenied(String)
You do not have authorization to perform the requested action.
Client(String)
These errors are usually caused by a client action, such as using an action or resource on behalf of a user that doesn't have permissions to use the action or resource, or specifying an identifier that is not valid.
ClusterNotFound(String)
The specified cluster could not be found. You can view your available clusters with ListClusters. Amazon ECS clusters are Region-specific.
InvalidParameter(String)
The specified parameter is invalid. Review the available parameters for the API request.
PlatformTaskDefinitionIncompatibility(String)
The specified platform version does not satisfy the task definition's required capabilities.
PlatformUnknown(String)
The specified platform version does not exist.
Server(String)
These errors are usually caused by a server issue.
UnsupportedFeature(String)
The specified task is not supported in this Region.
Implementations§
Source§impl CreateServiceError
impl CreateServiceError
pub fn from_response( res: BufferedHttpResponse, ) -> RusotoError<CreateServiceError>
Trait Implementations§
Source§impl Debug for CreateServiceError
impl Debug for CreateServiceError
Source§impl Display for CreateServiceError
impl Display for CreateServiceError
Source§impl Error for CreateServiceError
impl Error for CreateServiceError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl PartialEq for CreateServiceError
impl PartialEq for CreateServiceError
Source§fn eq(&self, other: &CreateServiceError) -> bool
fn eq(&self, other: &CreateServiceError) -> bool
self and other values to be equal, and is used by ==.