Enum aws_sdk_ssm::error::CreateOpsItemErrorKind
source · #[non_exhaustive]
pub enum CreateOpsItemErrorKind {
InternalServerError(InternalServerError),
OpsItemAccessDeniedException(OpsItemAccessDeniedException),
OpsItemAlreadyExistsException(OpsItemAlreadyExistsException),
OpsItemInvalidParameterException(OpsItemInvalidParameterException),
OpsItemLimitExceededException(OpsItemLimitExceededException),
Unhandled(Unhandled),
}Expand description
Types of errors that can occur for the CreateOpsItem operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InternalServerError(InternalServerError)
An error occurred on the server side.
OpsItemAccessDeniedException(OpsItemAccessDeniedException)
You don't have permission to view OpsItems in the specified account. Verify that your account is configured either as a Systems Manager delegated administrator or that you are logged into the Organizations management account.
OpsItemAlreadyExistsException(OpsItemAlreadyExistsException)
The OpsItem already exists.
OpsItemInvalidParameterException(OpsItemInvalidParameterException)
A specified parameter argument isn't valid. Verify the available arguments and try again.
OpsItemLimitExceededException(OpsItemLimitExceededException)
The request caused OpsItems to exceed one or more quotas. For information about OpsItem quotas, see What are the resource limits for OpsCenter?.
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.