Skip to content

Update Logging Configuration

prometheusservice_update_logging_configuration R Documentation

Updates the log group ARN or the workspace ID of the current logging configuration

Description

Updates the log group ARN or the workspace ID of the current logging configuration.

Usage

prometheusservice_update_logging_configuration(clientToken, logGroupArn,
  workspaceId)

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.

workspaceId

[required] The ID of the workspace to update 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"
  )
)

Request syntax

svc$update_logging_configuration(
  clientToken = "string",
  logGroupArn = "string",
  workspaceId = "string"
)