---
title: "POST /#X-Amz-Target=IoTAutobahnControlPlane.PutLoggingOptions"
method: POST
path: "/#X-Amz-Target=IoTAutobahnControlPlane.PutLoggingOptions"
---

# POST /#X-Amz-Target=IoTAutobahnControlPlane.PutLoggingOptions

`POST /#X-Amz-Target=IoTAutobahnControlPlane.PutLoggingOptions`

Creates or updates the logging option.

## Headers

- `X-Amz-Target` 'IoTAutobahnControlPlane.PutLoggingOptions', required

## Request body

- PutLoggingOptionsRequest
  - `cloudWatchLogDelivery` object, required — Creates or updates the log delivery option to Amazon CloudWatch Logs.
    - `logType` 'OFF' | 'ERROR', required — The type of log to send data to Amazon CloudWatch Logs.
    - `logGroupName` string — The Amazon CloudWatch Logs group the operation sends data to.

## Response `200`

Success

- PutLoggingOptionsResponse

## Other responses

- `480` — ResourceNotFoundException
- `481` — InternalServerException
- `482` — ConflictException
- `483` — ThrottlingException
- `484` — ValidationException
- `485` — AccessDeniedException

---

[API](https://skmtc.net/aws/apis/iotfleetwise.md) · [All operations](https://skmtc.net/aws/apis/iotfleetwise/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/iotfleetwise/versions/0f1f9edeb409/schema)
