{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-workspaces-web/json-schema/amazon-workspaces-web-list-session-loggers-response-schema.json",
  "title": "ListSessionLoggersResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-workspaces-web-sessionloggers-api-openapi.yml#/components/schemas/ListSessionLoggersResponse",
  "type": "object",
  "properties": {
    "sessionLoggers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/SessionLoggerSummary"
      },
      "description": "The list of session loggers, including summaries of their details."
    },
    "nextToken": {
      "type": "string",
      "description": "The pagination token used to retrieve the next page of results for this operation."
    }
  },
  "$defs": {
    "LogConfiguration": {
      "type": "object",
      "properties": {
        "s3": {
          "$ref": "#/$defs/S3LogConfiguration"
        }
      }
    },
    "S3LogConfiguration": {
      "type": "object",
      "properties": {
        "bucket": {
          "type": "string",
          "description": "The S3 bucket name where logs are delivered."
        },
        "keyPrefix": {
          "type": "string",
          "description": "The S3 path prefix that determines where log files are stored."
        },
        "bucketOwner": {
          "type": "string",
          "description": "The expected bucket owner of the target S3 bucket. The caller must have permissions to write to the target bucket."
        },
        "logFileFormat": {
          "type": "string",
          "enum": [
            "JSONLines",
            "Json"
          ],
          "description": "The format of the LogFile that is written to S3."
        },
        "folderStructure": {
          "type": "string",
          "enum": [
            "Flat",
            "NestedByDate"
          ],
          "description": "The folder structure that defines the organizational structure for log files in S3."
        }
      },
      "required": [
        "bucket",
        "logFileFormat",
        "folderStructure"
      ]
    },
    "SessionLoggerSummary": {
      "type": "object",
      "properties": {
        "sessionLoggerArn": {
          "type": "string",
          "description": "The ARN of the session logger resource."
        },
        "logConfiguration": {
          "$ref": "#/$defs/LogConfiguration"
        },
        "displayName": {
          "type": "string",
          "description": "The human-readable display name."
        },
        "creationDate": {
          "type": "string",
          "format": "date-time",
          "description": "The date the session logger resource was created."
        }
      },
      "required": [
        "sessionLoggerArn"
      ]
    }
  }
}