update_query_logging_configuration
async
¶
update_query_logging_configuration(
workspace_id: WorkspaceId,
destinations: LoggingDestinations,
*,
config_overrides: Optional[AsyncampClientConfig] = None,
client_token: Optional[IdempotencyToken] = None,
) -> UpdateQueryLoggingConfigurationResponse
Updates the query logging configuration for the specified workspace.
Parameters:
-
workspace_id(WorkspaceId) –The ID of the workspace for which to update the query logging configuration.
-
destinations(LoggingDestinations) –The destinations where query logs will be sent. Only CloudWatch Logs destination is supported. The list must contain exactly one element.
-
client_token(Optional[IdempotencyToken], default:None) –(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request would cause an inconsistent state.
-
InternalServerException–An unexpected error occurred during the processing of the request.
-
ResourceNotFoundException–The request references a resources that doesn't exist.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.