Amazon WorkSpaces Web User Access Logging Settings API

The User Access Logging Settings API from Amazon WorkSpaces Web — 2 operation(s) for user access logging settings.

GitHub OpenAPI

Operations 7

PUT /portals/{portalArn+}/userAccessLoggingSettings Associate User Access Logging Settings #
DELETE /portals/{portalArn+}/userAccessLoggingSettings Disassociate User Access Logging Settings #
POST /userAccessLoggingSettings Create User Access Logging Settings #
GET /userAccessLoggingSettings List User Access Logging Settings #
GET /userAccessLoggingSettings/{userAccessLoggingSettingsArn+} Get User Access Logging Settings #
PATCH /userAccessLoggingSettings/{userAccessLoggingSettingsArn+} Update User Access Logging Settings #
DELETE /userAccessLoggingSettings/{userAccessLoggingSettingsArn+} Delete User Access Logging Settings #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-workspaces-web:amazon-workspaces-web-user-access-logging-settings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-workspaces-web-user-access-logging-settings-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon WorkSpaces Web User Access Logging Settings API
  version: '2020-07-08'
  description: Generated from AWS's published Smithy model for Amazon WorkSpaces Web. 7 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://workspaces-web.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:
- sigv4: []
paths:
  /portals/{portalArn+}/userAccessLoggingSettings:
    put:
      operationId: AssociateUserAccessLoggingSettings
      summary: Associate User Access Logging Settings
      description: Associates a user access logging settings resource with a web portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssociateUserAccessLoggingSettingsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: portalArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the web portal.
      - name: userAccessLoggingSettingsArn
        in: query
        required: true
        schema:
          type: string
        description: The ARN of the user access logging settings.
      tags:
      - User Access Logging Settings
    delete:
      operationId: DisassociateUserAccessLoggingSettings
      summary: Disassociate User Access Logging Settings
      description: Disassociates user access logging settings from a web portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DisassociateUserAccessLoggingSettingsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: portalArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the web portal.
      tags:
      - User Access Logging Settings
  /userAccessLoggingSettings:
    post:
      operationId: CreateUserAccessLoggingSettings
      summary: Create User Access Logging Settings
      description: Creates a user access logging settings resource that can be associated with a web portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateUserAccessLoggingSettingsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '402':
          description: ServiceQuotaExceededException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServiceQuotaExceededException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                kinesisStreamArn:
                  type: string
                  description: The ARN of the Kinesis stream.
                tags:
                  type: array
                  items:
                    $ref: '#/components/schemas/Tag'
                  description: The tags to add to the user settings resource. A tag is a key-value pair.
                clientToken:
                  type: string
                  description: 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. If you do not specify a client token, one is automatically generated
                    by the Amazon Web Services SDK.
              required:
              - kinesisStreamArn
      tags:
      - User Access Logging Settings
    get:
      operationId: ListUserAccessLoggingSettings
      summary: List User Access Logging Settings
      description: Retrieves a list of user access logging settings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListUserAccessLoggingSettingsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: nextToken
        in: query
        schema:
          type: string
        description: The pagination token used to retrieve the next page of results for this operation.
      - name: maxResults
        in: query
        schema:
          type: integer
        description: The maximum number of results to be included in the next page.
      tags:
      - User Access Logging Settings
  /userAccessLoggingSettings/{userAccessLoggingSettingsArn+}:
    get:
      operationId: GetUserAccessLoggingSettings
      summary: Get User Access Logging Settings
      description: Gets user access logging settings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetUserAccessLoggingSettingsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: userAccessLoggingSettingsArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the user access logging settings.
      tags:
      - User Access Logging Settings
    patch:
      operationId: UpdateUserAccessLoggingSettings
      summary: Update User Access Logging Settings
      description: Updates the user access logging settings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateUserAccessLoggingSettingsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '404':
          description: ResourceNotFoundException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceNotFoundException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: userAccessLoggingSettingsArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the user access logging settings.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                kinesisStreamArn:
                  type: string
                  description: The ARN of the Kinesis stream.
                clientToken:
                  type: string
                  description: 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. If you do not specify a client token, one is automatically generated by the
                    Amazon Web Services SDK.
      tags:
      - User Access Logging Settings
    delete:
      operationId: DeleteUserAccessLoggingSettings
      summary: Delete User Access Logging Settings
      description: Deletes user access logging settings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteUserAccessLoggingSettingsResponse'
        '403':
          description: AccessDeniedException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccessDeniedException'
        '409':
          description: ConflictException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConflictException'
        '500':
          description: InternalServerException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalServerException'
        '429':
          description: ThrottlingException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ThrottlingException'
        '400':
          description: ValidationException
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationException'
      parameters:
      - name: userAccessLoggingSettingsArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the user access logging settings.
      tags:
      - User Access Logging Settings
