WorkSpaces module#
Index > WorkSpaces
Auto-generated documentation for WorkSpaces type annotations stubs module types-boto3-workspaces.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.86' mypy_boto3_builder
- Select
boto3
AWS SDK. - Add
WorkSpaces
service. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and WorkSpaces
.
From PyPI with pip#
Install types-boto3
for WorkSpaces
service.
# install with boto3 type annotations
python -m pip install 'types-boto3[workspaces]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-boto3-lite[workspaces]'
# standalone installation
python -m pip install types-boto3-workspaces
How to uninstall#
python -m pip uninstall -y types-boto3-workspaces
Usage#
Code samples can be found in Examples.
WorkSpacesClient#
Type annotations and code completion for boto3.client("workspaces")
as WorkSpacesClient
boto3 documentation
# WorkSpacesClient usage example
from boto3.session import Session
from types_boto3_workspaces.client import WorkSpacesClient
def get_client() -> WorkSpacesClient:
return Session().client("workspaces")
Paginators#
Type annotations and code completion for paginators
from boto3.client("workspaces").get_paginator("...")
.
# DescribeAccountModificationsPaginator usage example
from boto3.session import Session
from types_boto3_workspaces.paginator import DescribeAccountModificationsPaginator
def get_describe_account_modifications_paginator() -> DescribeAccountModificationsPaginator:
return Session().client("workspaces").get_paginator("describe_account_modifications"))
- DescribeAccountModificationsPaginator
- DescribeIpGroupsPaginator
- DescribeWorkspaceBundlesPaginator
- DescribeWorkspaceDirectoriesPaginator
- DescribeWorkspaceImagesPaginator
- DescribeWorkspacesConnectionStatusPaginator
- DescribeWorkspacesPaginator
- ListAccountLinksPaginator
- ListAvailableManagementCidrRangesPaginator
Literals#
Type annotations for literals used in methods and schema.
# AGAModeForDirectoryEnumType usage example
from types_boto3_workspaces.literals import AGAModeForDirectoryEnumType
def get_value() -> AGAModeForDirectoryEnumType:
return "DISABLED"
- AGAModeForDirectoryEnumType
- AGAModeForWorkSpaceEnumType
- AGAPreferredProtocolForDirectoryType
- AGAPreferredProtocolForWorkSpaceType
- AccessPropertyValueType
- AccountLinkStatusEnumType
- ApplicationAssociatedResourceTypeType
- ApplicationSettingsStatusEnumType
- ApplicationType
- AssociationErrorCodeType
- AssociationStateType
- AssociationStatusType
- AuthenticationTypeType
- BundleAssociatedResourceTypeType
- BundleTypeType
- CertificateBasedAuthStatusEnumType
- ClientDeviceTypeType
- ComputeType
- ConnectionAliasStateType
- ConnectionStateType
- DataReplicationType
- DedicatedTenancyAccountTypeType
- DedicatedTenancyModificationStateEnumType
- DedicatedTenancySupportEnumType
- DedicatedTenancySupportResultEnumType
- DeletableCertificateBasedAuthPropertyType
- DeletableSamlPropertyType
- DescribeAccountModificationsPaginatorName
- DescribeIpGroupsPaginatorName
- DescribeWorkspaceBundlesPaginatorName
- DescribeWorkspaceDirectoriesFilterNameType
- DescribeWorkspaceDirectoriesPaginatorName
- DescribeWorkspaceImagesPaginatorName
- DescribeWorkspacesConnectionStatusPaginatorName
- DescribeWorkspacesPaginatorName
- DescribeWorkspacesPoolsFilterNameType
- DescribeWorkspacesPoolsFilterOperatorType
- ImageAssociatedResourceTypeType
- ImageTypeType
- ListAccountLinksPaginatorName
- ListAvailableManagementCidrRangesPaginatorName
- LogUploadEnumType
- ModificationResourceEnumType
- ModificationStateEnumType
- OperatingSystemNameType
- OperatingSystemTypeType
- ProtocolType
- ReconnectEnumType
- RunningModeType
- SamlStatusEnumType
- SessionConnectionStateType
- StandbyWorkspaceRelationshipTypeType
- StorageConnectorStatusEnumType
- StorageConnectorTypeEnumType
- StreamingExperiencePreferredProtocolEnumType
- TargetWorkspaceStateType
- TenancyType
- UserIdentityTypeType
- UserSettingActionEnumType
- UserSettingPermissionEnumType
- WorkSpaceApplicationLicenseTypeType
- WorkSpaceApplicationStateType
- WorkSpaceAssociatedResourceTypeType
- WorkspaceBundleStateType
- WorkspaceDirectoryStateType
- WorkspaceDirectoryTypeType
- WorkspaceImageErrorDetailCodeType
- WorkspaceImageIngestionProcessType
- WorkspaceImageRequiredTenancyType
- WorkspaceImageStateType
- WorkspaceStateType
- WorkspaceTypeType
- WorkspacesPoolErrorCodeType
- WorkspacesPoolStateType
- WorkSpacesServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- AcceptAccountLinkInvitationRequestRequestTypeDef
- AccountLinkTypeDef
- ResponseMetadataTypeDef
- AccountModificationTypeDef
- ActiveDirectoryConfigTypeDef
- AssociationStateReasonTypeDef
- ApplicationSettingsRequestTypeDef
- ApplicationSettingsResponseTypeDef
- AssociateConnectionAliasRequestRequestTypeDef
- AssociateIpGroupsRequestRequestTypeDef
- AssociateWorkspaceApplicationRequestRequestTypeDef
- IpRuleItemTypeDef
- BlobTypeDef
- CapacityStatusTypeDef
- CapacityTypeDef
- CertificateBasedAuthPropertiesTypeDef
- ClientPropertiesTypeDef
- ComputeTypeTypeDef
- ConnectClientAddInTypeDef
- ConnectionAliasAssociationTypeDef
- ConnectionAliasPermissionTypeDef
- TagTypeDef
- CreateAccountLinkInvitationRequestRequestTypeDef
- CreateConnectClientAddInRequestRequestTypeDef
- PendingCreateStandbyWorkspacesRequestTypeDef
- RootStorageTypeDef
- UserStorageTypeDef
- OperatingSystemTypeDef
- TimeoutSettingsTypeDef
- DataReplicationSettingsTypeDef
- DefaultClientBrandingAttributesTypeDef
- DefaultWorkspaceCreationPropertiesTypeDef
- DeleteAccountLinkInvitationRequestRequestTypeDef
- DeleteClientBrandingRequestRequestTypeDef
- DeleteConnectClientAddInRequestRequestTypeDef
- DeleteConnectionAliasRequestRequestTypeDef
- DeleteIpGroupRequestRequestTypeDef
- DeleteTagsRequestRequestTypeDef
- DeleteWorkspaceBundleRequestRequestTypeDef
- DeleteWorkspaceImageRequestRequestTypeDef
- DeployWorkspaceApplicationsRequestRequestTypeDef
- DeregisterWorkspaceDirectoryRequestRequestTypeDef
- PaginatorConfigTypeDef
- DescribeAccountModificationsRequestRequestTypeDef
- DescribeApplicationAssociationsRequestRequestTypeDef
- DescribeApplicationsRequestRequestTypeDef
- WorkSpaceApplicationTypeDef
- DescribeBundleAssociationsRequestRequestTypeDef
- DescribeClientBrandingRequestRequestTypeDef
- IosClientBrandingAttributesTypeDef
- DescribeClientPropertiesRequestRequestTypeDef
- DescribeConnectClientAddInsRequestRequestTypeDef
- DescribeConnectionAliasPermissionsRequestRequestTypeDef
- DescribeConnectionAliasesRequestRequestTypeDef
- DescribeImageAssociationsRequestRequestTypeDef
- DescribeIpGroupsRequestRequestTypeDef
- DescribeTagsRequestRequestTypeDef
- DescribeWorkspaceAssociationsRequestRequestTypeDef
- DescribeWorkspaceBundlesRequestRequestTypeDef
- DescribeWorkspaceDirectoriesFilterTypeDef
- DescribeWorkspaceImagePermissionsRequestRequestTypeDef
- ImagePermissionTypeDef
- DescribeWorkspaceImagesRequestRequestTypeDef
- DescribeWorkspaceSnapshotsRequestRequestTypeDef
- SnapshotTypeDef
- DescribeWorkspacesConnectionStatusRequestRequestTypeDef
- WorkspaceConnectionStatusTypeDef
- DescribeWorkspacesPoolSessionsRequestRequestTypeDef
- DescribeWorkspacesPoolsFilterTypeDef
- DescribeWorkspacesRequestRequestTypeDef
- DisassociateConnectionAliasRequestRequestTypeDef
- DisassociateIpGroupsRequestRequestTypeDef
- DisassociateWorkspaceApplicationRequestRequestTypeDef
- ErrorDetailsTypeDef
- FailedWorkspaceChangeRequestTypeDef
- GetAccountLinkRequestRequestTypeDef
- GlobalAcceleratorForDirectoryTypeDef
- GlobalAcceleratorForWorkSpaceTypeDef
- IDCConfigTypeDef
- ListAccountLinksRequestRequestTypeDef
- ListAvailableManagementCidrRangesRequestRequestTypeDef
- MicrosoftEntraConfigTypeDef
- MigrateWorkspaceRequestRequestTypeDef
- ModificationStateTypeDef
- ModifyAccountRequestRequestTypeDef
- SamlPropertiesTypeDef
- SelfservicePermissionsTypeDef
- WorkspaceAccessPropertiesTypeDef
- WorkspaceCreationPropertiesTypeDef
- ModifyWorkspaceStateRequestRequestTypeDef
- NetworkAccessConfigurationTypeDef
- RebootRequestTypeDef
- RebuildRequestTypeDef
- RejectAccountLinkInvitationRequestRequestTypeDef
- RelatedWorkspacePropertiesTypeDef
- RestoreWorkspaceRequestRequestTypeDef
- RevokeIpRulesRequestRequestTypeDef
- StandbyWorkspacesPropertiesTypeDef
- StartRequestTypeDef
- StartWorkspacesPoolRequestRequestTypeDef
- StopRequestTypeDef
- StopWorkspacesPoolRequestRequestTypeDef
- StorageConnectorTypeDef
- UserSettingTypeDef
- TerminateRequestTypeDef
- TerminateWorkspacesPoolRequestRequestTypeDef
- TerminateWorkspacesPoolSessionRequestRequestTypeDef
- UpdateConnectClientAddInRequestRequestTypeDef
- UpdateResultTypeDef
- UpdateWorkspaceBundleRequestRequestTypeDef
- UpdateWorkspaceImagePermissionRequestRequestTypeDef
- WorkspacesPoolErrorTypeDef
- AcceptAccountLinkInvitationResultTypeDef
- AssociateConnectionAliasResultTypeDef
- CopyWorkspaceImageResultTypeDef
- CreateAccountLinkInvitationResultTypeDef
- CreateConnectClientAddInResultTypeDef
- CreateConnectionAliasResultTypeDef
- CreateIpGroupResultTypeDef
- CreateUpdatedWorkspaceImageResultTypeDef
- DeleteAccountLinkInvitationResultTypeDef
- DescribeAccountResultTypeDef
- GetAccountLinkResultTypeDef
- ImportWorkspaceImageResultTypeDef
- ListAccountLinksResultTypeDef
- ListAvailableManagementCidrRangesResultTypeDef
- MigrateWorkspaceResultTypeDef
- RegisterWorkspaceDirectoryResultTypeDef
- RejectAccountLinkInvitationResultTypeDef
- DescribeAccountModificationsResultTypeDef
- ApplicationResourceAssociationTypeDef
- BundleResourceAssociationTypeDef
- ImageResourceAssociationTypeDef
- WorkspaceResourceAssociationTypeDef
- AuthorizeIpRulesRequestRequestTypeDef
- UpdateRulesOfIpGroupRequestRequestTypeDef
- WorkspacesIpGroupTypeDef
- DefaultImportClientBrandingAttributesTypeDef
- IosImportClientBrandingAttributesTypeDef
- ModifyCertificateBasedAuthPropertiesRequestRequestTypeDef
- ClientPropertiesResultTypeDef
- ModifyClientPropertiesRequestRequestTypeDef
- DescribeConnectClientAddInsResultTypeDef
- ConnectionAliasTypeDef
- DescribeConnectionAliasPermissionsResultTypeDef
- UpdateConnectionAliasPermissionRequestRequestTypeDef
- CopyWorkspaceImageRequestRequestTypeDef
- CreateConnectionAliasRequestRequestTypeDef
- CreateIpGroupRequestRequestTypeDef
- CreateTagsRequestRequestTypeDef
- CreateUpdatedWorkspaceImageRequestRequestTypeDef
- CreateWorkspaceImageRequestRequestTypeDef
- DescribeTagsResultTypeDef
- ImportWorkspaceImageRequestRequestTypeDef
- StandbyWorkspaceOutputTypeDef
- StandbyWorkspaceTypeDef
- CreateWorkspaceBundleRequestRequestTypeDef
- WorkspaceBundleTypeDef
- CreateWorkspaceImageResultTypeDef
- CreateWorkspacesPoolRequestRequestTypeDef
- UpdateWorkspacesPoolRequestRequestTypeDef
- DescribeAccountModificationsRequestPaginateTypeDef
- DescribeIpGroupsRequestPaginateTypeDef
- DescribeWorkspaceBundlesRequestPaginateTypeDef
- DescribeWorkspaceImagesRequestPaginateTypeDef
- DescribeWorkspacesConnectionStatusRequestPaginateTypeDef
- DescribeWorkspacesRequestPaginateTypeDef
- ListAccountLinksRequestPaginateTypeDef
- ListAvailableManagementCidrRangesRequestPaginateTypeDef
- DescribeApplicationsResultTypeDef
- DescribeClientBrandingResultTypeDef
- ImportClientBrandingResultTypeDef
- DescribeWorkspaceDirectoriesRequestPaginateTypeDef
- DescribeWorkspaceDirectoriesRequestRequestTypeDef
- DescribeWorkspaceImagePermissionsResultTypeDef
- DescribeWorkspaceSnapshotsResultTypeDef
- DescribeWorkspacesConnectionStatusResultTypeDef
- DescribeWorkspacesPoolsRequestRequestTypeDef
- RebootWorkspacesResultTypeDef
- RebuildWorkspacesResultTypeDef
- StartWorkspacesResultTypeDef
- StopWorkspacesResultTypeDef
- TerminateWorkspacesResultTypeDef
- WorkspacePropertiesOutputTypeDef
- WorkspacePropertiesTypeDef
- RegisterWorkspaceDirectoryRequestRequestTypeDef
- ModifySamlPropertiesRequestRequestTypeDef
- ModifySelfservicePermissionsRequestRequestTypeDef
- ModifyWorkspaceAccessPropertiesRequestRequestTypeDef
- ModifyWorkspaceCreationPropertiesRequestRequestTypeDef
- WorkspacesPoolSessionTypeDef
- RebootWorkspacesRequestRequestTypeDef
- RebuildWorkspacesRequestRequestTypeDef
- StartWorkspacesRequestRequestTypeDef
- StopWorkspacesRequestRequestTypeDef
- StreamingPropertiesOutputTypeDef
- StreamingPropertiesTypeDef
- TerminateWorkspacesRequestRequestTypeDef
- WorkspaceImageTypeDef
- WorkspacesPoolTypeDef
- DescribeApplicationAssociationsResultTypeDef
- DescribeBundleAssociationsResultTypeDef
- DescribeImageAssociationsResultTypeDef
- AssociateWorkspaceApplicationResultTypeDef
- DescribeWorkspaceAssociationsResultTypeDef
- DisassociateWorkspaceApplicationResultTypeDef
- WorkSpaceApplicationDeploymentTypeDef
- DescribeIpGroupsResultTypeDef
- ImportClientBrandingRequestRequestTypeDef
- DescribeClientPropertiesResultTypeDef
- DescribeConnectionAliasesResultTypeDef
- FailedCreateStandbyWorkspacesRequestTypeDef
- StandbyWorkspaceUnionTypeDef
- CreateWorkspaceBundleResultTypeDef
- DescribeWorkspaceBundlesResultTypeDef
- WorkspaceRequestOutputTypeDef
- WorkspaceTypeDef
- ModifyWorkspacePropertiesRequestRequestTypeDef
- WorkspacePropertiesUnionTypeDef
- DescribeWorkspacesPoolSessionsResultTypeDef
- WorkspaceDirectoryTypeDef
- ModifyStreamingPropertiesRequestRequestTypeDef
- DescribeWorkspaceImagesResultTypeDef
- CreateWorkspacesPoolResultTypeDef
- DescribeWorkspacesPoolsResultTypeDef
- UpdateWorkspacesPoolResultTypeDef
- DeployWorkspaceApplicationsResultTypeDef
- CreateStandbyWorkspacesResultTypeDef
- CreateStandbyWorkspacesRequestRequestTypeDef
- FailedCreateWorkspaceRequestTypeDef
- DescribeWorkspacesResultTypeDef
- WorkspaceRequestTypeDef
- DescribeWorkspaceDirectoriesResultTypeDef
- CreateWorkspacesResultTypeDef
- WorkspaceRequestUnionTypeDef
- CreateWorkspacesRequestRequestTypeDef