Amazon WorkSpaces Workspaces Volume API
The Workspaces Volume API from Amazon WorkSpaces — 5 operation(s) for workspaces volume.
The Workspaces Volume API from Amazon WorkSpaces — 5 operation(s) for workspaces volume.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/amazon-workspaces:amazon-workspaces-volume-api"
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.
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: 3.1.0
info:
title: Amazon WorkSpaces Volume API
version: '2015-04-08'
description: Generated from AWS's published Smithy model for Amazon WorkSpaces. 5 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-instances.{region}.amazonaws.com
variables:
region:
default: us-east-1
security:
- sigv4: []
paths:
/#AssociateVolume:
post:
operationId: AssociateVolume
summary: Associate Volume
description: Attaches a volume to a WorkSpace Instance.
responses:
'200':
description: Success
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/AssociateVolumeResponse'
'403':
description: AccessDeniedException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/WorkspacesInstancesAccessDeniedException'
'409':
description: ConflictException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/InternalServerException'
'404':
description: ResourceNotFoundException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/WorkspacesInstancesResourceNotFoundException'
'429':
description: ThrottlingException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ThrottlingException'
'400':
description: ValidationException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ValidationException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- EUCMIFrontendAPIService.AssociateVolume
requestBody:
required: true
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/AssociateVolumeRequest'
tags:
- Volume
/#CreateVolume:
post:
operationId: CreateVolume
summary: Create Volume
description: Creates a new volume for WorkSpace Instances.
responses:
'200':
description: Success
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/CreateVolumeResponse'
'403':
description: AccessDeniedException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/WorkspacesInstancesAccessDeniedException'
'409':
description: ConflictException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/InternalServerException'
'402':
description: ServiceQuotaExceededException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ServiceQuotaExceededException'
'429':
description: ThrottlingException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ThrottlingException'
'400':
description: ValidationException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ValidationException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- EUCMIFrontendAPIService.CreateVolume
requestBody:
required: true
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/CreateVolumeRequest'
tags:
- Volume
/#DeleteVolume:
post:
operationId: DeleteVolume
summary: Delete Volume
description: Deletes a specified volume.
responses:
'200':
description: Success
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/DeleteVolumeResponse'
'403':
description: AccessDeniedException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/WorkspacesInstancesAccessDeniedException'
'409':
description: ConflictException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/InternalServerException'
'404':
description: ResourceNotFoundException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/WorkspacesInstancesResourceNotFoundException'
'429':
description: ThrottlingException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ThrottlingException'
'400':
description: ValidationException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ValidationException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- EUCMIFrontendAPIService.DeleteVolume
requestBody:
required: true
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/DeleteVolumeRequest'
tags:
- Volume
/#DisassociateVolume:
post:
operationId: DisassociateVolume
summary: Disassociate Volume
description: Detaches a volume from a WorkSpace Instance.
responses:
'200':
description: Success
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/DisassociateVolumeResponse'
'403':
description: AccessDeniedException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/WorkspacesInstancesAccessDeniedException'
'409':
description: ConflictException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/InternalServerException'
'404':
description: ResourceNotFoundException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/WorkspacesInstancesResourceNotFoundException'
'429':
description: ThrottlingException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ThrottlingException'
'400':
description: ValidationException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ValidationException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- EUCMIFrontendAPIService.DisassociateVolume
requestBody:
required: true
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/DisassociateVolumeRequest'
tags:
- Volume
/#ModifyVolume:
post:
operationId: ModifyVolume
summary: Modify Volume
description: Modifies the size, volume type, IOPS (input/output operations per second), or throughput of a volume. When
you modify a volume, you must specify at least one of these parameters. You can modify a volume only after any previous
modification for that volume has finished. To track the progress of a modification, use the Amazon EC2 DescribeVolumesModifications
operation. For more information, see Monitor the progress of Amazon EBS volume modifications in the Amazon EBS User
Guide. After you increase the size of a volume, you must extend the partition and file system to use the new storage
capacity. For more information, see Extend the file system after resizing an Amazon EBS volume in the Amazon EBS User
Guide, which covers both Linux and Windows instances.
responses:
'200':
description: Success
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ModifyVolumeResponse'
'403':
description: AccessDeniedException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/WorkspacesInstancesAccessDeniedException'
'409':
description: ConflictException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ConflictException'
'500':
description: InternalServerException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/InternalServerException'
'404':
description: ResourceNotFoundException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/WorkspacesInstancesResourceNotFoundException'
'402':
description: ServiceQuotaExceededException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ServiceQuotaExceededException'
'429':
description: ThrottlingException; VolumeModificationRateExceededException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ThrottlingException'
'400':
description: ValidationException
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ValidationException'
parameters:
- name: X-Amz-Target
in: header
required: true
schema:
type: string
enum:
- EUCMIFrontendAPIService.ModifyVolume
requestBody:
required: true
content:
application/x-amz-json-1.0:
schema:
$ref: '#/components/schemas/ModifyVolumeRequest'
tags:
- Volume
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-instances
schemas:
AssociateVolumeRequest:
type: object
properties:
WorkspaceInstanceId:
type: string
description: WorkSpace Instance to attach volume to.
VolumeId:
type: string
description: Volume to be attached.
Device:
type: string
description: Device path for volume attachment.
required:
- WorkspaceInstanceId
- VolumeId
- Device
AssociateVolumeResponse:
type: object
properties: {}
ConflictException:
type: object
properties:
Message:
type: string
description: Description of the conflict encountered.
ResourceId:
type: string
description: Identifier of the conflicting resource.
ResourceType:
type: string
description: Type of the conflicting resource.
required:
- Message
- ResourceId
- ResourceType
CreateVolumeRequest:
type: object
properties:
AvailabilityZone:
type: string
description: Availability zone for the volume.
ClientToken:
type: string
description: Unique token to prevent duplicate volume creation.
Encrypted:
type: boolean
description: Indicates if the volume should be encrypted.
Iops:
type: integer
description: Input/output operations per second for the volume.
KmsKeyId:
type: string
description: KMS key for volume encryption.
SizeInGB:
type: integer
description: Volume size in gigabytes.
SnapshotId:
type: string
description: Source snapshot for volume creation.
TagSpecifications:
type: array
items:
$ref: '#/components/schemas/TagSpecification'
description: Metadata tags for the volume.
Throughput:
type: integer
description: Volume throughput performance.
VolumeType:
type: string
enum:
- standard
- io1
- io2
- gp2
- sc1
- st1
- gp3
description: Type of EBS volume.
required:
- AvailabilityZone
CreateVolumeResponse:
type: object
properties:
VolumeId:
type: string
description: Unique identifier for the new volume.
DeleteVolumeRequest:
type: object
properties:
VolumeId:
type: string
description: Identifier of the volume to delete.
required:
- VolumeId
DeleteVolumeResponse:
type: object
properties: {}
DisassociateVolumeRequest:
type: object
properties:
WorkspaceInstanceId:
type: string
description: WorkSpace Instance to detach volume from.
VolumeId:
type: string
description: Volume to be detached.
Device:
type: string
description: Device path of volume to detach.
DisassociateMode:
type: string
enum:
- FORCE
- NO_FORCE
description: Mode for volume detachment.
required:
- WorkspaceInstanceId
- VolumeId
DisassociateVolumeResponse:
type: object
properties: {}
InternalServerException:
type: object
properties:
Message:
type: string
description: Description of the internal server error.
RetryAfterSeconds:
type: integer
description: Recommended wait time before retrying the request.
required:
- Message
ModifyVolumeRequest:
type: object
properties:
VolumeId:
type: string
description: Specifies the identifier of the volume to modify.
SizeInGB:
type: integer
description: Specifies the target size of the volume, in GiB. The target size must be greater than or equal to the
current size of the volume. If you don't specify a size, the current size is retained.
VolumeType:
type: string
enum:
- standard
- io1
- io2
- gp2
- sc1
- st1
- gp3
description: Specifies the target Amazon Elastic Block Store (Amazon EBS) volume type. If you don't specify a volume
type, the current volume type is retained.
Iops:
type: integer
description: Specifies the target IOPS rate of the volume. This parameter is valid only for gp3, io1, and io2 volumes.
If you don't specify IOPS and keep the same volume type, the current IOPS rate is retained.
Throughput:
type: integer
description: Specifies the target throughput of the volume, in MiB/s. This parameter is valid only for gp3 volumes.
If you don't specify throughput and the volume remains gp3, the current throughput is retained.
ClientToken:
type: string
description: Unique token to ensure idempotent volume modification, preventing duplicate volume modifications.
required:
- VolumeId
ModifyVolumeResponse:
type: object
properties:
VolumeId:
type: string
description: Specifies the identifier of the modified volume.
TargetSize:
type: integer
description: Specifies the target size of the volume, in GiB.
TargetVolumeType:
type: string
enum:
- standard
- io1
- io2
- gp2
- sc1
- st1
- gp3
description: Specifies the target Amazon EBS volume type.
TargetIops:
type: integer
description: Specifies the target IOPS rate of the volume.
TargetThroughput:
type: integer
description: Specifies the target throughput of the volume, in MiB/s.
ServiceQuotaExceededException:
type: object
properties:
Message:
type: string
description: Description of the quota limitation.
ResourceId:
type: string
description: Identifier of the resource related to the quota.
ResourceType:
type: string
description: Type of resource related to the quota.
ServiceCode:
type: string
description: Code identifying the service with the quota limitation.
QuotaCode:
type: string
description: Specific code for the exceeded quota.
required:
- Message
- ResourceId
- ResourceType
- ServiceCode
- QuotaCode
TagSpecification:
type: object
properties:
ResourceType:
type: string
enum:
- instance
- volume
- spot-instances-request
- network-interface
description: Type of resource being tagged.
Tags:
type: array
items:
$ref: '#/components/schemas/WorkspacesInstancesTag'
description: Collection of tags for the specified resource.
ThrottlingException:
type: object
properties:
Message:
type: string
description: Description of the throttling event.
ServiceCode:
type: string
description: Code identifying the service experiencing throttling.
QuotaCode:
type: string
description: Specific code for the throttling quota.
RetryAfterSeconds:
type: integer
description: Recommended wait time before retrying the request.
required:
- Message
ValidationException:
type: object
properties:
Message:
type: string
description: Overall description of validation failures.
Reason:
type: string
enum:
- UNKNOWN_OPERATION
- UNSUPPORTED_OPERATION
- CANNOT_PARSE
- FIELD_VALIDATION_FAILED
- DEPENDENCY_FAILURE
- OTHER
description: Specific reason for the validation failure.
FieldList:
type: array
items:
$ref: '#/components/schemas/ValidationExceptionField'
description: List of fields that failed validation.
required:
- Message
- Reason
ValidationExceptionField:
type: object
properties:
Name:
type: string
description: Name of the field that failed validation.
Reason:
type: string
description: Reason for the validation failure.
Message:
type: string
description: Detailed error message describing the validation issue.
required:
- Name
- Reason
- Message
WorkspacesInstancesAccessDeniedException:
type: object
properties:
Message:
type: string
description: Detailed explanation of the access denial.
required:
- Message
WorkspacesInstancesResourceNotFoundException:
type: object
properties:
Message:
type: string
description: Details about the missing resource.
ResourceId:
type: string
description: Identifier of the resource that was not found.
ResourceType:
type: string
description: Type of the resource that was not found.
required:
- Message
- ResourceId
- ResourceType
WorkspacesInstancesTag:
type: object
properties:
Key:
type: string
description: Unique identifier for the tag.
Value:
type: string
description: Value associated with the tag key.
x-provenance:
method: harvested
publisher: Amazon Web Services
source: https://raw.githubusercontent.com/aws/api-models-aws/3cd98287b471c106254abd89279cc87308d38bfd/models/workspaces-instances/service/2022-07-26/workspaces-instances-2022-07-26.json
note: converted by smithy-to-openapi.py from AWS's Smithy model (roadmap#1001)