pub enum CreateQueryLoggingConfigError {
ConcurrentModification(String),
InsufficientCloudWatchLogsResourcePolicy(String),
InvalidInput(String),
NoSuchCloudWatchLogsLogGroup(String),
NoSuchHostedZone(String),
QueryLoggingConfigAlreadyExists(String),
}Expand description
Errors returned by CreateQueryLoggingConfig
Variants§
ConcurrentModification(String)
Another user submitted a request to create, update, or delete the object at the same time that you did. Retry the request.
InsufficientCloudWatchLogsResourcePolicy(String)
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.
InvalidInput(String)
The input is not valid.
NoSuchCloudWatchLogsLogGroup(String)
There is no CloudWatch Logs log group with the specified ARN.
NoSuchHostedZone(String)
No hosted zone exists with the ID that you specified.
QueryLoggingConfigAlreadyExists(String)
You can create only one query logging configuration for a hosted zone, and a query logging configuration already exists for this hosted zone.
Implementations§
Trait Implementations§
Source§impl Error for CreateQueryLoggingConfigError
impl Error for CreateQueryLoggingConfigError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl PartialEq for CreateQueryLoggingConfigError
impl PartialEq for CreateQueryLoggingConfigError
Source§fn eq(&self, other: &CreateQueryLoggingConfigError) -> bool
fn eq(&self, other: &CreateQueryLoggingConfigError) -> bool
self and other values to be equal, and is used by ==.