components:
  securitySchemes:
    sigv4:
      type: apiKey
      in: header
      name: Authorization
      description: AWS Signature Version 4. The Authorization header carries an AWS4-HMAC-SHA256 signature over the canonical
        request, with X-Amz-Date (and X-Amz-Security-Token for temporary credentials). Not a bearer token.
      x-aws-sigv4:
        signingName: workspaces-web
  schemas:
    AccessDeniedException:
      type: object
      properties:
        message:
          type: string
    AssociateUserAccessLoggingSettingsResponse:
      type: object
      properties:
        portalArn:
          type: string
          description: The ARN of the web portal.
        userAccessLoggingSettingsArn:
          type: string
          description: The ARN of the user access logging settings.
      required:
      - portalArn
      - userAccessLoggingSettingsArn
    ConflictException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: Identifier of the resource affected.
        resourceType:
          type: string
          description: Type of the resource affected.
    CreateUserAccessLoggingSettingsResponse:
      type: object
      properties:
        userAccessLoggingSettingsArn:
          type: string
          description: The ARN of the user access logging settings.
      required:
      - userAccessLoggingSettingsArn
    DeleteUserAccessLoggingSettingsResponse:
      type: object
      properties: {}
    DisassociateUserAccessLoggingSettingsResponse:
      type: object
      properties: {}
    GetUserAccessLoggingSettingsResponse:
      type: object
      properties:
        userAccessLoggingSettings:
          $ref: '#/components/schemas/UserAccessLoggingSettings'
    InternalServerException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: Advice to clients on when the call can be safely retried.
    ListUserAccessLoggingSettingsResponse:
      type: object
      properties:
        userAccessLoggingSettings:
          type: array
          items:
            $ref: '#/components/schemas/UserAccessLoggingSettingsSummary'
          description: The user access logging settings.
        nextToken:
          type: string
          description: The pagination token used to retrieve the next page of results for this operation.
    ResourceNotFoundException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: Hypothetical identifier of the resource affected.
        resourceType:
          type: string
          description: Hypothetical type of the resource affected.
    ServiceQuotaExceededException:
      type: object
      properties:
        message:
          type: string
        resourceId:
          type: string
          description: Identifier of the resource affected.
        resourceType:
          type: string
          description: Type of the resource affected.
        serviceCode:
          type: string
          description: The originating service.
        quotaCode:
          type: string
          description: The originating quota.
    Tag:
      type: object
      properties:
        Key:
          type: string
          description: The key of the tag.
        Value:
          type: string
          description: The value of the tag
      required:
      - Key
      - Value
    ThrottlingException:
      type: object
      properties:
        message:
          type: string
        serviceCode:
          type: string
          description: The originating service.
        quotaCode:
          type: string
          description: The originating quota.
        retryAfterSeconds:
          type: integer
          description: Advice to clients on when the call can be safely retried.
    UpdateUserAccessLoggingSettingsResponse:
      type: object
      properties:
        userAccessLoggingSettings:
          $ref: '#/components/schemas/UserAccessLoggingSettings'
      required:
      - userAccessLoggingSettings
    UserAccessLoggingSettings:
      type: object
      properties:
        userAccessLoggingSettingsArn:
          type: string
          description: The ARN of the user access logging settings.
        associatedPortalArns:
          type: array
          items:
            type: string
          description: A list of web portal ARNs that this user access logging settings is associated with.
        kinesisStreamArn:
          type: string
          description: The ARN of the Kinesis stream.
      required:
      - userAccessLoggingSettingsArn
    UserAccessLoggingSettingsSummary:
      type: object
      properties:
        userAccessLoggingSettingsArn:
          type: string
          description: The ARN of the user access logging settings.
        kinesisStreamArn:
          type: string
          description: The ARN of the Kinesis stream.
      required:
      - userAccessLoggingSettingsArn
    ValidationException:
      type: object
      properties:
        message:
          type: string
        reason:
          type: string
          description: Reason the request failed validation
        fieldList:
          type: array
          items:
            $ref: '#/components/schemas/ValidationExceptionField'
          description: The field that caused the error.
    ValidationExceptionField:
      type: object
      properties:
        name:
          type: string
          description: The name of the field that failed validation.
        message:
          type: string
          description: The message describing why the field failed validation.
      required:
      - name
      - message
x-provenance:
  method: harvested
  publisher: Amazon Web Services
  source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/workspaces-web/service/2020-07-08/workspaces-web-2020-07-08.json
  note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)