Enum aws_sdk_config::error::GetDiscoveredResourceCountsErrorKind [−][src]
#[non_exhaustive]
pub enum GetDiscoveredResourceCountsErrorKind {
InvalidLimitException(InvalidLimitException),
InvalidNextTokenException(InvalidNextTokenException),
ValidationException(ValidationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the GetDiscoveredResourceCounts
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
InvalidLimitException(InvalidLimitException)
Tuple Fields
The specified limit is outside the allowable range.
InvalidNextTokenException(InvalidNextTokenException)
Tuple Fields
The specified next token is invalid. Specify the
nextToken
string that was returned in the previous
response to get the next page of results.
ValidationException(ValidationException)
Tuple Fields
The requested action is not valid.
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(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 Send for GetDiscoveredResourceCountsErrorKind
impl Sync for GetDiscoveredResourceCountsErrorKind
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