WorkSpaces module#
Index > WorkSpaces
Auto-generated documentation for WorkSpaces type annotations stubs module mypy-boto3-workspaces.
How to install#
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 boto3-stubs
for WorkSpaces
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[workspaces]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[workspaces]'
# standalone installation
python -m pip install mypy-boto3-workspaces
How to uninstall#
python -m pip uninstall -y mypy-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 mypy_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 mypy_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.
# AccessPropertyValueType usage example
from mypy_boto3_workspaces.literals import AccessPropertyValueType
def get_value() -> AccessPropertyValueType:
return "ALLOW"
- 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
- IDCConfigTypeDef
- ListAccountLinksRequestRequestTypeDef
- ListAvailableManagementCidrRangesRequestRequestTypeDef
- MicrosoftEntraConfigTypeDef
- MigrateWorkspaceRequestRequestTypeDef
- ModificationStateTypeDef
- ModifyAccountRequestRequestTypeDef
- SamlPropertiesTypeDef
- SelfservicePermissionsTypeDef
- WorkspaceAccessPropertiesTypeDef
- WorkspaceCreationPropertiesTypeDef
- WorkspacePropertiesTypeDef
- ModifyWorkspaceStateRequestRequestTypeDef
- NetworkAccessConfigurationTypeDef
- RebootRequestTypeDef
- RebuildRequestTypeDef
- RejectAccountLinkInvitationRequestRequestTypeDef
- RelatedWorkspacePropertiesTypeDef
- RestoreWorkspaceRequestRequestTypeDef
- RevokeIpRulesRequestRequestTypeDef
- StandbyWorkspacesPropertiesTypeDef
- StartRequestTypeDef
- StartWorkspacesPoolRequestRequestTypeDef
- StopRequestTypeDef
- StopWorkspacesPoolRequestRequestTypeDef
- StorageConnectorTypeDef
- UserSettingTypeDef
- TerminateRequestTypeDef
- TerminateWorkspacesPoolRequestRequestTypeDef
- TerminateWorkspacesPoolSessionRequestRequestTypeDef
- UpdateConnectClientAddInRequestRequestTypeDef
- UpdateResultTypeDef
- UpdateWorkspaceBundleRequestRequestTypeDef
- UpdateWorkspaceImagePermissionRequestRequestTypeDef
- WorkspacePropertiesOutputTypeDef
- 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
- DescribeAccountModificationsRequestDescribeAccountModificationsPaginateTypeDef
- DescribeIpGroupsRequestDescribeIpGroupsPaginateTypeDef
- DescribeWorkspaceBundlesRequestDescribeWorkspaceBundlesPaginateTypeDef
- DescribeWorkspaceImagesRequestDescribeWorkspaceImagesPaginateTypeDef
- DescribeWorkspacesConnectionStatusRequestDescribeWorkspacesConnectionStatusPaginateTypeDef
- DescribeWorkspacesRequestDescribeWorkspacesPaginateTypeDef
- ListAccountLinksRequestListAccountLinksPaginateTypeDef
- ListAvailableManagementCidrRangesRequestListAvailableManagementCidrRangesPaginateTypeDef
- DescribeApplicationsResultTypeDef
- DescribeClientBrandingResultTypeDef
- ImportClientBrandingResultTypeDef
- DescribeWorkspaceDirectoriesRequestDescribeWorkspaceDirectoriesPaginateTypeDef
- DescribeWorkspaceDirectoriesRequestRequestTypeDef
- DescribeWorkspaceImagePermissionsResultTypeDef
- DescribeWorkspaceSnapshotsResultTypeDef
- DescribeWorkspacesConnectionStatusResultTypeDef
- DescribeWorkspacesPoolsRequestRequestTypeDef
- RebootWorkspacesResultTypeDef
- RebuildWorkspacesResultTypeDef
- StartWorkspacesResultTypeDef
- StopWorkspacesResultTypeDef
- TerminateWorkspacesResultTypeDef
- RegisterWorkspaceDirectoryRequestRequestTypeDef
- ModifySamlPropertiesRequestRequestTypeDef
- ModifySelfservicePermissionsRequestRequestTypeDef
- ModifyWorkspaceAccessPropertiesRequestRequestTypeDef
- ModifyWorkspaceCreationPropertiesRequestRequestTypeDef
- ModifyWorkspacePropertiesRequestRequestTypeDef
- WorkspacesPoolSessionTypeDef
- RebootWorkspacesRequestRequestTypeDef
- RebuildWorkspacesRequestRequestTypeDef
- StartWorkspacesRequestRequestTypeDef
- StopWorkspacesRequestRequestTypeDef
- StreamingPropertiesOutputTypeDef
- StreamingPropertiesTypeDef
- TerminateWorkspacesRequestRequestTypeDef
- WorkspaceImageTypeDef
- WorkspacePropertiesUnionTypeDef
- WorkspaceRequestOutputTypeDef
- WorkspaceTypeDef
- WorkspacesPoolTypeDef
- DescribeApplicationAssociationsResultTypeDef
- DescribeBundleAssociationsResultTypeDef
- DescribeImageAssociationsResultTypeDef
- AssociateWorkspaceApplicationResultTypeDef
- DescribeWorkspaceAssociationsResultTypeDef
- DisassociateWorkspaceApplicationResultTypeDef
- WorkSpaceApplicationDeploymentTypeDef
- DescribeIpGroupsResultTypeDef
- ImportClientBrandingRequestRequestTypeDef
- DescribeClientPropertiesResultTypeDef
- DescribeConnectionAliasesResultTypeDef
- FailedCreateStandbyWorkspacesRequestTypeDef
- StandbyWorkspaceUnionTypeDef
- CreateWorkspaceBundleResultTypeDef
- DescribeWorkspaceBundlesResultTypeDef
- DescribeWorkspacesPoolSessionsResultTypeDef
- WorkspaceDirectoryTypeDef
- ModifyStreamingPropertiesRequestRequestTypeDef
- DescribeWorkspaceImagesResultTypeDef
- WorkspaceRequestTypeDef
- FailedCreateWorkspaceRequestTypeDef
- DescribeWorkspacesResultTypeDef
- CreateWorkspacesPoolResultTypeDef
- DescribeWorkspacesPoolsResultTypeDef
- UpdateWorkspacesPoolResultTypeDef
- DeployWorkspaceApplicationsResultTypeDef
- CreateStandbyWorkspacesResultTypeDef
- CreateStandbyWorkspacesRequestRequestTypeDef
- DescribeWorkspaceDirectoriesResultTypeDef
- WorkspaceRequestUnionTypeDef
- CreateWorkspacesResultTypeDef
- CreateWorkspacesRequestRequestTypeDef