Amazon WorkSpaces Web Trust Stores API

The Trust Stores API from Amazon WorkSpaces Web — 4 operation(s) for trust stores.

GitHub OpenAPI

Operations 9

PUT /portals/{portalArn+}/trustStores Associate Trust Store #
DELETE /portals/{portalArn+}/trustStores Disassociate Trust Store #
POST /trustStores Create Trust Store #
GET /trustStores List Trust Stores #
GET /trustStores/{trustStoreArn+} Get Trust Store #
PATCH /trustStores/{trustStoreArn+} Update Trust Store #
DELETE /trustStores/{trustStoreArn+} Delete Trust Store #
GET /trustStores/{trustStoreArn+}/certificate Get Trust Store Certificate #
GET /trustStores/{trustStoreArn+}/certificates List Trust Store Certificates #

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-trust-stores-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-trust-stores-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon WorkSpaces Web Trust Stores API
  version: '2020-07-08'
  description: Generated from AWS's published Smithy model for Amazon WorkSpaces Web. 9 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+}/trustStores:
    put:
      operationId: AssociateTrustStore
      summary: Associate Trust Store
      description: Associates a trust store with a web portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssociateTrustStoreResponse'
        '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: trustStoreArn
        in: query
        required: true
        schema:
          type: string
        description: The ARN of the trust store.
      tags:
      - Trust Stores
    delete:
      operationId: DisassociateTrustStore
      summary: Disassociate Trust Store
      description: Disassociates a trust store from a web portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DisassociateTrustStoreResponse'
        '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:
      - Trust Stores
  /trustStores:
    post:
      operationId: CreateTrustStore
      summary: Create Trust Store
      description: Creates a trust store that can be associated with a web portal. A trust store contains certificate authority
        (CA) certificates. Once associated with a web portal, the browser in a streaming session will recognize certificates
        that have been issued using any of the CAs in the trust store. If your organization has internal websites that use
        certificates issued by private CAs, you should add the private CA certificate to the trust store.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateTrustStoreResponse'
        '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:
                certificateList:
                  type: array
                  items:
                    type: string
                    format: byte
                  description: A list of CA certificates to be added to the trust store.
                tags:
                  type: array
                  items:
                    $ref: '#/components/schemas/Tag'
                  description: The tags to add to the trust store. 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:
              - certificateList
      tags:
      - Trust Stores
    get:
      operationId: ListTrustStores
      summary: List Trust Stores
      description: Retrieves a list of trust stores.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListTrustStoresResponse'
        '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:
      - Trust Stores
  /trustStores/{trustStoreArn+}:
    get:
      operationId: GetTrustStore
      summary: Get Trust Store
      description: Gets the trust store.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTrustStoreResponse'
        '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: trustStoreArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the trust store.
      tags:
      - Trust Stores
    patch:
      operationId: UpdateTrustStore
      summary: Update Trust Store
      description: Updates the trust store.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateTrustStoreResponse'
        '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'
        '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'
      parameters:
      - name: trustStoreArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the trust store.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                certificatesToAdd:
                  type: array
                  items:
                    type: string
                    format: byte
                  description: A list of CA certificates to add to the trust store.
                certificatesToDelete:
                  type: array
                  items:
                    type: string
                  description: A list of CA certificates to delete from a trust store.
                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:
      - Trust Stores
    delete:
      operationId: DeleteTrustStore
      summary: Delete Trust Store
      description: Deletes the trust store.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteTrustStoreResponse'
        '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: trustStoreArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the trust store.
      tags:
      - Trust Stores
  /trustStores/{trustStoreArn+}/certificate:
    get:
      operationId: GetTrustStoreCertificate
      summary: Get Trust Store Certificate
      description: Gets the trust store certificate.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetTrustStoreCertificateResponse'
        '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: trustStoreArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the trust store certificate.
      - name: thumbprint
        in: query
        required: true
        schema:
          type: string
        description: The thumbprint of the trust store certificate.
      tags:
      - Trust Stores
  /trustStores/{trustStoreArn+}/certificates:
    get:
      operationId: ListTrustStoreCertificates
      summary: List Trust Store Certificates
      description: Retrieves a list of trust store certificates.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListTrustStoreCertificatesResponse'
        '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: trustStoreArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the trust store
      - 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:
      - Trust Stores
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
    AssociateTrustStoreResponse:
      type: object
      properties:
        portalArn:
          type: string
          description: The ARN of the web portal.
        trustStoreArn:
          type: string
          description: The ARN of the trust store.
      required:
      - portalArn
      - trustStoreArn
    Certificate:
      type: object
      properties:
        thumbprint:
          type: string
          description: A hexadecimal identifier for the certificate.
        subject:
          type: string
          description: The entity the certificate belongs to.
        issuer:
          type: string
          description: The entity that issued the certificate.
        notValidBefore:
          type: string
          format: date-time
          description: The certificate is not valid before this date.
        notValidAfter:
          type: string
          format: date-time
          description: The certificate is not valid after this date.
        body:
          type: string
          format: byte
          description: The body of the certificate.
    CertificateSummary:
      type: object
      properties:
        thumbprint:
          type: string
          description: A hexadecimal identifier for the certificate.
        subject:
          type: string
          description: The entity the certificate belongs to.
        issuer:
          type: string
          description: The entity that issued the certificate.
        notValidBefore:
          type: string
          format: date-time
          description: The certificate is not valid before this date.
        notValidAfter:
          type: string
          format: date-time
          description: The certificate is not valid after this date.
    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.
    CreateTrustStoreResponse:
      type: object
      properties:
        trustStoreArn:
          type: string
          description: The ARN of the trust store.
      required:
      - trustStoreArn
    DeleteTrustStoreResponse:
      type: object
      properties: {}
    DisassociateTrustStoreResponse:
      type: object
      properties: {}
    GetTrustStoreCertificateResponse:
      type: object
      properties:
        trustStoreArn:
          type: string
          description: The ARN of the trust store certificate.
        certificate:
          $ref: '#/components/schemas/Certificate'
      required:
      - trustStoreArn
    GetTrustStoreResponse:
      type: object
      properties:
        trustStore:
          $ref: '#/components/schemas/TrustStore'
    InternalServerException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: Advice to clients on when the call can be safely retried.
    ListTrustStoreCertificatesResponse:
      type: object
      properties:
        certificateList:
          type: array
          items:
            $ref: '#/components/schemas/CertificateSummary'
          description: The certificate list.
        trustStoreArn:
          type: string
          description: The ARN of the trust store.
        nextToken:
          type: string
          description: The pagination token used to retrieve the next page of results for this operation.>
      required:
      - trustStoreArn
    ListTrustStoresResponse:
      type: object
      properties:
        trustStores:
          type: array
          items:
            $ref: '#/components/schemas/TrustStoreSummary'
          description: The trust stores.
        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.
    TrustStore:
      type: object
      properties:
        associatedPortalArns:
          type: array
          items:
            type: string
          description: A list of web portal ARNs that this trust store is associated with.
        trustStoreArn:
          type: string
          description: The ARN of the trust store.
      required:
      - trustStoreArn
    TrustStoreSummary:
      type: object
      properties:
        trustStoreArn:
          type: string
          description: The ARN of the trust store.
    UpdateTrustStoreResponse:
      type: object
      properties:
        trustStoreArn:
          type: string
          description: The ARN of the trust store.
      required:
      - trustStoreArn
    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)