#[non_exhaustive]
pub enum PutMetricDataErrorKind {
InternalServiceFault(InternalServiceFault),
InvalidParameterCombinationException(InvalidParameterCombinationException),
InvalidParameterValueException(InvalidParameterValueException),
MissingRequiredParameterException(MissingRequiredParameterException),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}
Expand description
Types of errors that can occur for the PutMetricData
operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
InternalServiceFault(InternalServiceFault)
Request processing has failed due to some unknown error, exception, or failure.
InvalidParameterCombinationException(InvalidParameterCombinationException)
Parameters were used together that cannot be used together.
InvalidParameterValueException(InvalidParameterValueException)
The value of an input parameter is bad or out-of-range.
MissingRequiredParameterException(MissingRequiredParameterException)
An input parameter that is required is missing.
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 !RefUnwindSafe for PutMetricDataErrorKind
impl Send for PutMetricDataErrorKind
impl Sync for PutMetricDataErrorKind
impl Unpin for PutMetricDataErrorKind
impl !UnwindSafe for PutMetricDataErrorKind
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