#[non_exhaustive]
pub enum CreateMaintenanceWindowErrorKind {
IdempotentParameterMismatch(IdempotentParameterMismatch),
InternalServerError(InternalServerError),
ResourceLimitExceededException(ResourceLimitExceededException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the CreateMaintenanceWindow
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
IdempotentParameterMismatch(IdempotentParameterMismatch)
Error returned when an idempotent operation is retried and the parameters don't match the original call to the API with the same idempotency token.
InternalServerError(InternalServerError)
An error occurred on the server side.
ResourceLimitExceededException(ResourceLimitExceededException)
Error returned when the caller has exceeded the default resource quotas. For example, too many maintenance windows or patch baselines have been created.
For information about resource quotas in Systems Manager, see Systems Manager service quotas in the Amazon Web Services General Reference.
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.