Skip to content

/AWS1/CL_AMP=>CREATELOGGINGCONFIGURATION()

About CreateLoggingConfiguration

The CreateLoggingConfiguration 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.

Method Signature

IMPORTING

Required arguments:

IV_WORKSPACEID TYPE /AWS1/AMPWORKSPACEID

The ID of the workspace to create the logging configuration for.

IV_LOGGROUPARN TYPE /AWS1/AMPLOGGROUPARN

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.

Optional arguments:

IV_CLIENTTOKEN TYPE /AWS1/AMPIDEMPOTENCYTOKEN

A unique identifier that you can provide to ensure the idempotency of the request. Case-sensitive.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_AMPCREATELOGCONFRSP