Amazon WorkSpaces Web Workspaces Web Dataprotectionsettings API

The Workspaces Web Dataprotectionsettings API from Amazon WorkSpaces Web — 3 operation(s) for workspaces web dataprotectionsettings.

GitHub OpenAPI

Operations 7

POST /dataProtectionSettings Create Data Protection Settings #
GET /dataProtectionSettings List Data Protection Settings #
GET /dataProtectionSettings/{dataProtectionSettingsArn+} Get Data Protection Settings #
PATCH /dataProtectionSettings/{dataProtectionSettingsArn+} Update Data Protection Settings #
DELETE /dataProtectionSettings/{dataProtectionSettingsArn+} Delete Data Protection Settings #
PUT /portals/{portalArn+}/dataProtectionSettings Associate Data Protection Settings #
DELETE /portals/{portalArn+}/dataProtectionSettings Disassociate Data Protection Settings #

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-dataprotectionsettings-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-dataprotectionsettings-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon WorkSpaces Web Dataprotectionsettings 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:
  /dataProtectionSettings:
    post:
      operationId: CreateDataProtectionSettings
      summary: Create Data Protection Settings
      description: Creates a data protection settings resource that can be associated with a web portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateDataProtectionSettingsResponse'
        '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'
        '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:
                displayName:
                  type: string
                  description: The display name of the data protection settings.
                description:
                  type: string
                  description: The description of the data protection settings.
                tags:
                  type: array
                  items:
                    $ref: '#/components/schemas/Tag'
                  description: The tags to add to the data protection settings resource. A tag is a key-value pair.
                customerManagedKey:
                  type: string
                  description: The custom managed key of the data protection settings.
                additionalEncryptionContext:
                  type: object
                  additionalProperties:
                    type: string
                  description: Additional encryption context of the data protection settings.
                inlineRedactionConfiguration:
                  $ref: '#/components/schemas/InlineRedactionConfiguration'
                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.
      tags:
      - Dataprotectionsettings
    get:
      operationId: ListDataProtectionSettings
      summary: List Data Protection Settings
      description: Retrieves a list of data protection settings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListDataProtectionSettingsResponse'
        '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:
      - Dataprotectionsettings
  /dataProtectionSettings/{dataProtectionSettingsArn+}:
    get:
      operationId: GetDataProtectionSettings
      summary: Get Data Protection Settings
      description: Gets the data protection settings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetDataProtectionSettingsResponse'
        '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: dataProtectionSettingsArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the data protection settings.
      tags:
      - Dataprotectionsettings
    patch:
      operationId: UpdateDataProtectionSettings
      summary: Update Data Protection Settings
      description: Updates data protection settings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateDataProtectionSettingsResponse'
        '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: dataProtectionSettingsArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the data protection settings.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                inlineRedactionConfiguration:
                  $ref: '#/components/schemas/InlineRedactionConfiguration'
                displayName:
                  type: string
                  description: The display name of the data protection settings.
                description:
                  type: string
                  description: The description of the data protection settings.
                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:
      - Dataprotectionsettings
    delete:
      operationId: DeleteDataProtectionSettings
      summary: Delete Data Protection Settings
      description: Deletes data protection settings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteDataProtectionSettingsResponse'
        '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: dataProtectionSettingsArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the data protection settings.
      tags:
      - Dataprotectionsettings
  /portals/{portalArn+}/dataProtectionSettings:
    put:
      operationId: AssociateDataProtectionSettings
      summary: Associate Data Protection Settings
      description: Associates a data protection settings resource with a web portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssociateDataProtectionSettingsResponse'
        '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: dataProtectionSettingsArn
        in: query
        required: true
        schema:
          type: string
        description: The ARN of the data protection settings.
      tags:
      - Dataprotectionsettings
    delete:
      operationId: DisassociateDataProtectionSettings
      summary: Disassociate Data Protection Settings
      description: Disassociates data protection settings from a web portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DisassociateDataProtectionSettingsResponse'
        '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:
      - Dataprotectionsettings
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
    AssociateDataProtectionSettingsResponse:
      type: object
      properties:
        portalArn:
          type: string
          description: The ARN of the web portal.
        dataProtectionSettingsArn:
          type: string
          description: The ARN of the data protection settings resource.
      required:
      - portalArn
      - dataProtectionSettingsArn
    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.
    CreateDataProtectionSettingsResponse:
      type: object
      properties:
        dataProtectionSettingsArn:
          type: string
          description: The ARN of the data protection settings resource.
      required:
      - dataProtectionSettingsArn
    CustomPattern:
      type: object
      properties:
        patternName:
          type: string
          description: The pattern name for the custom pattern.
        patternRegex:
          type: string
          description: 'The pattern regex for the customer pattern. The format must follow JavaScript regex format. The pattern
            must be enclosed between slashes, and can have flags behind the second slash. For example: “/ab+c/gi”.'
        patternDescription:
          type: string
          description: The pattern description for the customer pattern.
        keywordRegex:
          type: string
          description: The keyword regex for the customer pattern. After there is a match to the pattern regex, the keyword
            regex is used to search within the proximity of the match. If there is a keyword match, then the match is confirmed.
            If no keyword regex is provided, the pattern regex match will automatically be confirmed. The format must follow
            JavaScript regex format. The pattern must be enclosed between slashes, and can have flags behind the second slash.
            For example, “/ab+c/gi”
      required:
      - patternName
      - patternRegex
    DataProtectionSettings:
      type: object
      properties:
        dataProtectionSettingsArn:
          type: string
          description: The ARN of the data protection settings resource.
        inlineRedactionConfiguration:
          $ref: '#/components/schemas/InlineRedactionConfiguration'
        associatedPortalArns:
          type: array
          items:
            type: string
          description: A list of web portal ARNs that this data protection settings resource is associated with.
        displayName:
          type: string
          description: The display name of the data protection settings.
        description:
          type: string
          description: The description of the data protection settings.
        creationDate:
          type: string
          format: date-time
          description: The creation date timestamp of the data protection settings.
        customerManagedKey:
          type: string
          description: The customer managed key used to encrypt sensitive information in the data protection settings.
        additionalEncryptionContext:
          type: object
          additionalProperties:
            type: string
          description: The additional encryption context of the data protection settings.
      required:
      - dataProtectionSettingsArn
    DataProtectionSettingsSummary:
      type: object
      properties:
        dataProtectionSettingsArn:
          type: string
          description: The ARN of the data protection settings.
        displayName:
          type: string
          description: The display name of the data protection settings.
        description:
          type: string
          description: The description of the data protection settings.
        creationDate:
          type: string
          format: date-time
          description: The creation date timestamp of the data protection settings.
      required:
      - dataProtectionSettingsArn
    DeleteDataProtectionSettingsResponse:
      type: object
      properties: {}
    DisassociateDataProtectionSettingsResponse:
      type: object
      properties: {}
    GetDataProtectionSettingsResponse:
      type: object
      properties:
        dataProtectionSettings:
          $ref: '#/components/schemas/DataProtectionSettings'
    InlineRedactionConfiguration:
      type: object
      properties:
        inlineRedactionPatterns:
          type: array
          items:
            $ref: '#/components/schemas/InlineRedactionPattern'
          description: The inline redaction patterns to be enabled for the inline redaction configuration.
        globalEnforcedUrls:
          type: array
          items:
            type: string
          description: The global enforced URL configuration for the inline redaction configuration. This is applied to patterns
            that do not have a pattern-level enforced URL list.
        globalExemptUrls:
          type: array
          items:
            type: string
          description: The global exempt URL configuration for the inline redaction configuration. This is applied to patterns
            that do not have a pattern-level exempt URL list.
        globalConfidenceLevel:
          type: integer
          description: The global confidence level for the inline redaction configuration. This indicates the certainty of
            data type matches in the redaction process. Confidence level 3 means high confidence, and requires a formatted
            text pattern match in order for content to be redacted. Confidence level 2 means medium confidence, and redaction
            considers both formatted and unformatted text, and adds keyword associate to the logic. Confidence level 1 means
            low confidence, and redaction is enforced for both formatted pattern + unformatted pattern without keyword. This
            is applied to patterns that do not have a pattern
      required:
      - inlineRedactionPatterns
    InlineRedactionPattern:
      type: object
      properties:
        builtInPatternId:
          type: string
          description: The built-in pattern from the list of preconfigured patterns. Either a customPattern or builtInPatternId
            is required.
        customPattern:
          $ref: '#/components/schemas/CustomPattern'
        redactionPlaceHolder:
          $ref: '#/components/schemas/RedactionPlaceHolder'
        enforcedUrls:
          type: array
          items:
            type: string
          description: The enforced URL configuration for the inline redaction pattern. This will override the global enforced
            URL configuration.
        exemptUrls:
          type: array
          items:
            type: string
          description: The exempt URL configuration for the inline redaction pattern. This will override the global exempt
            URL configuration for the inline redaction pattern.
        confidenceLevel:
          type: integer
          description: The confidence level for inline redaction pattern. This indicates the certainty of data type matches
            in the redaction process. Confidence level 3 means high confidence, and requires a formatted text pattern match
            in order for content to be redacted. Confidence level 2 means medium confidence, and redaction considers both
            formatted and unformatted text, and adds keyword associate to the logic. Confidence level 1 means low confidence,
            and redaction is enforced for both formatted pattern + unformatted pattern without keyword. This overrides the
            global confidence level.
      required:
      - redactionPlaceHolder
    InternalServerException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: Advice to clients on when the call can be safely retried.
    ListDataProtectionSettingsResponse:
      type: object
      properties:
        dataProtectionSettings:
          type: array
          items:
            $ref: '#/components/schemas/DataProtectionSettingsSummary'
          description: The data protection settings.
        nextToken:
          type: string
          description: The pagination token used to retrieve the next page of results for this operation.
    RedactionPlaceHolder:
      type: object
      properties:
        redactionPlaceHolderType:
          type: string
          description: The redaction placeholder type that will replace the redacted text in session.
        redactionPlaceHolderText:
          type: string
          description: The redaction placeholder text that will replace the redacted text in session for the custom text redaction
            placeholder type.
      required:
      - redactionPlaceHolderType
    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.
    UpdateDataProtectionSettingsResponse:
      type: object
      properties:
        dataProtectionSettings:
          $ref: '#/components/schemas/DataProtectionSettings'
      required:
      - dataProtectionSettings
    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)