#[non_exhaustive]
pub enum PutStoredQueryErrorKind {
ResourceConcurrentModificationException(ResourceConcurrentModificationException),
TooManyTagsException(TooManyTagsException),
ValidationException(ValidationException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the PutStoredQuery
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ResourceConcurrentModificationException(ResourceConcurrentModificationException)
Two users are trying to modify the same query at the same time. Wait for a moment and try again.
TooManyTagsException(TooManyTagsException)
You have reached the limit of the number of tags you can use. For more information, see Service Limits in the Config Developer Guide.
ValidationException(ValidationException)
The requested action is invalid.
For PutStoredQuery, you will see this exception if there are missing required fields or if the input value fails the validation, or if you are trying to create more than 300 queries.
For GetStoredQuery, ListStoredQuery, and DeleteStoredQuery you will see this exception if there are missing required fields or if the input value fails the validation.
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.