Amazon WorkSpaces Web Network Settings API

The Network Settings API from Amazon WorkSpaces Web — 2 operation(s) for network settings.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 7

POST /networkSettings Create Network Settings #
GET /networkSettings List Network Settings #
GET /networkSettings/{networkSettingsArn+} Get Network Settings #
PATCH /networkSettings/{networkSettingsArn+} Update Network Settings #
DELETE /networkSettings/{networkSettingsArn+} Delete Network Settings #
PUT /portals/{portalArn+}/networkSettings Associate Network Settings #
DELETE /portals/{portalArn+}/networkSettings Disassociate Network 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-network-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-network-settings-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Amazon WorkSpaces Web Network 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:
  /networkSettings:
    post:
      operationId: CreateNetworkSettings
      summary: Create Network Settings
      description: Creates a network settings resource that can be associated with a web portal. Once associated with a web
        portal, network settings define how streaming instances will connect with your specified VPC.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateNetworkSettingsResponse'
        '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:
                vpcId:
                  type: string
                  description: The VPC that streaming instances will connect to.
                subnetIds:
                  type: array
                  items:
                    type: string
                  description: The subnets in which network interfaces are created to connect streaming instances to your
                    VPC. At least two of these subnets must be in different availability zones.
                securityGroupIds:
                  type: array
                  items:
                    type: string
                  description: One or more security groups used to control access from streaming instances to your VPC.
                tags:
                  type: array
                  items:
                    $ref: '#/components/schemas/Tag'
                  description: The tags to add to the network 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:
              - vpcId
              - subnetIds
              - securityGroupIds
      tags:
      - Network Settings
    get:
      operationId: ListNetworkSettings
      summary: List Network Settings
      description: Retrieves a list of network settings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListNetworkSettingsResponse'
        '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:
      - Network Settings
  /networkSettings/{networkSettingsArn+}:
    get:
      operationId: GetNetworkSettings
      summary: Get Network Settings
      description: Gets the network settings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetNetworkSettingsResponse'
        '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: networkSettingsArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the network settings.
      tags:
      - Network Settings
    patch:
      operationId: UpdateNetworkSettings
      summary: Update Network Settings
      description: Updates network settings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateNetworkSettingsResponse'
        '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: networkSettingsArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the network settings.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                vpcId:
                  type: string
                  description: The VPC that streaming instances will connect to.
                subnetIds:
                  type: array
                  items:
                    type: string
                  description: The subnets in which network interfaces are created to connect streaming instances to your
                    VPC. At least two of these subnets must be in different availability zones.
                securityGroupIds:
                  type: array
                  items:
                    type: string
                  description: One or more security groups used to control access from streaming instances to your VPC.
                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:
      - Network Settings
    delete:
      operationId: DeleteNetworkSettings
      summary: Delete Network Settings
      description: Deletes network settings.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteNetworkSettingsResponse'
        '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: networkSettingsArn
        in: path
        required: true
        schema:
          type: string
        description: The ARN of the network settings.
      tags:
      - Network Settings
  /portals/{portalArn+}/networkSettings:
    put:
      operationId: AssociateNetworkSettings
      summary: Associate Network Settings
      description: Associates a network settings resource with a web portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AssociateNetworkSettingsResponse'
        '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: networkSettingsArn
        in: query
        required: true
        schema:
          type: string
        description: The ARN of the network settings.
      tags:
      - Network Settings
    delete:
      operationId: DisassociateNetworkSettings
      summary: Disassociate Network Settings
      description: Disassociates network settings from a web portal.
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DisassociateNetworkSettingsResponse'
        '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:
      - Network 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
    AssociateNetworkSettingsResponse:
      type: object
      properties:
        portalArn:
          type: string
          description: The ARN of the web portal.
        networkSettingsArn:
          type: string
          description: The ARN of the network settings.
      required:
      - portalArn
      - networkSettingsArn
    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.
    CreateNetworkSettingsResponse:
      type: object
      properties:
        networkSettingsArn:
          type: string
          description: The ARN of the network settings.
      required:
      - networkSettingsArn
    DeleteNetworkSettingsResponse:
      type: object
      properties: {}
    DisassociateNetworkSettingsResponse:
      type: object
      properties: {}
    GetNetworkSettingsResponse:
      type: object
      properties:
        networkSettings:
          $ref: '#/components/schemas/NetworkSettings'
    InternalServerException:
      type: object
      properties:
        message:
          type: string
        retryAfterSeconds:
          type: integer
          description: Advice to clients on when the call can be safely retried.
    ListNetworkSettingsResponse:
      type: object
      properties:
        networkSettings:
          type: array
          items:
            $ref: '#/components/schemas/NetworkSettingsSummary'
          description: The network settings.
        nextToken:
          type: string
          description: The pagination token used to retrieve the next page of results for this operation.
    NetworkSettings:
      type: object
      properties:
        networkSettingsArn:
          type: string
          description: The ARN of the network settings.
        associatedPortalArns:
          type: array
          items:
            type: string
          description: A list of web portal ARNs that this network settings is associated with.
        vpcId:
          type: string
          description: The VPC that streaming instances will connect to.
        subnetIds:
          type: array
          items:
            type: string
          description: The subnets in which network interfaces are created to connect streaming instances to your VPC. At
            least two of these subnets must be in different availability zones.
        securityGroupIds:
          type: array
          items:
            type: string
          description: One or more security groups used to control access from streaming instances to your VPC.
      required:
      - networkSettingsArn
    NetworkSettingsSummary:
      type: object
      properties:
        networkSettingsArn:
          type: string
          description: The ARN of the network settings.
        vpcId:
          type: string
          description: The VPC ID of the network settings.
      required:
      - networkSettingsArn
    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.
    UpdateNetworkSettingsResponse:
      type: object
      properties:
        networkSettings:
          $ref: '#/components/schemas/NetworkSettings'
      required:
      - networkSettings
    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)