put_logging_options

IoTFleetWise.Client.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