#[non_exhaustive]
pub enum ListDiscoveredResourcesErrorKind {
InvalidLimitException(InvalidLimitException),
InvalidNextTokenException(InvalidNextTokenException),
NoAvailableConfigurationRecorderException(NoAvailableConfigurationRecorderException),
ValidationException(ValidationException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the ListDiscoveredResources operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
InvalidLimitException(InvalidLimitException)
The specified limit is outside the allowable range.
InvalidNextTokenException(InvalidNextTokenException)
The specified next token is invalid. Specify the nextToken string that was returned in the previous response to get the next page of results.
NoAvailableConfigurationRecorderException(NoAvailableConfigurationRecorderException)
There are no configuration recorders available to provide the role needed to describe your resources. Create a configuration recorder.
ValidationException(ValidationException)
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