---
title: "PATCH /userAccessLoggingSettings/{userAccessLoggingSettingsArn}"
method: PATCH
path: "/userAccessLoggingSettings/{userAccessLoggingSettingsArn}"
---

# PATCH /userAccessLoggingSettings/{userAccessLoggingSettingsArn}

`PATCH /userAccessLoggingSettings/{userAccessLoggingSettingsArn}`

Updates the user access logging settings.

## Path parameters

- `userAccessLoggingSettingsArn` string, required

## Request body

- object
  - `kinesisStreamArn` string — Kinesis stream ARN to which log events are published.
  - `clientToken` string — <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token return the result from the original successful request. </p> <p>If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.</p>

## Response `200`

Success

- UpdateUserAccessLoggingSettingsResponse
  - `userAccessLoggingSettings` object, required — The user access logging settings.
    - `userAccessLoggingSettingsArn` string, required — The ARN of the user access logging settings.
    - `associatedPortalArns` ARN[] — A list of web portal ARNs that this user access logging settings is associated with.
    - `kinesisStreamArn` string — The ARN of the Kinesis stream.

## Other responses

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

---

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