#[non_exhaustive]
pub enum CreateQueryLoggingConfigErrorKind {
ConcurrentModification(ConcurrentModification),
InsufficientCloudWatchLogsResourcePolicy(InsufficientCloudWatchLogsResourcePolicy),
InvalidInput(InvalidInput),
NoSuchCloudWatchLogsLogGroup(NoSuchCloudWatchLogsLogGroup),
NoSuchHostedZone(NoSuchHostedZone),
QueryLoggingConfigAlreadyExists(QueryLoggingConfigAlreadyExists),
Unhandled(Box<dyn Error + Send + Sync + 'static>),
}Expand description
Types of errors that can occur for the CreateQueryLoggingConfig operation.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
ConcurrentModification(ConcurrentModification)
Another user submitted a request to create, update, or delete the object at the same time that you did. Retry the request.
InsufficientCloudWatchLogsResourcePolicy(InsufficientCloudWatchLogsResourcePolicy)
Amazon Route 53 doesn't have the permissions required to create log streams and send query logs to log streams. Possible causes include the following:
-
There is no resource policy that specifies the log group ARN in the value for
Resource. -
The resource policy that includes the log group ARN in the value for
Resourcedoesn't have the necessary permissions. -
The resource policy hasn't finished propagating yet.
-
The Key management service (KMS) key you specified doesn’t exist or it can’t be used with the log group associated with query log. Update or provide a resource policy to grant permissions for the KMS key.
InvalidInput(InvalidInput)
The input is not valid.
NoSuchCloudWatchLogsLogGroup(NoSuchCloudWatchLogsLogGroup)
There is no CloudWatch Logs log group with the specified ARN.
NoSuchHostedZone(NoSuchHostedZone)
No hosted zone exists with the ID that you specified.
QueryLoggingConfigAlreadyExists(QueryLoggingConfigAlreadyExists)
You can create only one query logging configuration for a hosted zone, and a query logging configuration already exists for this hosted zone.
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 CreateQueryLoggingConfigErrorKind
impl Send for CreateQueryLoggingConfigErrorKind
impl Sync for CreateQueryLoggingConfigErrorKind
impl Unpin for CreateQueryLoggingConfigErrorKind
impl !UnwindSafe for CreateQueryLoggingConfigErrorKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more