Creates a query logging configuration for the specified workspace¶
Description¶
Creates a query logging configuration for the specified workspace. This operation enables logging of queries that exceed the specified QSP threshold.
Usage¶
Arguments¶
-
workspaceId[required] The ID of the workspace for which to create the query logging configuration.
-
destinations[required] The destinations where query logs will be sent. Only CloudWatch Logs destination is supported. The list must contain exactly one element.
-
clientToken(Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.
Value¶
A list with the following syntax:
list(
status = list(
statusCode = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATION_FAILED"|"UPDATE_FAILED",
statusReason = "string"
)
)