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.

put_logging_options

put_logging_options(**kwargs)

Creates or updates the logging option.

See also: AWS API Documentation

Request Syntax

response = client.put_logging_options(
    cloudWatchLogDelivery={
        'logType': 'OFF'|'ERROR',
        'logGroupName': 'string'
    }
)
Parameters
cloudWatchLogDelivery (dict) --

[REQUIRED]

Creates or updates the log delivery option to Amazon CloudWatch Logs.

  • logType (string) -- [REQUIRED]

    The type of log to send data to Amazon CloudWatch Logs.

  • logGroupName (string) --

    The Amazon CloudWatch Logs group the operation sends data to.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

Exceptions

  • IoTFleetWise.Client.exceptions.ResourceNotFoundException
  • IoTFleetWise.Client.exceptions.InternalServerException
  • IoTFleetWise.Client.exceptions.ConflictException
  • IoTFleetWise.Client.exceptions.ThrottlingException
  • IoTFleetWise.Client.exceptions.ValidationException
  • IoTFleetWise.Client.exceptions.AccessDeniedException