#[non_exhaustive]pub enum UpdateAssociationError {
Show 14 variants
AssociationDoesNotExist(AssociationDoesNotExist),
AssociationVersionLimitExceeded(AssociationVersionLimitExceeded),
InternalServerError(InternalServerError),
InvalidAssociationVersion(InvalidAssociationVersion),
InvalidDocument(InvalidDocument),
InvalidDocumentVersion(InvalidDocumentVersion),
InvalidOutputLocation(InvalidOutputLocation),
InvalidParameters(InvalidParameters),
InvalidSchedule(InvalidSchedule),
InvalidTarget(InvalidTarget),
InvalidTargetMaps(InvalidTargetMaps),
InvalidUpdate(InvalidUpdate),
TooManyUpdates(TooManyUpdates),
Unhandled(Unhandled),
}
Expand description
Error type for the UpdateAssociationError
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AssociationDoesNotExist(AssociationDoesNotExist)
The specified association doesn't exist.
AssociationVersionLimitExceeded(AssociationVersionLimitExceeded)
You have reached the maximum number versions allowed for an association. Each association has a limit of 1,000 versions.
InternalServerError(InternalServerError)
An error occurred on the server side.
InvalidAssociationVersion(InvalidAssociationVersion)
The version you specified isn't valid. Use ListAssociationVersions to view all versions of an association according to the association ID. Or, use the $LATEST
parameter to view the latest version of the association.
InvalidDocument(InvalidDocument)
The specified SSM document doesn't exist.
InvalidDocumentVersion(InvalidDocumentVersion)
The document version isn't valid or doesn't exist.
InvalidOutputLocation(InvalidOutputLocation)
The output location isn't valid or doesn't exist.
InvalidParameters(InvalidParameters)
You must specify values for all required parameters in the Amazon Web Services Systems Manager document (SSM document). You can only supply values to parameters defined in the SSM document.
InvalidSchedule(InvalidSchedule)
The schedule is invalid. Verify your cron or rate expression and try again.
InvalidTarget(InvalidTarget)
The target isn't valid or doesn't exist. It might not be configured for Systems Manager or you might not have permission to perform the operation.
InvalidTargetMaps(InvalidTargetMaps)
TargetMap parameter isn't valid.
InvalidUpdate(InvalidUpdate)
The update isn't valid.
TooManyUpdates(TooManyUpdates)
There are concurrent updates for a resource that supports one update at a time.
Unhandled(Unhandled)
An unexpected error occurred (e.g., invalid JSON returned by the service or an unknown error code).
Implementations§
source§impl UpdateAssociationError
impl UpdateAssociationError
sourcepub fn unhandled(err: impl Into<Box<dyn Error + Send + Sync + 'static>>) -> Self
pub fn unhandled(err: impl Into<Box<dyn Error + Send + Sync + 'static>>) -> Self
Creates the UpdateAssociationError::Unhandled
variant from any error type.
sourcepub fn generic(err: ErrorMetadata) -> Self
pub fn generic(err: ErrorMetadata) -> Self
Creates the UpdateAssociationError::Unhandled
variant from a ::aws_smithy_types::error::ErrorMetadata
.
sourcepub fn meta(&self) -> &ErrorMetadata
pub fn meta(&self) -> &ErrorMetadata
Returns error metadata, which includes the error code, message, request ID, and potentially additional information.
sourcepub fn is_association_does_not_exist(&self) -> bool
pub fn is_association_does_not_exist(&self) -> bool
Returns true
if the error kind is UpdateAssociationError::AssociationDoesNotExist
.
sourcepub fn is_association_version_limit_exceeded(&self) -> bool
pub fn is_association_version_limit_exceeded(&self) -> bool
Returns true
if the error kind is UpdateAssociationError::AssociationVersionLimitExceeded
.
sourcepub fn is_internal_server_error(&self) -> bool
pub fn is_internal_server_error(&self) -> bool
Returns true
if the error kind is UpdateAssociationError::InternalServerError
.
sourcepub fn is_invalid_association_version(&self) -> bool
pub fn is_invalid_association_version(&self) -> bool
Returns true
if the error kind is UpdateAssociationError::InvalidAssociationVersion
.
sourcepub fn is_invalid_document(&self) -> bool
pub fn is_invalid_document(&self) -> bool
Returns true
if the error kind is UpdateAssociationError::InvalidDocument
.
sourcepub fn is_invalid_document_version(&self) -> bool
pub fn is_invalid_document_version(&self) -> bool
Returns true
if the error kind is UpdateAssociationError::InvalidDocumentVersion
.
sourcepub fn is_invalid_output_location(&self) -> bool
pub fn is_invalid_output_location(&self) -> bool
Returns true
if the error kind is UpdateAssociationError::InvalidOutputLocation
.
sourcepub fn is_invalid_parameters(&self) -> bool
pub fn is_invalid_parameters(&self) -> bool
Returns true
if the error kind is UpdateAssociationError::InvalidParameters
.
sourcepub fn is_invalid_schedule(&self) -> bool
pub fn is_invalid_schedule(&self) -> bool
Returns true
if the error kind is UpdateAssociationError::InvalidSchedule
.
sourcepub fn is_invalid_target(&self) -> bool
pub fn is_invalid_target(&self) -> bool
Returns true
if the error kind is UpdateAssociationError::InvalidTarget
.
sourcepub fn is_invalid_target_maps(&self) -> bool
pub fn is_invalid_target_maps(&self) -> bool
Returns true
if the error kind is UpdateAssociationError::InvalidTargetMaps
.
sourcepub fn is_invalid_update(&self) -> bool
pub fn is_invalid_update(&self) -> bool
Returns true
if the error kind is UpdateAssociationError::InvalidUpdate
.
sourcepub fn is_too_many_updates(&self) -> bool
pub fn is_too_many_updates(&self) -> bool
Returns true
if the error kind is UpdateAssociationError::TooManyUpdates
.
Trait Implementations§
source§impl CreateUnhandledError for UpdateAssociationError
impl CreateUnhandledError for UpdateAssociationError
source§fn create_unhandled_error(
source: Box<dyn Error + Send + Sync + 'static>,
meta: Option<ErrorMetadata>
) -> Self
fn create_unhandled_error( source: Box<dyn Error + Send + Sync + 'static>, meta: Option<ErrorMetadata> ) -> Self
source
and error metadata.source§impl Debug for UpdateAssociationError
impl Debug for UpdateAssociationError
source§impl Display for UpdateAssociationError
impl Display for UpdateAssociationError
source§impl Error for UpdateAssociationError
impl Error for UpdateAssociationError
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
source§impl From<UpdateAssociationError> for Error
impl From<UpdateAssociationError> for Error
source§fn from(err: UpdateAssociationError) -> Self
fn from(err: UpdateAssociationError) -> Self
source§impl ProvideErrorMetadata for UpdateAssociationError
impl ProvideErrorMetadata for UpdateAssociationError
source§fn meta(&self) -> &ErrorMetadata
fn meta(&self) -> &ErrorMetadata
source§impl RequestId for UpdateAssociationError
impl RequestId for UpdateAssociationError
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.