---
title: "POST /userAccessLoggingSettings"
method: POST
path: "/userAccessLoggingSettings"
---

# POST /userAccessLoggingSettings

`POST /userAccessLoggingSettings`

Creates a user access logging settings resource that can be associated with a web portal.

## Request body

- object
  - `kinesisStreamArn` string, required — Kinesis stream ARN to which log events are published.
  - `tags` Tag[] — The tags to add to the user settings resource. A tag is a key-value pair.
    - `Key` string, password, required — The key of the tag.
    - `Value` string, password, required — The value of the tag
  - `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 returns 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

- CreateUserAccessLoggingSettingsResponse
  - `userAccessLoggingSettingsArn` string, required — The ARN of the user access logging settings.

## Other responses

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

---

[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)
