Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

update_logging_configuration

update_logging_configuration(**kwargs)

Update logging configuration.

See also: AWS API Documentation

Request Syntax

response = client.update_logging_configuration(
    clientToken='string',
    logGroupArn='string',
    workspaceId='string'
)
Parameters
  • clientToken (string) --

    Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.

    This field is autopopulated if not provided.

  • logGroupArn (string) --

    [REQUIRED]

    The ARN of the CW log group to which the vended log data will be published.

  • workspaceId (string) --

    [REQUIRED]

    The ID of the workspace to vend logs to.

Return type

dict

Returns

Response Syntax

{
    'status': {
        'statusCode': 'CREATING'|'ACTIVE'|'UPDATING'|'DELETING'|'CREATION_FAILED'|'UPDATE_FAILED',
        'statusReason': 'string'
    }
}

Response Structure

  • (dict) --

    Represents the output of an UpdateLoggingConfiguration operation.

    • status (dict) --

      The status of the logging configuration.

      • statusCode (string) --

        Status code of the logging configuration.

      • statusReason (string) --

        The reason for failure if any.

Exceptions

  • PrometheusService.Client.exceptions.ConflictException
  • PrometheusService.Client.exceptions.ValidationException
  • PrometheusService.Client.exceptions.ResourceNotFoundException
  • PrometheusService.Client.exceptions.AccessDeniedException
  • PrometheusService.Client.exceptions.InternalServerException