---
title: "POST /sessionLoggers/{sessionLoggerArn}"
method: POST
path: "/sessionLoggers/{sessionLoggerArn}"
---

# POST /sessionLoggers/{sessionLoggerArn}

`POST /sessionLoggers/{sessionLoggerArn}`

Updates the details of a session logger.

## Path parameters

- `sessionLoggerArn` string, required

## Request body

- object
  - `eventFilter` object — The filter that specifies the events to monitor.
    - `all` object — The filter that monitors all of the available events, including any new events emitted in the future.
    - `include` Event[] — The filter that monitors only the listed set of events. New events are not auto-monitored.
  - `logConfiguration` object — The configuration of the log.
    - `s3` object — The configuration for delivering the logs to S3.
      - `bucket` string, password, required — The S3 bucket name where logs are delivered.
      - `keyPrefix` string, password — The S3 path prefix that determines where log files are stored.
      - `bucketOwner` string — The expected bucket owner of the target S3 bucket. The caller must have permissions to write to the target bucket.
      - `logFileFormat` 'JSONLines' | 'Json', required — The format of the LogFile that is written to S3.
      - `folderStructure` 'Flat' | 'NestedByDate', required — The folder structure that defines the organizational structure for log files in S3.
  - `displayName` string, password — The updated display name.

## Response `200`

Success

- UpdateSessionLoggerResponse
  - `sessionLogger` object, required — The updated details of the session logger.
    - `sessionLoggerArn` string, required — The ARN of the session logger resource.
    - `eventFilter` object — The filter that specifies which events to monitor.
      - `all` object — The filter that monitors all of the available events, including any new events emitted in the future.
      - `include` Event[] — The filter that monitors only the listed set of events. New events are not auto-monitored.
    - `logConfiguration` object — The configuration that specifies where logs are fowarded.
      - `s3` object — The configuration for delivering the logs to S3.
        - `bucket` string, password, required — The S3 bucket name where logs are delivered.
        - `keyPrefix` string, password — The S3 path prefix that determines where log files are stored.
        - `bucketOwner` string — The expected bucket owner of the target S3 bucket. The caller must have permissions to write to the target bucket.
        - `logFileFormat` 'JSONLines' | 'Json', required — The format of the LogFile that is written to S3.
        - `folderStructure` 'Flat' | 'NestedByDate', required — The folder structure that defines the organizational structure for log files in S3.
    - `customerManagedKey` string — The custom managed key of the session logger.
    - `additionalEncryptionContext` object — The additional encryption context of the session logger.
    - `associatedPortalArns` ARN[] — The associated portal ARN.
    - `displayName` string, password — The human-readable display name.
    - `creationDate` string, date-time — The date the session logger resource was created.

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