#[non_exhaustive]
pub enum PutConfigurationRecorderErrorKind {
InvalidConfigurationRecorderNameException(InvalidConfigurationRecorderNameException),
InvalidRecordingGroupException(InvalidRecordingGroupException),
InvalidRoleException(InvalidRoleException),
MaxNumberOfConfigurationRecordersExceededException(MaxNumberOfConfigurationRecordersExceededException),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the PutConfigurationRecorder
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidConfigurationRecorderNameException(InvalidConfigurationRecorderNameException)
You have provided a configuration recorder name that is not valid.
InvalidRecordingGroupException(InvalidRecordingGroupException)
Config throws an exception if the recording group does not contain a valid list of resource types. Invalid values might also be incorrectly formatted.
InvalidRoleException(InvalidRoleException)
You have provided a null or empty role ARN.
MaxNumberOfConfigurationRecordersExceededException(MaxNumberOfConfigurationRecordersExceededException)
You have reached the limit of the number of recorders you can create.
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.