[][src]Enum rusoto_codedeploy::CreateDeploymentError

pub enum CreateDeploymentError {
    ApplicationDoesNotExist(String),
    ApplicationNameRequired(String),
    DeploymentConfigDoesNotExist(String),
    DeploymentGroupDoesNotExist(String),
    DeploymentGroupNameRequired(String),
    DeploymentLimitExceeded(String),
    DescriptionTooLong(String),
    InvalidApplicationName(String),
    InvalidAutoRollbackConfig(String),
    InvalidAutoScalingGroup(String),
    InvalidDeploymentConfigName(String),
    InvalidDeploymentGroupName(String),
    InvalidFileExistsBehavior(String),
    InvalidGitHubAccountToken(String),
    InvalidIgnoreApplicationStopFailuresValue(String),
    InvalidLoadBalancerInfo(String),
    InvalidRevision(String),
    InvalidRole(String),
    InvalidTargetInstances(String),
    InvalidUpdateOutdatedInstancesOnlyValue(String),
    RevisionDoesNotExist(String),
    RevisionRequired(String),
    Throttling(String),
    HttpDispatch(HttpDispatchError),
    Credentials(CredentialsError),
    Validation(String),
    ParseError(String),
    Unknown(BufferedHttpResponse),
}

Errors returned by CreateDeployment

Variants

The application does not exist with the applicable IAM user or AWS account.

The minimum number of required application names was not specified.

The deployment configuration does not exist with the applicable IAM user or AWS account.

The named deployment group does not exist with the applicable IAM user or AWS account.

The deployment group name was not specified.

The number of allowed deployments was exceeded.

The description is too long.

The application name was specified in an invalid format.

The automatic rollback configuration was specified in an invalid format. For example, automatic rollback is enabled but an invalid triggering event type or no event types were listed.

The Auto Scaling group was specified in an invalid format or does not exist.

The deployment configuration name was specified in an invalid format.

The deployment group name was specified in an invalid format.

An invalid fileExistsBehavior option was specified to determine how AWS CodeDeploy handles files or directories that already exist in a deployment target location but weren't part of the previous successful deployment. Valid values include "DISALLOW", "OVERWRITE", and "RETAIN".

The GitHub token is not valid.

The IgnoreApplicationStopFailures value is invalid. For AWS Lambda deployments, false is expected. For EC2/On-premises deployments, true or false is expected.

An invalid load balancer name, or no load balancer name, was specified.

The revision was specified in an invalid format.

The service role ARN was specified in an invalid format. Or, if an Auto Scaling group was specified, the specified service role does not grant the appropriate permissions to Auto Scaling.

The target instance configuration is invalid. Possible causes include:

  • Configuration data for target instances was entered for an in-place deployment.

  • The limit of 10 tags for a tag type was exceeded.

  • The combined length of the tag names exceeded the limit.

  • A specified tag is not currently applied to any instances.

The UpdateOutdatedInstancesOnly value is invalid. For AWS Lambda deployments, false is expected. For EC2/On-premises deployments, true or false is expected.

The named revision does not exist with the applicable IAM user or AWS account.

The revision ID was not specified.

An API function was called too frequently.

An error occurred dispatching the HTTP request

An error was encountered with AWS credentials.

A validation error occurred. Details from AWS are provided.

An error occurred parsing the response payload.

An unknown error occurred. The raw HTTP response is provided.

Methods

impl CreateDeploymentError
[src]

Trait Implementations

impl PartialEq<CreateDeploymentError> for CreateDeploymentError
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<Error> for CreateDeploymentError
[src]

Performs the conversion.

impl From<CredentialsError> for CreateDeploymentError
[src]

Performs the conversion.

impl From<HttpDispatchError> for CreateDeploymentError
[src]

Performs the conversion.

impl From<Error> for CreateDeploymentError
[src]

Performs the conversion.

impl Debug for CreateDeploymentError
[src]

Formats the value using the given formatter. Read more

impl Display for CreateDeploymentError
[src]

Formats the value using the given formatter. Read more

impl Error for CreateDeploymentError
[src]

This method is soft-deprecated. Read more

Deprecating in 1.33.0

: replaced by Error::source, which can support downcasting

The lower-level cause of this error, if any. Read more

The lower-level source of this error, if any. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> ToString for T where
    T: Display + ?Sized
[src]

Converts the given value to a String. Read more

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> Same for T

Should always be Self

impl<T> Erased for T