#[non_exhaustive]
pub enum ModifyEventSubscriptionErrorKind {
KmsAccessDeniedFault(KmsAccessDeniedFault),
KmsDisabledFault(KmsDisabledFault),
KmsInvalidStateFault(KmsInvalidStateFault),
KmsNotFoundFault(KmsNotFoundFault),
KmsThrottlingFault(KmsThrottlingFault),
ResourceNotFoundFault(ResourceNotFoundFault),
ResourceQuotaExceededFault(ResourceQuotaExceededFault),
SnsInvalidTopicFault(SnsInvalidTopicFault),
SnsNoAuthorizationFault(SnsNoAuthorizationFault),
Unhandled(Unhandled),
}
Expand description
Types of errors that can occur for the ModifyEventSubscription
operation.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
KmsAccessDeniedFault(KmsAccessDeniedFault)
The ciphertext references a key that doesn't exist or that the DMS account doesn't have access to.
KmsDisabledFault(KmsDisabledFault)
The specified KMS key isn't enabled.
KmsInvalidStateFault(KmsInvalidStateFault)
The state of the specified KMS resource isn't valid for this request.
KmsNotFoundFault(KmsNotFoundFault)
The specified KMS entity or resource can't be found.
KmsThrottlingFault(KmsThrottlingFault)
This request triggered KMS request throttling.
ResourceNotFoundFault(ResourceNotFoundFault)
The resource could not be found.
ResourceQuotaExceededFault(ResourceQuotaExceededFault)
The quota for this resource quota has been exceeded.
SnsInvalidTopicFault(SnsInvalidTopicFault)
The SNS topic is invalid.
SnsNoAuthorizationFault(SnsNoAuthorizationFault)
You are not authorized for the SNS subscription.
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.