Enum aws_sdk_ssm::error::PutParameterErrorKind [−][src]
#[non_exhaustive]
pub enum PutParameterErrorKind {
Show 16 variants
HierarchyLevelLimitExceededException(HierarchyLevelLimitExceededException),
HierarchyTypeMismatchException(HierarchyTypeMismatchException),
IncompatiblePolicyException(IncompatiblePolicyException),
InternalServerError(InternalServerError),
InvalidAllowedPatternException(InvalidAllowedPatternException),
InvalidKeyId(InvalidKeyId),
InvalidPolicyAttributeException(InvalidPolicyAttributeException),
InvalidPolicyTypeException(InvalidPolicyTypeException),
ParameterAlreadyExists(ParameterAlreadyExists),
ParameterLimitExceeded(ParameterLimitExceeded),
ParameterMaxVersionLimitExceeded(ParameterMaxVersionLimitExceeded),
ParameterPatternMismatchException(ParameterPatternMismatchException),
PoliciesLimitExceededException(PoliciesLimitExceededException),
TooManyUpdates(TooManyUpdates),
UnsupportedParameterType(UnsupportedParameterType),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the PutParameter
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
HierarchyLevelLimitExceededException(HierarchyLevelLimitExceededException)
Tuple Fields
A hierarchy can have a maximum of 15 levels. For more information, see Requirements and constraints for parameter names in the Amazon Web Services Systems Manager User Guide.
HierarchyTypeMismatchException(HierarchyTypeMismatchException)
Tuple Fields
Parameter Store doesn't support changing a parameter type in a hierarchy. For example, you
can't change a parameter from a String
type to a SecureString
type. You
must create a new, unique parameter.
IncompatiblePolicyException(IncompatiblePolicyException)
Tuple Fields
There is a conflict in the policies specified for this parameter. You can't, for example, specify two Expiration policies for a parameter. Review your policies, and try again.
InternalServerError(InternalServerError)
Tuple Fields
An error occurred on the server side.
InvalidAllowedPatternException(InvalidAllowedPatternException)
Tuple Fields
The request doesn't meet the regular expression requirement.
InvalidKeyId(InvalidKeyId)
Tuple Fields
0: InvalidKeyId
The query key ID isn't valid.
InvalidPolicyAttributeException(InvalidPolicyAttributeException)
Tuple Fields
A policy attribute or its value is invalid.
InvalidPolicyTypeException(InvalidPolicyTypeException)
Tuple Fields
The policy type isn't supported. Parameter Store supports the following policy types: Expiration, ExpirationNotification, and NoChangeNotification.
ParameterAlreadyExists(ParameterAlreadyExists)
Tuple Fields
The parameter already exists. You can't create duplicate parameters.
ParameterLimitExceeded(ParameterLimitExceeded)
Tuple Fields
You have exceeded the number of parameters for this Amazon Web Services account. Delete one or more parameters and try again.
ParameterMaxVersionLimitExceeded(ParameterMaxVersionLimitExceeded)
Tuple Fields
Parameter Store retains the 100 most recently created versions of a parameter. After this number of versions has been created, Parameter Store deletes the oldest version when a new one is created. However, if the oldest version has a label attached to it, Parameter Store won't delete the version and instead presents this error message:
An error occurred (ParameterMaxVersionLimitExceeded) when calling the PutParameter
operation: You attempted to create a new version of parameter-name by
calling the PutParameter API with the overwrite flag. Version
version-number, the oldest version, can't be deleted because it has a
label associated with it. Move the label to another version of the parameter, and try
again.
This safeguard is to prevent parameter versions with mission critical labels assigned to them from being deleted. To continue creating new parameters, first move the label from the oldest version of the parameter to a newer one for use in your operations. For information about moving parameter labels, see Move a parameter label (console) or Move a parameter label (CLI) in the Amazon Web Services Systems Manager User Guide.
ParameterPatternMismatchException(ParameterPatternMismatchException)
Tuple Fields
The parameter name isn't valid.
PoliciesLimitExceededException(PoliciesLimitExceededException)
Tuple Fields
You specified more than the maximum number of allowed policies for the parameter. The maximum is 10.
TooManyUpdates(TooManyUpdates)
Tuple Fields
There are concurrent updates for a resource that supports one update at a time.
UnsupportedParameterType(UnsupportedParameterType)
Tuple Fields
The parameter type isn't supported.
Unhandled(Box<dyn Error + Send + Sync + 'static>)
An unexpected error, e.g. invalid JSON returned by the service or an unknown error code
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PutParameterErrorKind
impl Send for PutParameterErrorKind
impl Sync for PutParameterErrorKind
impl Unpin for PutParameterErrorKind
impl !UnwindSafe for PutParameterErrorKind
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more