#[non_exhaustive]
pub enum CreateContinuousDeploymentPolicyErrorKind {
AccessDenied(AccessDenied),
ContinuousDeploymentPolicyAlreadyExists(ContinuousDeploymentPolicyAlreadyExists),
InconsistentQuantities(InconsistentQuantities),
InvalidArgument(InvalidArgument),
StagingDistributionInUse(StagingDistributionInUse),
TooManyContinuousDeploymentPolicies(TooManyContinuousDeploymentPolicies),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the CreateContinuousDeploymentPolicy
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AccessDenied(AccessDenied)
Access denied.
ContinuousDeploymentPolicyAlreadyExists(ContinuousDeploymentPolicyAlreadyExists)
A continuous deployment policy with this configuration already exists.
InconsistentQuantities(InconsistentQuantities)
The value of Quantity
and the size of Items
don't match.
InvalidArgument(InvalidArgument)
An argument is invalid.
StagingDistributionInUse(StagingDistributionInUse)
A continuous deployment policy for this staging distribution already exists.
TooManyContinuousDeploymentPolicies(TooManyContinuousDeploymentPolicies)
You have reached the maximum number of continuous deployment policies for this Amazon Web Services account.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
When logging an error from the SDK, it is recommended that you either wrap the error in
DisplayErrorContext
, use another
error reporter library that visits the error’s cause/source chain, or call
Error::source
for more details about the underlying cause.