Enum aws_sdk_ssm::error::GetInventoryErrorKind
source · #[non_exhaustive]
pub enum GetInventoryErrorKind {
InternalServerError(InternalServerError),
InvalidAggregatorException(InvalidAggregatorException),
InvalidFilter(InvalidFilter),
InvalidInventoryGroupException(InvalidInventoryGroupException),
InvalidNextToken(InvalidNextToken),
InvalidResultAttributeException(InvalidResultAttributeException),
InvalidTypeNameException(InvalidTypeNameException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the GetInventory
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InternalServerError(InternalServerError)
An error occurred on the server side.
InvalidAggregatorException(InvalidAggregatorException)
The specified aggregator isn't valid for inventory groups. Verify that the aggregator uses a valid inventory type such as AWS:Application
or AWS:InstanceInformation
.
InvalidFilter(InvalidFilter)
The filter name isn't valid. Verify the you entered the correct name and try again.
InvalidInventoryGroupException(InvalidInventoryGroupException)
The specified inventory group isn't valid.
InvalidNextToken(InvalidNextToken)
The specified token isn't valid.
InvalidResultAttributeException(InvalidResultAttributeException)
The specified inventory item result attribute isn't valid.
InvalidTypeNameException(InvalidTypeNameException)
The parameter type name isn't valid.
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.