Create Logging Configuration
prometheusservice_create_logging_configuration | R Documentation |
The CreateLoggingConfiguration operation creates a logging configuration for the workspace¶
Description¶
The create_logging_configuration
operation creates a logging
configuration for the workspace. Use this operation to set the
CloudWatch log group to which the logs will be published to.
Usage¶
Arguments¶
clientToken
A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.
logGroupArn
[required] The ARN of the CloudWatch log group to which the vended log data will be published. This log group must exist prior to calling this API.
workspaceId
[required] The ID of the workspace to create the logging configuration for.
Value¶
A list with the following syntax:
list(
status = list(
statusCode = "CREATING"|"ACTIVE"|"UPDATING"|"DELETING"|"CREATION_FAILED"|"UPDATE_FAILED",
statusReason = "string"
)
)