Interface WorkSpacesAsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder() method.The asynchronous client performs non-blocking I/O when configured with any
SdkAsyncHttpClient supported in the SDK. However, full non-blocking is not guaranteed as the async client may
perform blocking calls in some cases such as credentials retrieval and endpoint discovery as part of the async API
call.
Amazon WorkSpaces enables you to provision virtual, cloud-based Microsoft Windows or Amazon Linux desktops for your users, known as WorkSpaces. WorkSpaces eliminates the need to procure and deploy hardware or install complex software. You can quickly add or remove users as your needs change. Users can access their virtual desktops from multiple devices or web browsers.
This API Reference provides detailed information about the actions, data types, parameters, and errors of the WorkSpaces service. For more information about the supported Amazon Web Services Regions, endpoints, and service quotas of the Amazon WorkSpaces service, see WorkSpaces endpoints and quotas in the Amazon Web Services General Reference.
You can also manage your WorkSpaces resources using the WorkSpaces console, Command Line Interface (CLI), and SDKs. For more information about administering WorkSpaces, see the Amazon WorkSpaces Administration Guide. For more information about using the Amazon WorkSpaces client application or web browser to access provisioned WorkSpaces, see the Amazon WorkSpaces User Guide. For more information about using the CLI to manage your WorkSpaces resources, see the WorkSpaces section of the CLI Reference.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionacceptAccountLinkInvitation(Consumer<AcceptAccountLinkInvitationRequest.Builder> acceptAccountLinkInvitationRequest) Accepts the account link invitation.acceptAccountLinkInvitation(AcceptAccountLinkInvitationRequest acceptAccountLinkInvitationRequest) Accepts the account link invitation.associateAccountModels(Consumer<AssociateAccountModelsRequest.Builder> associateAccountModelsRequest) Adds models from the supported model catalog to your account's model list.associateAccountModels(AssociateAccountModelsRequest associateAccountModelsRequest) Adds models from the supported model catalog to your account's model list.associateAgentEnforcedPolicy(Consumer<AssociateAgentEnforcedPolicyRequest.Builder> associateAgentEnforcedPolicyRequest) Associates an agent-enforced policy with the specified WorkSpace, replacing its current agent-enforced policy.associateAgentEnforcedPolicy(AssociateAgentEnforcedPolicyRequest associateAgentEnforcedPolicyRequest) Associates an agent-enforced policy with the specified WorkSpace, replacing its current agent-enforced policy.associateConnectionAlias(Consumer<AssociateConnectionAliasRequest.Builder> associateConnectionAliasRequest) Associates the specified connection alias with the specified directory to enable cross-Region redirection.associateConnectionAlias(AssociateConnectionAliasRequest associateConnectionAliasRequest) Associates the specified connection alias with the specified directory to enable cross-Region redirection.associateIpGroups(Consumer<AssociateIpGroupsRequest.Builder> associateIpGroupsRequest) Associates the specified IP access control group with the specified directory.associateIpGroups(AssociateIpGroupsRequest associateIpGroupsRequest) Associates the specified IP access control group with the specified directory.associateWorkspaceAgenticConnectors(Consumer<AssociateWorkspaceAgenticConnectorsRequest.Builder> associateWorkspaceAgenticConnectorsRequest) Associates agentic connectors with the specified WorkSpace.associateWorkspaceAgenticConnectors(AssociateWorkspaceAgenticConnectorsRequest associateWorkspaceAgenticConnectorsRequest) Associates agentic connectors with the specified WorkSpace.associateWorkspaceAgenticContexts(Consumer<AssociateWorkspaceAgenticContextsRequest.Builder> associateWorkspaceAgenticContextsRequest) Associates agentic contexts with the specified WorkSpace.associateWorkspaceAgenticContexts(AssociateWorkspaceAgenticContextsRequest associateWorkspaceAgenticContextsRequest) Associates agentic contexts with the specified WorkSpace.associateWorkspaceApplication(Consumer<AssociateWorkspaceApplicationRequest.Builder> associateWorkspaceApplicationRequest) Associates the specified application to the specified WorkSpace.associateWorkspaceApplication(AssociateWorkspaceApplicationRequest associateWorkspaceApplicationRequest) Associates the specified application to the specified WorkSpace.associateWorkspaceEnforcedPolicy(Consumer<AssociateWorkspaceEnforcedPolicyRequest.Builder> associateWorkspaceEnforcedPolicyRequest) Associates a WorkSpace-enforced policy with the specified WorkSpace, replacing its current WorkSpace-enforced policy.associateWorkspaceEnforcedPolicy(AssociateWorkspaceEnforcedPolicyRequest associateWorkspaceEnforcedPolicyRequest) Associates a WorkSpace-enforced policy with the specified WorkSpace, replacing its current WorkSpace-enforced policy.associateWorkspaceModels(Consumer<AssociateWorkspaceModelsRequest.Builder> associateWorkspaceModelsRequest) Associates models with the specified WorkSpace.associateWorkspaceModels(AssociateWorkspaceModelsRequest associateWorkspaceModelsRequest) Associates models with the specified WorkSpace.authorizeIpRules(Consumer<AuthorizeIpRulesRequest.Builder> authorizeIpRulesRequest) Adds one or more rules to the specified IP access control group.authorizeIpRules(AuthorizeIpRulesRequest authorizeIpRulesRequest) Adds one or more rules to the specified IP access control group.batchGetAgentEnforcedPolicy(Consumer<BatchGetAgentEnforcedPolicyRequest.Builder> batchGetAgentEnforcedPolicyRequest) Describes the specified agent-enforced policies.batchGetAgentEnforcedPolicy(BatchGetAgentEnforcedPolicyRequest batchGetAgentEnforcedPolicyRequest) Describes the specified agent-enforced policies.batchGetAgenticConnector(Consumer<BatchGetAgenticConnectorRequest.Builder> batchGetAgenticConnectorRequest) Describes the specified agentic connectors.batchGetAgenticConnector(BatchGetAgenticConnectorRequest batchGetAgenticConnectorRequest) Describes the specified agentic connectors.batchGetAgenticContextMetadata(Consumer<BatchGetAgenticContextMetadataRequest.Builder> batchGetAgenticContextMetadataRequest) Describes the specified agentic contexts, without their bodies.batchGetAgenticContextMetadata(BatchGetAgenticContextMetadataRequest batchGetAgenticContextMetadataRequest) Describes the specified agentic contexts, without their bodies.batchGetAgenticPersonaConfiguration(Consumer<BatchGetAgenticPersonaConfigurationRequest.Builder> batchGetAgenticPersonaConfigurationRequest) Describes the specified agentic persona configurations.batchGetAgenticPersonaConfiguration(BatchGetAgenticPersonaConfigurationRequest batchGetAgenticPersonaConfigurationRequest) Describes the specified agentic persona configurations.batchGetAgentRuntime(Consumer<BatchGetAgentRuntimeRequest.Builder> batchGetAgentRuntimeRequest) Describes the specified agent runtimes.batchGetAgentRuntime(BatchGetAgentRuntimeRequest batchGetAgentRuntimeRequest) Describes the specified agent runtimes.default CompletableFuture<BatchGetModelResponse> batchGetModel(Consumer<BatchGetModelRequest.Builder> batchGetModelRequest) Describes the specified models from the supported model catalog.default CompletableFuture<BatchGetModelResponse> batchGetModel(BatchGetModelRequest batchGetModelRequest) Describes the specified models from the supported model catalog.batchGetWorkspaceEnforcedPolicy(Consumer<BatchGetWorkspaceEnforcedPolicyRequest.Builder> batchGetWorkspaceEnforcedPolicyRequest) Describes the specified WorkSpace-enforced policies.batchGetWorkspaceEnforcedPolicy(BatchGetWorkspaceEnforcedPolicyRequest batchGetWorkspaceEnforcedPolicyRequest) Describes the specified WorkSpace-enforced policies.static WorkSpacesAsyncClientBuilderbuilder()Create a builder that can be used to configure and create aWorkSpacesAsyncClient.copyWorkspaceImage(Consumer<CopyWorkspaceImageRequest.Builder> copyWorkspaceImageRequest) Copies the specified image from the specified Region to the current Region.copyWorkspaceImage(CopyWorkspaceImageRequest copyWorkspaceImageRequest) Copies the specified image from the specified Region to the current Region.static WorkSpacesAsyncClientcreate()Create aWorkSpacesAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createAccountLinkInvitation(Consumer<CreateAccountLinkInvitationRequest.Builder> createAccountLinkInvitationRequest) Creates the account link invitation.createAccountLinkInvitation(CreateAccountLinkInvitationRequest createAccountLinkInvitationRequest) Creates the account link invitation.createAgentEnforcedPolicy(Consumer<CreateAgentEnforcedPolicyRequest.Builder> createAgentEnforcedPolicyRequest) Creates an agent-enforced policy, which the agent on the WorkSpace applies.createAgentEnforcedPolicy(CreateAgentEnforcedPolicyRequest createAgentEnforcedPolicyRequest) Creates an agent-enforced policy, which the agent on the WorkSpace applies.createAgenticContext(Consumer<CreateAgenticContextRequest.Builder> createAgenticContextRequest) Creates an agentic context, which is Markdown content that the service writes to a file on the WorkSpace for the agent to use.createAgenticContext(CreateAgenticContextRequest createAgenticContextRequest) Creates an agentic context, which is Markdown content that the service writes to a file on the WorkSpace for the agent to use.createAgenticPersonaConfiguration(Consumer<CreateAgenticPersonaConfigurationRequest.Builder> createAgenticPersonaConfigurationRequest) Creates an Amazon WorkSpaces agentic persona configuration with the specified models, connectors, contexts, and enforced policies.createAgenticPersonaConfiguration(CreateAgenticPersonaConfigurationRequest createAgenticPersonaConfigurationRequest) Creates an Amazon WorkSpaces agentic persona configuration with the specified models, connectors, contexts, and enforced policies.createConnectClientAddIn(Consumer<CreateConnectClientAddInRequest.Builder> createConnectClientAddInRequest) Creates a client-add-in for Connect Customer within a directory.createConnectClientAddIn(CreateConnectClientAddInRequest createConnectClientAddInRequest) Creates a client-add-in for Connect Customer within a directory.createConnectionAlias(Consumer<CreateConnectionAliasRequest.Builder> createConnectionAliasRequest) Creates the specified connection alias for use with cross-Region redirection.createConnectionAlias(CreateConnectionAliasRequest createConnectionAliasRequest) Creates the specified connection alias for use with cross-Region redirection.default CompletableFuture<CreateIpGroupResponse> createIpGroup(Consumer<CreateIpGroupRequest.Builder> createIpGroupRequest) Creates an IP access control group.default CompletableFuture<CreateIpGroupResponse> createIpGroup(CreateIpGroupRequest createIpGroupRequest) Creates an IP access control group.createStandbyWorkspaces(Consumer<CreateStandbyWorkspacesRequest.Builder> createStandbyWorkspacesRequest) Creates a standby WorkSpace in a secondary Region.createStandbyWorkspaces(CreateStandbyWorkspacesRequest createStandbyWorkspacesRequest) Creates a standby WorkSpace in a secondary Region.default CompletableFuture<CreateTagsResponse> createTags(Consumer<CreateTagsRequest.Builder> createTagsRequest) Creates the specified tags for the specified WorkSpaces resource.default CompletableFuture<CreateTagsResponse> createTags(CreateTagsRequest createTagsRequest) Creates the specified tags for the specified WorkSpaces resource.createUpdatedWorkspaceImage(Consumer<CreateUpdatedWorkspaceImageRequest.Builder> createUpdatedWorkspaceImageRequest) Creates a new updated WorkSpace image based on the specified source image.createUpdatedWorkspaceImage(CreateUpdatedWorkspaceImageRequest createUpdatedWorkspaceImageRequest) Creates a new updated WorkSpace image based on the specified source image.createWorkspaceBundle(Consumer<CreateWorkspaceBundleRequest.Builder> createWorkspaceBundleRequest) Creates the specified WorkSpace bundle.createWorkspaceBundle(CreateWorkspaceBundleRequest createWorkspaceBundleRequest) Creates the specified WorkSpace bundle.createWorkspaceEnforcedPolicy(Consumer<CreateWorkspaceEnforcedPolicyRequest.Builder> createWorkspaceEnforcedPolicyRequest) Creates a WorkSpace-enforced policy, which the WorkSpace applies.createWorkspaceEnforcedPolicy(CreateWorkspaceEnforcedPolicyRequest createWorkspaceEnforcedPolicyRequest) Creates a WorkSpace-enforced policy, which the WorkSpace applies.createWorkspaceImage(Consumer<CreateWorkspaceImageRequest.Builder> createWorkspaceImageRequest) Creates a new WorkSpace image from an existing WorkSpace.createWorkspaceImage(CreateWorkspaceImageRequest createWorkspaceImageRequest) Creates a new WorkSpace image from an existing WorkSpace.createWorkspaces(Consumer<CreateWorkspacesRequest.Builder> createWorkspacesRequest) Creates one or more WorkSpaces.createWorkspaces(CreateWorkspacesRequest createWorkspacesRequest) Creates one or more WorkSpaces.createWorkspacesPool(Consumer<CreateWorkspacesPoolRequest.Builder> createWorkspacesPoolRequest) createWorkspacesPool(CreateWorkspacesPoolRequest createWorkspacesPoolRequest) deleteAccountLinkInvitation(Consumer<DeleteAccountLinkInvitationRequest.Builder> deleteAccountLinkInvitationRequest) Deletes the account link invitation.deleteAccountLinkInvitation(DeleteAccountLinkInvitationRequest deleteAccountLinkInvitationRequest) Deletes the account link invitation.deleteAgentEnforcedPolicy(Consumer<DeleteAgentEnforcedPolicyRequest.Builder> deleteAgentEnforcedPolicyRequest) Deletes an agent-enforced policy that you created.deleteAgentEnforcedPolicy(DeleteAgentEnforcedPolicyRequest deleteAgentEnforcedPolicyRequest) Deletes an agent-enforced policy that you created.deleteAgenticContext(Consumer<DeleteAgenticContextRequest.Builder> deleteAgenticContextRequest) Deletes an agentic context.deleteAgenticContext(DeleteAgenticContextRequest deleteAgenticContextRequest) Deletes an agentic context.deleteAgenticPersonaConfiguration(Consumer<DeleteAgenticPersonaConfigurationRequest.Builder> deleteAgenticPersonaConfigurationRequest) Deletes an agentic persona configuration.deleteAgenticPersonaConfiguration(DeleteAgenticPersonaConfigurationRequest deleteAgenticPersonaConfigurationRequest) Deletes an agentic persona configuration.deleteClientBranding(Consumer<DeleteClientBrandingRequest.Builder> deleteClientBrandingRequest) Deletes customized client branding.deleteClientBranding(DeleteClientBrandingRequest deleteClientBrandingRequest) Deletes customized client branding.deleteConnectClientAddIn(Consumer<DeleteConnectClientAddInRequest.Builder> deleteConnectClientAddInRequest) Deletes a client-add-in for Connect Customer that is configured within a directory.deleteConnectClientAddIn(DeleteConnectClientAddInRequest deleteConnectClientAddInRequest) Deletes a client-add-in for Connect Customer that is configured within a directory.deleteConnectionAlias(Consumer<DeleteConnectionAliasRequest.Builder> deleteConnectionAliasRequest) Deletes the specified connection alias.deleteConnectionAlias(DeleteConnectionAliasRequest deleteConnectionAliasRequest) Deletes the specified connection alias.default CompletableFuture<DeleteIpGroupResponse> deleteIpGroup(Consumer<DeleteIpGroupRequest.Builder> deleteIpGroupRequest) Deletes the specified IP access control group.default CompletableFuture<DeleteIpGroupResponse> deleteIpGroup(DeleteIpGroupRequest deleteIpGroupRequest) Deletes the specified IP access control group.default CompletableFuture<DeleteTagsResponse> deleteTags(Consumer<DeleteTagsRequest.Builder> deleteTagsRequest) Deletes the specified tags from the specified WorkSpaces resource.default CompletableFuture<DeleteTagsResponse> deleteTags(DeleteTagsRequest deleteTagsRequest) Deletes the specified tags from the specified WorkSpaces resource.deleteWorkspaceBundle(Consumer<DeleteWorkspaceBundleRequest.Builder> deleteWorkspaceBundleRequest) Deletes the specified WorkSpace bundle.deleteWorkspaceBundle(DeleteWorkspaceBundleRequest deleteWorkspaceBundleRequest) Deletes the specified WorkSpace bundle.deleteWorkspaceEnforcedPolicy(Consumer<DeleteWorkspaceEnforcedPolicyRequest.Builder> deleteWorkspaceEnforcedPolicyRequest) Deletes a WorkSpace-enforced policy that you created.deleteWorkspaceEnforcedPolicy(DeleteWorkspaceEnforcedPolicyRequest deleteWorkspaceEnforcedPolicyRequest) Deletes a WorkSpace-enforced policy that you created.deleteWorkspaceImage(Consumer<DeleteWorkspaceImageRequest.Builder> deleteWorkspaceImageRequest) Deletes the specified image from your account.deleteWorkspaceImage(DeleteWorkspaceImageRequest deleteWorkspaceImageRequest) Deletes the specified image from your account.deployWorkspaceApplications(Consumer<DeployWorkspaceApplicationsRequest.Builder> deployWorkspaceApplicationsRequest) Deploys associated applications to the specified WorkSpacedeployWorkspaceApplications(DeployWorkspaceApplicationsRequest deployWorkspaceApplicationsRequest) Deploys associated applications to the specified WorkSpacederegisterWorkspaceDirectory(Consumer<DeregisterWorkspaceDirectoryRequest.Builder> deregisterWorkspaceDirectoryRequest) Deregisters the specified directory.deregisterWorkspaceDirectory(DeregisterWorkspaceDirectoryRequest deregisterWorkspaceDirectoryRequest) Deregisters the specified directory.default CompletableFuture<DescribeAccountResponse> describeAccount(Consumer<DescribeAccountRequest.Builder> describeAccountRequest) Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.default CompletableFuture<DescribeAccountResponse> describeAccount(DescribeAccountRequest describeAccountRequest) Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.describeAccountModifications(Consumer<DescribeAccountModificationsRequest.Builder> describeAccountModificationsRequest) Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account.describeAccountModifications(DescribeAccountModificationsRequest describeAccountModificationsRequest) Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account.describeApplicationAssociations(Consumer<DescribeApplicationAssociationsRequest.Builder> describeApplicationAssociationsRequest) Describes the associations between the application and the specified associated resources.describeApplicationAssociations(DescribeApplicationAssociationsRequest describeApplicationAssociationsRequest) Describes the associations between the application and the specified associated resources.describeApplicationAssociationsPaginator(Consumer<DescribeApplicationAssociationsRequest.Builder> describeApplicationAssociationsRequest) This is a variant ofdescribeApplicationAssociations(software.amazon.awssdk.services.workspaces.model.DescribeApplicationAssociationsRequest)operation.describeApplicationAssociationsPaginator(DescribeApplicationAssociationsRequest describeApplicationAssociationsRequest) This is a variant ofdescribeApplicationAssociations(software.amazon.awssdk.services.workspaces.model.DescribeApplicationAssociationsRequest)operation.describeApplications(Consumer<DescribeApplicationsRequest.Builder> describeApplicationsRequest) Describes the specified applications by filtering based on their compute types, license availability, operating systems, and owners.describeApplications(DescribeApplicationsRequest describeApplicationsRequest) Describes the specified applications by filtering based on their compute types, license availability, operating systems, and owners.default DescribeApplicationsPublisherdescribeApplicationsPaginator(Consumer<DescribeApplicationsRequest.Builder> describeApplicationsRequest) This is a variant ofdescribeApplications(software.amazon.awssdk.services.workspaces.model.DescribeApplicationsRequest)operation.default DescribeApplicationsPublisherdescribeApplicationsPaginator(DescribeApplicationsRequest describeApplicationsRequest) This is a variant ofdescribeApplications(software.amazon.awssdk.services.workspaces.model.DescribeApplicationsRequest)operation.describeBundleAssociations(Consumer<DescribeBundleAssociationsRequest.Builder> describeBundleAssociationsRequest) Describes the associations between the applications and the specified bundle.describeBundleAssociations(DescribeBundleAssociationsRequest describeBundleAssociationsRequest) Describes the associations between the applications and the specified bundle.describeClientBranding(Consumer<DescribeClientBrandingRequest.Builder> describeClientBrandingRequest) Describes the specified client branding.describeClientBranding(DescribeClientBrandingRequest describeClientBrandingRequest) Describes the specified client branding.describeClientProperties(Consumer<DescribeClientPropertiesRequest.Builder> describeClientPropertiesRequest) Retrieves a list that describes one or more specified Amazon WorkSpaces clients.describeClientProperties(DescribeClientPropertiesRequest describeClientPropertiesRequest) Retrieves a list that describes one or more specified Amazon WorkSpaces clients.describeConnectClientAddIns(Consumer<DescribeConnectClientAddInsRequest.Builder> describeConnectClientAddInsRequest) Retrieves a list of Connect Customer client add-ins that have been created.describeConnectClientAddIns(DescribeConnectClientAddInsRequest describeConnectClientAddInsRequest) Retrieves a list of Connect Customer client add-ins that have been created.describeConnectionAliases(Consumer<DescribeConnectionAliasesRequest.Builder> describeConnectionAliasesRequest) Retrieves a list that describes the connection aliases used for cross-Region redirection.describeConnectionAliases(DescribeConnectionAliasesRequest describeConnectionAliasesRequest) Retrieves a list that describes the connection aliases used for cross-Region redirection.describeConnectionAliasPermissions(Consumer<DescribeConnectionAliasPermissionsRequest.Builder> describeConnectionAliasPermissionsRequest) Describes the permissions that the owner of a connection alias has granted to another Amazon Web Services account for the specified connection alias.describeConnectionAliasPermissions(DescribeConnectionAliasPermissionsRequest describeConnectionAliasPermissionsRequest) Describes the permissions that the owner of a connection alias has granted to another Amazon Web Services account for the specified connection alias.describeCustomWorkspaceImageImport(Consumer<DescribeCustomWorkspaceImageImportRequest.Builder> describeCustomWorkspaceImageImportRequest) Retrieves information about a WorkSpace BYOL image being imported via ImportCustomWorkspaceImage.describeCustomWorkspaceImageImport(DescribeCustomWorkspaceImageImportRequest describeCustomWorkspaceImageImportRequest) Retrieves information about a WorkSpace BYOL image being imported via ImportCustomWorkspaceImage.describeImageAssociations(Consumer<DescribeImageAssociationsRequest.Builder> describeImageAssociationsRequest) Describes the associations between the applications and the specified image.describeImageAssociations(DescribeImageAssociationsRequest describeImageAssociationsRequest) Describes the associations between the applications and the specified image.Describes one or more of your IP access control groups.describeIpGroups(Consumer<DescribeIpGroupsRequest.Builder> describeIpGroupsRequest) Describes one or more of your IP access control groups.describeIpGroups(DescribeIpGroupsRequest describeIpGroupsRequest) Describes one or more of your IP access control groups.default CompletableFuture<DescribeTagsResponse> describeTags(Consumer<DescribeTagsRequest.Builder> describeTagsRequest) Describes the specified tags for the specified WorkSpaces resource.default CompletableFuture<DescribeTagsResponse> describeTags(DescribeTagsRequest describeTagsRequest) Describes the specified tags for the specified WorkSpaces resource.describeWorkspaceAssociations(Consumer<DescribeWorkspaceAssociationsRequest.Builder> describeWorkspaceAssociationsRequest) Describes the associations betweens applications and the specified WorkSpace.describeWorkspaceAssociations(DescribeWorkspaceAssociationsRequest describeWorkspaceAssociationsRequest) Describes the associations betweens applications and the specified WorkSpace.Retrieves a list that describes the available WorkSpace bundles.describeWorkspaceBundles(Consumer<DescribeWorkspaceBundlesRequest.Builder> describeWorkspaceBundlesRequest) Retrieves a list that describes the available WorkSpace bundles.describeWorkspaceBundles(DescribeWorkspaceBundlesRequest describeWorkspaceBundlesRequest) Retrieves a list that describes the available WorkSpace bundles.This is a variant ofdescribeWorkspaceBundles(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceBundlesRequest)operation.describeWorkspaceBundlesPaginator(Consumer<DescribeWorkspaceBundlesRequest.Builder> describeWorkspaceBundlesRequest) This is a variant ofdescribeWorkspaceBundles(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceBundlesRequest)operation.describeWorkspaceBundlesPaginator(DescribeWorkspaceBundlesRequest describeWorkspaceBundlesRequest) This is a variant ofdescribeWorkspaceBundles(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceBundlesRequest)operation.Describes the available directories that are registered with Amazon WorkSpaces.describeWorkspaceDirectories(Consumer<DescribeWorkspaceDirectoriesRequest.Builder> describeWorkspaceDirectoriesRequest) Describes the available directories that are registered with Amazon WorkSpaces.describeWorkspaceDirectories(DescribeWorkspaceDirectoriesRequest describeWorkspaceDirectoriesRequest) Describes the available directories that are registered with Amazon WorkSpaces.This is a variant ofdescribeWorkspaceDirectories(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceDirectoriesRequest)operation.describeWorkspaceDirectoriesPaginator(Consumer<DescribeWorkspaceDirectoriesRequest.Builder> describeWorkspaceDirectoriesRequest) This is a variant ofdescribeWorkspaceDirectories(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceDirectoriesRequest)operation.describeWorkspaceDirectoriesPaginator(DescribeWorkspaceDirectoriesRequest describeWorkspaceDirectoriesRequest) This is a variant ofdescribeWorkspaceDirectories(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceDirectoriesRequest)operation.describeWorkspaceImagePermissions(Consumer<DescribeWorkspaceImagePermissionsRequest.Builder> describeWorkspaceImagePermissionsRequest) Describes the permissions that the owner of an image has granted to other Amazon Web Services accounts for an image.describeWorkspaceImagePermissions(DescribeWorkspaceImagePermissionsRequest describeWorkspaceImagePermissionsRequest) Describes the permissions that the owner of an image has granted to other Amazon Web Services accounts for an image.Retrieves a list that describes one or more specified images, if the image identifiers are provided.describeWorkspaceImages(Consumer<DescribeWorkspaceImagesRequest.Builder> describeWorkspaceImagesRequest) Retrieves a list that describes one or more specified images, if the image identifiers are provided.describeWorkspaceImages(DescribeWorkspaceImagesRequest describeWorkspaceImagesRequest) Retrieves a list that describes one or more specified images, if the image identifiers are provided.Describes the specified WorkSpaces.describeWorkspaces(Consumer<DescribeWorkspacesRequest.Builder> describeWorkspacesRequest) Describes the specified WorkSpaces.describeWorkspaces(DescribeWorkspacesRequest describeWorkspacesRequest) Describes the specified WorkSpaces.Describes the connection status of the specified WorkSpaces.describeWorkspacesConnectionStatus(Consumer<DescribeWorkspacesConnectionStatusRequest.Builder> describeWorkspacesConnectionStatusRequest) Describes the connection status of the specified WorkSpaces.describeWorkspacesConnectionStatus(DescribeWorkspacesConnectionStatusRequest describeWorkspacesConnectionStatusRequest) Describes the connection status of the specified WorkSpaces.describeWorkspaceSnapshots(Consumer<DescribeWorkspaceSnapshotsRequest.Builder> describeWorkspaceSnapshotsRequest) Describes the snapshots for the specified WorkSpace.describeWorkspaceSnapshots(DescribeWorkspaceSnapshotsRequest describeWorkspaceSnapshotsRequest) Describes the snapshots for the specified WorkSpace.default DescribeWorkspacesPublisherThis is a variant ofdescribeWorkspaces(software.amazon.awssdk.services.workspaces.model.DescribeWorkspacesRequest)operation.default DescribeWorkspacesPublisherdescribeWorkspacesPaginator(Consumer<DescribeWorkspacesRequest.Builder> describeWorkspacesRequest) This is a variant ofdescribeWorkspaces(software.amazon.awssdk.services.workspaces.model.DescribeWorkspacesRequest)operation.default DescribeWorkspacesPublisherdescribeWorkspacesPaginator(DescribeWorkspacesRequest describeWorkspacesRequest) This is a variant ofdescribeWorkspaces(software.amazon.awssdk.services.workspaces.model.DescribeWorkspacesRequest)operation.describeWorkspacesPools(Consumer<DescribeWorkspacesPoolsRequest.Builder> describeWorkspacesPoolsRequest) describeWorkspacesPools(DescribeWorkspacesPoolsRequest describeWorkspacesPoolsRequest) describeWorkspacesPoolSessions(Consumer<DescribeWorkspacesPoolSessionsRequest.Builder> describeWorkspacesPoolSessionsRequest) describeWorkspacesPoolSessions(DescribeWorkspacesPoolSessionsRequest describeWorkspacesPoolSessionsRequest) disassociateAccountModels(Consumer<DisassociateAccountModelsRequest.Builder> disassociateAccountModelsRequest) Removes models from your account's model list.disassociateAccountModels(DisassociateAccountModelsRequest disassociateAccountModelsRequest) Removes models from your account's model list.disassociateConnectionAlias(Consumer<DisassociateConnectionAliasRequest.Builder> disassociateConnectionAliasRequest) Disassociates a connection alias from a directory.disassociateConnectionAlias(DisassociateConnectionAliasRequest disassociateConnectionAliasRequest) Disassociates a connection alias from a directory.disassociateIpGroups(Consumer<DisassociateIpGroupsRequest.Builder> disassociateIpGroupsRequest) Disassociates the specified IP access control group from the specified directory.disassociateIpGroups(DisassociateIpGroupsRequest disassociateIpGroupsRequest) Disassociates the specified IP access control group from the specified directory.disassociateWorkspaceAgenticConnectors(Consumer<DisassociateWorkspaceAgenticConnectorsRequest.Builder> disassociateWorkspaceAgenticConnectorsRequest) Disassociates agentic connectors from the specified WorkSpace.disassociateWorkspaceAgenticConnectors(DisassociateWorkspaceAgenticConnectorsRequest disassociateWorkspaceAgenticConnectorsRequest) Disassociates agentic connectors from the specified WorkSpace.disassociateWorkspaceAgenticContexts(Consumer<DisassociateWorkspaceAgenticContextsRequest.Builder> disassociateWorkspaceAgenticContextsRequest) Disassociates agentic contexts from the specified WorkSpace.disassociateWorkspaceAgenticContexts(DisassociateWorkspaceAgenticContextsRequest disassociateWorkspaceAgenticContextsRequest) Disassociates agentic contexts from the specified WorkSpace.disassociateWorkspaceApplication(Consumer<DisassociateWorkspaceApplicationRequest.Builder> disassociateWorkspaceApplicationRequest) Disassociates the specified application from a WorkSpace.disassociateWorkspaceApplication(DisassociateWorkspaceApplicationRequest disassociateWorkspaceApplicationRequest) Disassociates the specified application from a WorkSpace.disassociateWorkspaceModels(Consumer<DisassociateWorkspaceModelsRequest.Builder> disassociateWorkspaceModelsRequest) Disassociates models from the specified WorkSpace.disassociateWorkspaceModels(DisassociateWorkspaceModelsRequest disassociateWorkspaceModelsRequest) Disassociates models from the specified WorkSpace.default CompletableFuture<GetAccountLinkResponse> getAccountLink(Consumer<GetAccountLinkRequest.Builder> getAccountLinkRequest) Retrieves account link information.default CompletableFuture<GetAccountLinkResponse> getAccountLink(GetAccountLinkRequest getAccountLinkRequest) Retrieves account link information.getAgenticAccountSetup(Consumer<GetAgenticAccountSetupRequest.Builder> getAgenticAccountSetupRequest) Describes the agentic setup of your account in the current Region.getAgenticAccountSetup(GetAgenticAccountSetupRequest getAgenticAccountSetupRequest) Describes the agentic setup of your account in the current Region.getAgenticContext(Consumer<GetAgenticContextRequest.Builder> getAgenticContextRequest) Describes an agentic context, including its body.getAgenticContext(GetAgenticContextRequest getAgenticContextRequest) Describes an agentic context, including its body.getAgenticWorkspaceConfiguration(Consumer<GetAgenticWorkspaceConfigurationRequest.Builder> getAgenticWorkspaceConfigurationRequest) Describes the agentic configuration of the specified WorkSpace, including its models, agent runtime, connectors, contexts, enforced policies, and agent health.getAgenticWorkspaceConfiguration(GetAgenticWorkspaceConfigurationRequest getAgenticWorkspaceConfigurationRequest) Describes the agentic configuration of the specified WorkSpace, including its models, agent runtime, connectors, contexts, enforced policies, and agent health.importClientBranding(Consumer<ImportClientBrandingRequest.Builder> importClientBrandingRequest) Imports client branding.importClientBranding(ImportClientBrandingRequest importClientBrandingRequest) Imports client branding.importCustomWorkspaceImage(Consumer<ImportCustomWorkspaceImageRequest.Builder> importCustomWorkspaceImageRequest) Imports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon WorkSpaces using EC2 Image Builder.importCustomWorkspaceImage(ImportCustomWorkspaceImageRequest importCustomWorkspaceImageRequest) Imports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon WorkSpaces using EC2 Image Builder.importWorkspaceImage(Consumer<ImportWorkspaceImageRequest.Builder> importWorkspaceImageRequest) Imports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon WorkSpaces.importWorkspaceImage(ImportWorkspaceImageRequest importWorkspaceImageRequest) Imports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon WorkSpaces.listAccountLinks(Consumer<ListAccountLinksRequest.Builder> listAccountLinksRequest) Lists all account links.listAccountLinks(ListAccountLinksRequest listAccountLinksRequest) Lists all account links.default ListAccountLinksPublisherlistAccountLinksPaginator(Consumer<ListAccountLinksRequest.Builder> listAccountLinksRequest) This is a variant oflistAccountLinks(software.amazon.awssdk.services.workspaces.model.ListAccountLinksRequest)operation.default ListAccountLinksPublisherlistAccountLinksPaginator(ListAccountLinksRequest listAccountLinksRequest) This is a variant oflistAccountLinks(software.amazon.awssdk.services.workspaces.model.ListAccountLinksRequest)operation.listAccountModels(Consumer<ListAccountModelsRequest.Builder> listAccountModelsRequest) Lists the models on your account's model list, sorted by model ID.listAccountModels(ListAccountModelsRequest listAccountModelsRequest) Lists the models on your account's model list, sorted by model ID.default ListAccountModelsPublisherlistAccountModelsPaginator(Consumer<ListAccountModelsRequest.Builder> listAccountModelsRequest) This is a variant oflistAccountModels(software.amazon.awssdk.services.workspaces.model.ListAccountModelsRequest)operation.default ListAccountModelsPublisherlistAccountModelsPaginator(ListAccountModelsRequest listAccountModelsRequest) This is a variant oflistAccountModels(software.amazon.awssdk.services.workspaces.model.ListAccountModelsRequest)operation.listAgentEnforcedPolicies(Consumer<ListAgentEnforcedPoliciesRequest.Builder> listAgentEnforcedPoliciesRequest) Lists the agent-enforced policies that you can use, including policies that Amazon owns.listAgentEnforcedPolicies(ListAgentEnforcedPoliciesRequest listAgentEnforcedPoliciesRequest) Lists the agent-enforced policies that you can use, including policies that Amazon owns.listAgentEnforcedPoliciesPaginator(Consumer<ListAgentEnforcedPoliciesRequest.Builder> listAgentEnforcedPoliciesRequest) This is a variant oflistAgentEnforcedPolicies(software.amazon.awssdk.services.workspaces.model.ListAgentEnforcedPoliciesRequest)operation.listAgentEnforcedPoliciesPaginator(ListAgentEnforcedPoliciesRequest listAgentEnforcedPoliciesRequest) This is a variant oflistAgentEnforcedPolicies(software.amazon.awssdk.services.workspaces.model.ListAgentEnforcedPoliciesRequest)operation.listAgenticConnectors(Consumer<ListAgenticConnectorsRequest.Builder> listAgenticConnectorsRequest) Lists the agentic connectors available to your account, with their activation status.listAgenticConnectors(ListAgenticConnectorsRequest listAgenticConnectorsRequest) Lists the agentic connectors available to your account, with their activation status.default ListAgenticConnectorsPublisherlistAgenticConnectorsPaginator(Consumer<ListAgenticConnectorsRequest.Builder> listAgenticConnectorsRequest) This is a variant oflistAgenticConnectors(software.amazon.awssdk.services.workspaces.model.ListAgenticConnectorsRequest)operation.default ListAgenticConnectorsPublisherlistAgenticConnectorsPaginator(ListAgenticConnectorsRequest listAgenticConnectorsRequest) This is a variant oflistAgenticConnectors(software.amazon.awssdk.services.workspaces.model.ListAgenticConnectorsRequest)operation.listAgenticContexts(Consumer<ListAgenticContextsRequest.Builder> listAgenticContextsRequest) Lists the agentic contexts in your account.listAgenticContexts(ListAgenticContextsRequest listAgenticContextsRequest) Lists the agentic contexts in your account.default ListAgenticContextsPublisherlistAgenticContextsPaginator(Consumer<ListAgenticContextsRequest.Builder> listAgenticContextsRequest) This is a variant oflistAgenticContexts(software.amazon.awssdk.services.workspaces.model.ListAgenticContextsRequest)operation.default ListAgenticContextsPublisherlistAgenticContextsPaginator(ListAgenticContextsRequest listAgenticContextsRequest) This is a variant oflistAgenticContexts(software.amazon.awssdk.services.workspaces.model.ListAgenticContextsRequest)operation.listAgenticPersonaConfigurations(Consumer<ListAgenticPersonaConfigurationsRequest.Builder> listAgenticPersonaConfigurationsRequest) Lists the agentic persona configurations in your account.listAgenticPersonaConfigurations(ListAgenticPersonaConfigurationsRequest listAgenticPersonaConfigurationsRequest) Lists the agentic persona configurations in your account.listAgenticPersonaConfigurationsPaginator(Consumer<ListAgenticPersonaConfigurationsRequest.Builder> listAgenticPersonaConfigurationsRequest) This is a variant oflistAgenticPersonaConfigurations(software.amazon.awssdk.services.workspaces.model.ListAgenticPersonaConfigurationsRequest)operation.listAgenticPersonaConfigurationsPaginator(ListAgenticPersonaConfigurationsRequest listAgenticPersonaConfigurationsRequest) This is a variant oflistAgenticPersonaConfigurations(software.amazon.awssdk.services.workspaces.model.ListAgenticPersonaConfigurationsRequest)operation.listAvailableManagementCidrRanges(Consumer<ListAvailableManagementCidrRangesRequest.Builder> listAvailableManagementCidrRangesRequest) Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use for the network management interface when you enable Bring Your Own License (BYOL).listAvailableManagementCidrRanges(ListAvailableManagementCidrRangesRequest listAvailableManagementCidrRangesRequest) Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use for the network management interface when you enable Bring Your Own License (BYOL).listSupportedModels(Consumer<ListSupportedModelsRequest.Builder> listSupportedModelsRequest) Lists the models that you can add to your account's model list, sorted by model ID.listSupportedModels(ListSupportedModelsRequest listSupportedModelsRequest) Lists the models that you can add to your account's model list, sorted by model ID.default ListSupportedModelsPublisherlistSupportedModelsPaginator(Consumer<ListSupportedModelsRequest.Builder> listSupportedModelsRequest) This is a variant oflistSupportedModels(software.amazon.awssdk.services.workspaces.model.ListSupportedModelsRequest)operation.default ListSupportedModelsPublisherlistSupportedModelsPaginator(ListSupportedModelsRequest listSupportedModelsRequest) This is a variant oflistSupportedModels(software.amazon.awssdk.services.workspaces.model.ListSupportedModelsRequest)operation.listWorkspaceEnforcedPolicies(Consumer<ListWorkspaceEnforcedPoliciesRequest.Builder> listWorkspaceEnforcedPoliciesRequest) Lists the WorkSpace-enforced policies that you can use, including policies that Amazon owns.listWorkspaceEnforcedPolicies(ListWorkspaceEnforcedPoliciesRequest listWorkspaceEnforcedPoliciesRequest) Lists the WorkSpace-enforced policies that you can use, including policies that Amazon owns.listWorkspaceEnforcedPoliciesPaginator(Consumer<ListWorkspaceEnforcedPoliciesRequest.Builder> listWorkspaceEnforcedPoliciesRequest) This is a variant oflistWorkspaceEnforcedPolicies(software.amazon.awssdk.services.workspaces.model.ListWorkspaceEnforcedPoliciesRequest)operation.listWorkspaceEnforcedPoliciesPaginator(ListWorkspaceEnforcedPoliciesRequest listWorkspaceEnforcedPoliciesRequest) This is a variant oflistWorkspaceEnforcedPolicies(software.amazon.awssdk.services.workspaces.model.ListWorkspaceEnforcedPoliciesRequest)operation.migrateWorkspace(Consumer<MigrateWorkspaceRequest.Builder> migrateWorkspaceRequest) Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume.migrateWorkspace(MigrateWorkspaceRequest migrateWorkspaceRequest) Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume.default CompletableFuture<ModifyAccountResponse> modifyAccount(Consumer<ModifyAccountRequest.Builder> modifyAccountRequest) Modifies the configuration of Bring Your Own License (BYOL) for the specified account.default CompletableFuture<ModifyAccountResponse> modifyAccount(ModifyAccountRequest modifyAccountRequest) Modifies the configuration of Bring Your Own License (BYOL) for the specified account.modifyCertificateBasedAuthProperties(Consumer<ModifyCertificateBasedAuthPropertiesRequest.Builder> modifyCertificateBasedAuthPropertiesRequest) Modifies the properties of the certificate-based authentication you want to use with your WorkSpaces.modifyCertificateBasedAuthProperties(ModifyCertificateBasedAuthPropertiesRequest modifyCertificateBasedAuthPropertiesRequest) Modifies the properties of the certificate-based authentication you want to use with your WorkSpaces.modifyClientProperties(Consumer<ModifyClientPropertiesRequest.Builder> modifyClientPropertiesRequest) Modifies the properties of the specified Amazon WorkSpaces clients.modifyClientProperties(ModifyClientPropertiesRequest modifyClientPropertiesRequest) Modifies the properties of the specified Amazon WorkSpaces clients.modifyEndpointEncryptionMode(Consumer<ModifyEndpointEncryptionModeRequest.Builder> modifyEndpointEncryptionModeRequest) Modifies the endpoint encryption mode that allows you to configure the specified directory between Standard TLS and FIPS 140-2 validated mode.modifyEndpointEncryptionMode(ModifyEndpointEncryptionModeRequest modifyEndpointEncryptionModeRequest) Modifies the endpoint encryption mode that allows you to configure the specified directory between Standard TLS and FIPS 140-2 validated mode.modifySamlProperties(Consumer<ModifySamlPropertiesRequest.Builder> modifySamlPropertiesRequest) Modifies multiple properties related to SAML 2.0 authentication, including the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.modifySamlProperties(ModifySamlPropertiesRequest modifySamlPropertiesRequest) Modifies multiple properties related to SAML 2.0 authentication, including the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.modifySelfservicePermissions(Consumer<ModifySelfservicePermissionsRequest.Builder> modifySelfservicePermissionsRequest) Modifies the self-service WorkSpace management capabilities for your users.modifySelfservicePermissions(ModifySelfservicePermissionsRequest modifySelfservicePermissionsRequest) Modifies the self-service WorkSpace management capabilities for your users.modifyStreamingProperties(Consumer<ModifyStreamingPropertiesRequest.Builder> modifyStreamingPropertiesRequest) Modifies the specified streaming properties.modifyStreamingProperties(ModifyStreamingPropertiesRequest modifyStreamingPropertiesRequest) Modifies the specified streaming properties.modifyWorkspaceAccessProperties(Consumer<ModifyWorkspaceAccessPropertiesRequest.Builder> modifyWorkspaceAccessPropertiesRequest) Specifies which devices and operating systems users can use to access their WorkSpaces.modifyWorkspaceAccessProperties(ModifyWorkspaceAccessPropertiesRequest modifyWorkspaceAccessPropertiesRequest) Specifies which devices and operating systems users can use to access their WorkSpaces.modifyWorkspaceCreationProperties(Consumer<ModifyWorkspaceCreationPropertiesRequest.Builder> modifyWorkspaceCreationPropertiesRequest) Modify the default properties used to create WorkSpaces.modifyWorkspaceCreationProperties(ModifyWorkspaceCreationPropertiesRequest modifyWorkspaceCreationPropertiesRequest) Modify the default properties used to create WorkSpaces.modifyWorkspaceProperties(Consumer<ModifyWorkspacePropertiesRequest.Builder> modifyWorkspacePropertiesRequest) Modifies the specified WorkSpace properties.modifyWorkspaceProperties(ModifyWorkspacePropertiesRequest modifyWorkspacePropertiesRequest) Modifies the specified WorkSpace properties.modifyWorkspaceState(Consumer<ModifyWorkspaceStateRequest.Builder> modifyWorkspaceStateRequest) Sets the state of the specified WorkSpace.modifyWorkspaceState(ModifyWorkspaceStateRequest modifyWorkspaceStateRequest) Sets the state of the specified WorkSpace.rebootWorkspaces(Consumer<RebootWorkspacesRequest.Builder> rebootWorkspacesRequest) Reboots the specified WorkSpaces.rebootWorkspaces(RebootWorkspacesRequest rebootWorkspacesRequest) Reboots the specified WorkSpaces.rebuildWorkspaces(Consumer<RebuildWorkspacesRequest.Builder> rebuildWorkspacesRequest) Rebuilds the specified WorkSpace.rebuildWorkspaces(RebuildWorkspacesRequest rebuildWorkspacesRequest) Rebuilds the specified WorkSpace.registerWorkspaceDirectory(Consumer<RegisterWorkspaceDirectoryRequest.Builder> registerWorkspaceDirectoryRequest) Registers the specified directory.registerWorkspaceDirectory(RegisterWorkspaceDirectoryRequest registerWorkspaceDirectoryRequest) Registers the specified directory.rejectAccountLinkInvitation(Consumer<RejectAccountLinkInvitationRequest.Builder> rejectAccountLinkInvitationRequest) Rejects the account link invitation.rejectAccountLinkInvitation(RejectAccountLinkInvitationRequest rejectAccountLinkInvitationRequest) Rejects the account link invitation.restoreWorkspace(Consumer<RestoreWorkspaceRequest.Builder> restoreWorkspaceRequest) Restores the specified WorkSpace to its last known healthy state.restoreWorkspace(RestoreWorkspaceRequest restoreWorkspaceRequest) Restores the specified WorkSpace to its last known healthy state.default CompletableFuture<RevokeIpRulesResponse> revokeIpRules(Consumer<RevokeIpRulesRequest.Builder> revokeIpRulesRequest) Removes one or more rules from the specified IP access control group.default CompletableFuture<RevokeIpRulesResponse> revokeIpRules(RevokeIpRulesRequest revokeIpRulesRequest) Removes one or more rules from the specified IP access control group.The SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationstartAgenticAccountSetup(Consumer<StartAgenticAccountSetupRequest.Builder> startAgenticAccountSetupRequest) Starts setting up Agentic WorkSpaces for your account in the current Region.startAgenticAccountSetup(StartAgenticAccountSetupRequest startAgenticAccountSetupRequest) Starts setting up Agentic WorkSpaces for your account in the current Region.default CompletableFuture<StartWorkspacesResponse> startWorkspaces(Consumer<StartWorkspacesRequest.Builder> startWorkspacesRequest) Starts the specified WorkSpaces.default CompletableFuture<StartWorkspacesResponse> startWorkspaces(StartWorkspacesRequest startWorkspacesRequest) Starts the specified WorkSpaces.startWorkspacesPool(Consumer<StartWorkspacesPoolRequest.Builder> startWorkspacesPoolRequest) startWorkspacesPool(StartWorkspacesPoolRequest startWorkspacesPoolRequest) default CompletableFuture<StopWorkspacesResponse> stopWorkspaces(Consumer<StopWorkspacesRequest.Builder> stopWorkspacesRequest) Stops the specified WorkSpaces.default CompletableFuture<StopWorkspacesResponse> stopWorkspaces(StopWorkspacesRequest stopWorkspacesRequest) Stops the specified WorkSpaces.stopWorkspacesPool(Consumer<StopWorkspacesPoolRequest.Builder> stopWorkspacesPoolRequest) stopWorkspacesPool(StopWorkspacesPoolRequest stopWorkspacesPoolRequest) terminateWorkspaces(Consumer<TerminateWorkspacesRequest.Builder> terminateWorkspacesRequest) Terminates the specified WorkSpaces.terminateWorkspaces(TerminateWorkspacesRequest terminateWorkspacesRequest) Terminates the specified WorkSpaces.terminateWorkspacesPool(Consumer<TerminateWorkspacesPoolRequest.Builder> terminateWorkspacesPoolRequest) terminateWorkspacesPool(TerminateWorkspacesPoolRequest terminateWorkspacesPoolRequest) terminateWorkspacesPoolSession(Consumer<TerminateWorkspacesPoolSessionRequest.Builder> terminateWorkspacesPoolSessionRequest) terminateWorkspacesPoolSession(TerminateWorkspacesPoolSessionRequest terminateWorkspacesPoolSessionRequest) updateAgenticConnectorActivationStatus(Consumer<UpdateAgenticConnectorActivationStatusRequest.Builder> updateAgenticConnectorActivationStatusRequest) Activates or deactivates an agentic connector for your account.updateAgenticConnectorActivationStatus(UpdateAgenticConnectorActivationStatusRequest updateAgenticConnectorActivationStatusRequest) Activates or deactivates an agentic connector for your account.updateConnectClientAddIn(Consumer<UpdateConnectClientAddInRequest.Builder> updateConnectClientAddInRequest) Updates a Connect Customer client add-in.updateConnectClientAddIn(UpdateConnectClientAddInRequest updateConnectClientAddInRequest) Updates a Connect Customer client add-in.updateConnectionAliasPermission(Consumer<UpdateConnectionAliasPermissionRequest.Builder> updateConnectionAliasPermissionRequest) Shares or unshares a connection alias with one account by specifying whether that account has permission to associate the connection alias with a directory.updateConnectionAliasPermission(UpdateConnectionAliasPermissionRequest updateConnectionAliasPermissionRequest) Shares or unshares a connection alias with one account by specifying whether that account has permission to associate the connection alias with a directory.updateRulesOfIpGroup(Consumer<UpdateRulesOfIpGroupRequest.Builder> updateRulesOfIpGroupRequest) Replaces the current rules of the specified IP access control group with the specified rules.updateRulesOfIpGroup(UpdateRulesOfIpGroupRequest updateRulesOfIpGroupRequest) Replaces the current rules of the specified IP access control group with the specified rules.updateWorkspaceBundle(Consumer<UpdateWorkspaceBundleRequest.Builder> updateWorkspaceBundleRequest) Updates a WorkSpace bundle with a new image.updateWorkspaceBundle(UpdateWorkspaceBundleRequest updateWorkspaceBundleRequest) Updates a WorkSpace bundle with a new image.updateWorkspaceImagePermission(Consumer<UpdateWorkspaceImagePermissionRequest.Builder> updateWorkspaceImagePermissionRequest) Shares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has permission to copy the image.updateWorkspaceImagePermission(UpdateWorkspaceImagePermissionRequest updateWorkspaceImagePermissionRequest) Shares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has permission to copy the image.updateWorkspacesPool(Consumer<UpdateWorkspacesPoolRequest.Builder> updateWorkspacesPoolRequest) updateWorkspacesPool(UpdateWorkspacesPoolRequest updateWorkspacesPoolRequest) Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
acceptAccountLinkInvitation
default CompletableFuture<AcceptAccountLinkInvitationResponse> acceptAccountLinkInvitation(AcceptAccountLinkInvitationRequest acceptAccountLinkInvitationRequest) Accepts the account link invitation.
There's currently no unlinking capability after you accept the account linking invitation.
- Parameters:
acceptAccountLinkInvitationRequest-- Returns:
- A Java Future containing the result of the AcceptAccountLinkInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- InternalServerException An unexpected server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
acceptAccountLinkInvitation
default CompletableFuture<AcceptAccountLinkInvitationResponse> acceptAccountLinkInvitation(Consumer<AcceptAccountLinkInvitationRequest.Builder> acceptAccountLinkInvitationRequest) Accepts the account link invitation.
There's currently no unlinking capability after you accept the account linking invitation.
This is a convenience which creates an instance of the
AcceptAccountLinkInvitationRequest.Builderavoiding the need to create one manually viaAcceptAccountLinkInvitationRequest.builder()- Parameters:
acceptAccountLinkInvitationRequest- AConsumerthat will call methods onAcceptAccountLinkInvitationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AcceptAccountLinkInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- InternalServerException An unexpected server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateAccountModels
default CompletableFuture<AssociateAccountModelsResponse> associateAccountModels(AssociateAccountModelsRequest associateAccountModelsRequest) Adds models from the supported model catalog to your account's model list. The operation ignores models that are already on the list. You can specify up to 25 models in a request. If a model isn't in the supported model catalog, the operation returns an error. If the request would exceed the maximum number of models on your account's model list, the operation returns
ServiceQuotaExceededException.- Parameters:
associateAccountModelsRequest-- Returns:
- A Java Future containing the result of the AssociateAccountModels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateAccountModels
default CompletableFuture<AssociateAccountModelsResponse> associateAccountModels(Consumer<AssociateAccountModelsRequest.Builder> associateAccountModelsRequest) Adds models from the supported model catalog to your account's model list. The operation ignores models that are already on the list. You can specify up to 25 models in a request. If a model isn't in the supported model catalog, the operation returns an error. If the request would exceed the maximum number of models on your account's model list, the operation returns
ServiceQuotaExceededException.
This is a convenience which creates an instance of the
AssociateAccountModelsRequest.Builderavoiding the need to create one manually viaAssociateAccountModelsRequest.builder()- Parameters:
associateAccountModelsRequest- AConsumerthat will call methods onAssociateAccountModelsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateAccountModels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateAgentEnforcedPolicy
default CompletableFuture<AssociateAgentEnforcedPolicyResponse> associateAgentEnforcedPolicy(AssociateAgentEnforcedPolicyRequest associateAgentEnforcedPolicyRequest) Associates an agent-enforced policy with the specified WorkSpace, replacing its current agent-enforced policy. If the WorkSpace can't apply the policy, the policy stays associated and the operation returns
PolicyApplyFailedException. If the WorkSpace is in a state that doesn't allow the change, the policy is being deleted, or another request changed the WorkSpace's agent-enforced policy at the same time, the operation returnsConflictException.- Parameters:
associateAgentEnforcedPolicyRequest-- Returns:
- A Java Future containing the result of the AssociateAgentEnforcedPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- PolicyApplyFailedException The service associated the enforced policy, but it couldn't apply it: the
WorkSpace or its agent rejected it, or the service couldn't deliver it to the WorkSpace. Don't retry. Fix
the policy and associate it again. To see why, call
GetAgenticWorkspaceConfiguration. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateAgentEnforcedPolicy
default CompletableFuture<AssociateAgentEnforcedPolicyResponse> associateAgentEnforcedPolicy(Consumer<AssociateAgentEnforcedPolicyRequest.Builder> associateAgentEnforcedPolicyRequest) Associates an agent-enforced policy with the specified WorkSpace, replacing its current agent-enforced policy. If the WorkSpace can't apply the policy, the policy stays associated and the operation returns
PolicyApplyFailedException. If the WorkSpace is in a state that doesn't allow the change, the policy is being deleted, or another request changed the WorkSpace's agent-enforced policy at the same time, the operation returnsConflictException.
This is a convenience which creates an instance of the
AssociateAgentEnforcedPolicyRequest.Builderavoiding the need to create one manually viaAssociateAgentEnforcedPolicyRequest.builder()- Parameters:
associateAgentEnforcedPolicyRequest- AConsumerthat will call methods onAssociateAgentEnforcedPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateAgentEnforcedPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- PolicyApplyFailedException The service associated the enforced policy, but it couldn't apply it: the
WorkSpace or its agent rejected it, or the service couldn't deliver it to the WorkSpace. Don't retry. Fix
the policy and associate it again. To see why, call
GetAgenticWorkspaceConfiguration. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateConnectionAlias
default CompletableFuture<AssociateConnectionAliasResponse> associateConnectionAlias(AssociateConnectionAliasRequest associateConnectionAliasRequest) Associates the specified connection alias with the specified directory to enable cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is
CREATED.- Parameters:
associateConnectionAliasRequest-- Returns:
- A Java Future containing the result of the AssociateConnectionAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceAssociatedException The resource is associated with a directory.
- AccessDeniedException The user is not authorized to access a resource.
- ResourceNotFoundException The resource could not be found.
- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateConnectionAlias
default CompletableFuture<AssociateConnectionAliasResponse> associateConnectionAlias(Consumer<AssociateConnectionAliasRequest.Builder> associateConnectionAliasRequest) Associates the specified connection alias with the specified directory to enable cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is
CREATED.
This is a convenience which creates an instance of the
AssociateConnectionAliasRequest.Builderavoiding the need to create one manually viaAssociateConnectionAliasRequest.builder()- Parameters:
associateConnectionAliasRequest- AConsumerthat will call methods onAssociateConnectionAliasRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateConnectionAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceAssociatedException The resource is associated with a directory.
- AccessDeniedException The user is not authorized to access a resource.
- ResourceNotFoundException The resource could not be found.
- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateIpGroups
default CompletableFuture<AssociateIpGroupsResponse> associateIpGroups(AssociateIpGroupsRequest associateIpGroupsRequest) Associates the specified IP access control group with the specified directory.
- Parameters:
associateIpGroupsRequest-- Returns:
- A Java Future containing the result of the AssociateIpGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceLimitExceededException Your resource limits have been exceeded.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateIpGroups
default CompletableFuture<AssociateIpGroupsResponse> associateIpGroups(Consumer<AssociateIpGroupsRequest.Builder> associateIpGroupsRequest) Associates the specified IP access control group with the specified directory.
This is a convenience which creates an instance of the
AssociateIpGroupsRequest.Builderavoiding the need to create one manually viaAssociateIpGroupsRequest.builder()- Parameters:
associateIpGroupsRequest- AConsumerthat will call methods onAssociateIpGroupsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateIpGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceLimitExceededException Your resource limits have been exceeded.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateWorkspaceAgenticConnectors
default CompletableFuture<AssociateWorkspaceAgenticConnectorsResponse> associateWorkspaceAgenticConnectors(AssociateWorkspaceAgenticConnectorsRequest associateWorkspaceAgenticConnectorsRequest) Associates agentic connectors with the specified WorkSpace. The operation ignores connectors that are already associated with the WorkSpace. The connectors must be activated for your account. To activate a connector, call
UpdateAgenticConnectorActivationStatus. A WorkSpace can have up to 25 connectors. If the request would exceed this limit, the operation returnsServiceQuotaExceededException.- Parameters:
associateWorkspaceAgenticConnectorsRequest-- Returns:
- A Java Future containing the result of the AssociateWorkspaceAgenticConnectors operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateWorkspaceAgenticConnectors
default CompletableFuture<AssociateWorkspaceAgenticConnectorsResponse> associateWorkspaceAgenticConnectors(Consumer<AssociateWorkspaceAgenticConnectorsRequest.Builder> associateWorkspaceAgenticConnectorsRequest) Associates agentic connectors with the specified WorkSpace. The operation ignores connectors that are already associated with the WorkSpace. The connectors must be activated for your account. To activate a connector, call
UpdateAgenticConnectorActivationStatus. A WorkSpace can have up to 25 connectors. If the request would exceed this limit, the operation returnsServiceQuotaExceededException.
This is a convenience which creates an instance of the
AssociateWorkspaceAgenticConnectorsRequest.Builderavoiding the need to create one manually viaAssociateWorkspaceAgenticConnectorsRequest.builder()- Parameters:
associateWorkspaceAgenticConnectorsRequest- AConsumerthat will call methods onAssociateWorkspaceAgenticConnectorsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateWorkspaceAgenticConnectors operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateWorkspaceAgenticContexts
default CompletableFuture<AssociateWorkspaceAgenticContextsResponse> associateWorkspaceAgenticContexts(AssociateWorkspaceAgenticContextsRequest associateWorkspaceAgenticContextsRequest) Associates agentic contexts with the specified WorkSpace. The operation ignores contexts that are already associated with the WorkSpace. A WorkSpace can have up to 50 contexts. If the request would exceed this limit, the operation returns
ServiceQuotaExceededException.- Parameters:
associateWorkspaceAgenticContextsRequest-- Returns:
- A Java Future containing the result of the AssociateWorkspaceAgenticContexts operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateWorkspaceAgenticContexts
default CompletableFuture<AssociateWorkspaceAgenticContextsResponse> associateWorkspaceAgenticContexts(Consumer<AssociateWorkspaceAgenticContextsRequest.Builder> associateWorkspaceAgenticContextsRequest) Associates agentic contexts with the specified WorkSpace. The operation ignores contexts that are already associated with the WorkSpace. A WorkSpace can have up to 50 contexts. If the request would exceed this limit, the operation returns
ServiceQuotaExceededException.
This is a convenience which creates an instance of the
AssociateWorkspaceAgenticContextsRequest.Builderavoiding the need to create one manually viaAssociateWorkspaceAgenticContextsRequest.builder()- Parameters:
associateWorkspaceAgenticContextsRequest- AConsumerthat will call methods onAssociateWorkspaceAgenticContextsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateWorkspaceAgenticContexts operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateWorkspaceApplication
default CompletableFuture<AssociateWorkspaceApplicationResponse> associateWorkspaceApplication(AssociateWorkspaceApplicationRequest associateWorkspaceApplicationRequest) Associates the specified application to the specified WorkSpace.
- Parameters:
associateWorkspaceApplicationRequest-- Returns:
- A Java Future containing the result of the AssociateWorkspaceApplication operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceInUseException The specified resource is currently in use.
- ResourceNotFoundException The resource could not be found.
- ComputeNotCompatibleException The compute type of the WorkSpace is not compatible with the application.
- OperatingSystemNotCompatibleException The operating system of the WorkSpace is not compatible with the application.
- ApplicationNotSupportedException The specified application is not supported.
- IncompatibleApplicationsException The specified application is not compatible with the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateWorkspaceApplication
default CompletableFuture<AssociateWorkspaceApplicationResponse> associateWorkspaceApplication(Consumer<AssociateWorkspaceApplicationRequest.Builder> associateWorkspaceApplicationRequest) Associates the specified application to the specified WorkSpace.
This is a convenience which creates an instance of the
AssociateWorkspaceApplicationRequest.Builderavoiding the need to create one manually viaAssociateWorkspaceApplicationRequest.builder()- Parameters:
associateWorkspaceApplicationRequest- AConsumerthat will call methods onAssociateWorkspaceApplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateWorkspaceApplication operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceInUseException The specified resource is currently in use.
- ResourceNotFoundException The resource could not be found.
- ComputeNotCompatibleException The compute type of the WorkSpace is not compatible with the application.
- OperatingSystemNotCompatibleException The operating system of the WorkSpace is not compatible with the application.
- ApplicationNotSupportedException The specified application is not supported.
- IncompatibleApplicationsException The specified application is not compatible with the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateWorkspaceEnforcedPolicy
default CompletableFuture<AssociateWorkspaceEnforcedPolicyResponse> associateWorkspaceEnforcedPolicy(AssociateWorkspaceEnforcedPolicyRequest associateWorkspaceEnforcedPolicyRequest) Associates a WorkSpace-enforced policy with the specified WorkSpace, replacing its current WorkSpace-enforced policy. If the WorkSpace can't apply the policy, the policy stays associated and the operation returns
PolicyApplyFailedException. If the WorkSpace is in a state that doesn't allow the change, the policy is being deleted, or another request changed the WorkSpace's WorkSpace-enforced policy at the same time, the operation returnsConflictException.- Parameters:
associateWorkspaceEnforcedPolicyRequest-- Returns:
- A Java Future containing the result of the AssociateWorkspaceEnforcedPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- PolicyApplyFailedException The service associated the enforced policy, but it couldn't apply it: the
WorkSpace or its agent rejected it, or the service couldn't deliver it to the WorkSpace. Don't retry. Fix
the policy and associate it again. To see why, call
GetAgenticWorkspaceConfiguration. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateWorkspaceEnforcedPolicy
default CompletableFuture<AssociateWorkspaceEnforcedPolicyResponse> associateWorkspaceEnforcedPolicy(Consumer<AssociateWorkspaceEnforcedPolicyRequest.Builder> associateWorkspaceEnforcedPolicyRequest) Associates a WorkSpace-enforced policy with the specified WorkSpace, replacing its current WorkSpace-enforced policy. If the WorkSpace can't apply the policy, the policy stays associated and the operation returns
PolicyApplyFailedException. If the WorkSpace is in a state that doesn't allow the change, the policy is being deleted, or another request changed the WorkSpace's WorkSpace-enforced policy at the same time, the operation returnsConflictException.
This is a convenience which creates an instance of the
AssociateWorkspaceEnforcedPolicyRequest.Builderavoiding the need to create one manually viaAssociateWorkspaceEnforcedPolicyRequest.builder()- Parameters:
associateWorkspaceEnforcedPolicyRequest- AConsumerthat will call methods onAssociateWorkspaceEnforcedPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateWorkspaceEnforcedPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- PolicyApplyFailedException The service associated the enforced policy, but it couldn't apply it: the
WorkSpace or its agent rejected it, or the service couldn't deliver it to the WorkSpace. Don't retry. Fix
the policy and associate it again. To see why, call
GetAgenticWorkspaceConfiguration. - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateWorkspaceModels
default CompletableFuture<AssociateWorkspaceModelsResponse> associateWorkspaceModels(AssociateWorkspaceModelsRequest associateWorkspaceModelsRequest) Associates models with the specified WorkSpace. The models must be on your account's model list. The operation ignores models that are already associated with the WorkSpace. A WorkSpace can have up to 25 models. If the request would exceed this limit, the operation returns
ServiceQuotaExceededException.- Parameters:
associateWorkspaceModelsRequest-- Returns:
- A Java Future containing the result of the AssociateWorkspaceModels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
associateWorkspaceModels
default CompletableFuture<AssociateWorkspaceModelsResponse> associateWorkspaceModels(Consumer<AssociateWorkspaceModelsRequest.Builder> associateWorkspaceModelsRequest) Associates models with the specified WorkSpace. The models must be on your account's model list. The operation ignores models that are already associated with the WorkSpace. A WorkSpace can have up to 25 models. If the request would exceed this limit, the operation returns
ServiceQuotaExceededException.
This is a convenience which creates an instance of the
AssociateWorkspaceModelsRequest.Builderavoiding the need to create one manually viaAssociateWorkspaceModelsRequest.builder()- Parameters:
associateWorkspaceModelsRequest- AConsumerthat will call methods onAssociateWorkspaceModelsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AssociateWorkspaceModels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
authorizeIpRules
default CompletableFuture<AuthorizeIpRulesResponse> authorizeIpRules(AuthorizeIpRulesRequest authorizeIpRulesRequest) Adds one or more rules to the specified IP access control group.
This action gives users permission to access their WorkSpaces from the CIDR address ranges specified in the rules.
- Parameters:
authorizeIpRulesRequest-- Returns:
- A Java Future containing the result of the AuthorizeIpRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceLimitExceededException Your resource limits have been exceeded.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
authorizeIpRules
default CompletableFuture<AuthorizeIpRulesResponse> authorizeIpRules(Consumer<AuthorizeIpRulesRequest.Builder> authorizeIpRulesRequest) Adds one or more rules to the specified IP access control group.
This action gives users permission to access their WorkSpaces from the CIDR address ranges specified in the rules.
This is a convenience which creates an instance of the
AuthorizeIpRulesRequest.Builderavoiding the need to create one manually viaAuthorizeIpRulesRequest.builder()- Parameters:
authorizeIpRulesRequest- AConsumerthat will call methods onAuthorizeIpRulesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the AuthorizeIpRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceLimitExceededException Your resource limits have been exceeded.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetAgentEnforcedPolicy
default CompletableFuture<BatchGetAgentEnforcedPolicyResponse> batchGetAgentEnforcedPolicy(BatchGetAgentEnforcedPolicyRequest batchGetAgentEnforcedPolicyRequest) Describes the specified agent-enforced policies.
- Parameters:
batchGetAgentEnforcedPolicyRequest-- Returns:
- A Java Future containing the result of the BatchGetAgentEnforcedPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetAgentEnforcedPolicy
default CompletableFuture<BatchGetAgentEnforcedPolicyResponse> batchGetAgentEnforcedPolicy(Consumer<BatchGetAgentEnforcedPolicyRequest.Builder> batchGetAgentEnforcedPolicyRequest) Describes the specified agent-enforced policies.
This is a convenience which creates an instance of the
BatchGetAgentEnforcedPolicyRequest.Builderavoiding the need to create one manually viaBatchGetAgentEnforcedPolicyRequest.builder()- Parameters:
batchGetAgentEnforcedPolicyRequest- AConsumerthat will call methods onBatchGetAgentEnforcedPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetAgentEnforcedPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetAgentRuntime
default CompletableFuture<BatchGetAgentRuntimeResponse> batchGetAgentRuntime(BatchGetAgentRuntimeRequest batchGetAgentRuntimeRequest) Describes the specified agent runtimes.
- Parameters:
batchGetAgentRuntimeRequest-- Returns:
- A Java Future containing the result of the BatchGetAgentRuntime operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetAgentRuntime
default CompletableFuture<BatchGetAgentRuntimeResponse> batchGetAgentRuntime(Consumer<BatchGetAgentRuntimeRequest.Builder> batchGetAgentRuntimeRequest) Describes the specified agent runtimes.
This is a convenience which creates an instance of the
BatchGetAgentRuntimeRequest.Builderavoiding the need to create one manually viaBatchGetAgentRuntimeRequest.builder()- Parameters:
batchGetAgentRuntimeRequest- AConsumerthat will call methods onBatchGetAgentRuntimeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetAgentRuntime operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetAgenticConnector
default CompletableFuture<BatchGetAgenticConnectorResponse> batchGetAgenticConnector(BatchGetAgenticConnectorRequest batchGetAgenticConnectorRequest) Describes the specified agentic connectors.
- Parameters:
batchGetAgenticConnectorRequest-- Returns:
- A Java Future containing the result of the BatchGetAgenticConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetAgenticConnector
default CompletableFuture<BatchGetAgenticConnectorResponse> batchGetAgenticConnector(Consumer<BatchGetAgenticConnectorRequest.Builder> batchGetAgenticConnectorRequest) Describes the specified agentic connectors.
This is a convenience which creates an instance of the
BatchGetAgenticConnectorRequest.Builderavoiding the need to create one manually viaBatchGetAgenticConnectorRequest.builder()- Parameters:
batchGetAgenticConnectorRequest- AConsumerthat will call methods onBatchGetAgenticConnectorRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetAgenticConnector operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetAgenticContextMetadata
default CompletableFuture<BatchGetAgenticContextMetadataResponse> batchGetAgenticContextMetadata(BatchGetAgenticContextMetadataRequest batchGetAgenticContextMetadataRequest) Describes the specified agentic contexts, without their bodies. To get the body of a context, call
GetAgenticContext. If you don't have permission to describe any one of the specified contexts, the operation returnsAccessDeniedExceptionand no results.- Parameters:
batchGetAgenticContextMetadataRequest-- Returns:
- A Java Future containing the result of the BatchGetAgenticContextMetadata operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetAgenticContextMetadata
default CompletableFuture<BatchGetAgenticContextMetadataResponse> batchGetAgenticContextMetadata(Consumer<BatchGetAgenticContextMetadataRequest.Builder> batchGetAgenticContextMetadataRequest) Describes the specified agentic contexts, without their bodies. To get the body of a context, call
GetAgenticContext. If you don't have permission to describe any one of the specified contexts, the operation returnsAccessDeniedExceptionand no results.
This is a convenience which creates an instance of the
BatchGetAgenticContextMetadataRequest.Builderavoiding the need to create one manually viaBatchGetAgenticContextMetadataRequest.builder()- Parameters:
batchGetAgenticContextMetadataRequest- AConsumerthat will call methods onBatchGetAgenticContextMetadataRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetAgenticContextMetadata operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetAgenticPersonaConfiguration
default CompletableFuture<BatchGetAgenticPersonaConfigurationResponse> batchGetAgenticPersonaConfiguration(BatchGetAgenticPersonaConfigurationRequest batchGetAgenticPersonaConfigurationRequest) Describes the specified agentic persona configurations. If you don't have permission to describe any one of the specified persona configurations, the operation returns
AccessDeniedExceptionand no results.- Parameters:
batchGetAgenticPersonaConfigurationRequest-- Returns:
- A Java Future containing the result of the BatchGetAgenticPersonaConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetAgenticPersonaConfiguration
default CompletableFuture<BatchGetAgenticPersonaConfigurationResponse> batchGetAgenticPersonaConfiguration(Consumer<BatchGetAgenticPersonaConfigurationRequest.Builder> batchGetAgenticPersonaConfigurationRequest) Describes the specified agentic persona configurations. If you don't have permission to describe any one of the specified persona configurations, the operation returns
AccessDeniedExceptionand no results.
This is a convenience which creates an instance of the
BatchGetAgenticPersonaConfigurationRequest.Builderavoiding the need to create one manually viaBatchGetAgenticPersonaConfigurationRequest.builder()- Parameters:
batchGetAgenticPersonaConfigurationRequest- AConsumerthat will call methods onBatchGetAgenticPersonaConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetAgenticPersonaConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetModel
default CompletableFuture<BatchGetModelResponse> batchGetModel(BatchGetModelRequest batchGetModelRequest) Describes the specified models from the supported model catalog.
- Parameters:
batchGetModelRequest-- Returns:
- A Java Future containing the result of the BatchGetModel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetModel
default CompletableFuture<BatchGetModelResponse> batchGetModel(Consumer<BatchGetModelRequest.Builder> batchGetModelRequest) Describes the specified models from the supported model catalog.
This is a convenience which creates an instance of the
BatchGetModelRequest.Builderavoiding the need to create one manually viaBatchGetModelRequest.builder()- Parameters:
batchGetModelRequest- AConsumerthat will call methods onBatchGetModelRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetModel operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetWorkspaceEnforcedPolicy
default CompletableFuture<BatchGetWorkspaceEnforcedPolicyResponse> batchGetWorkspaceEnforcedPolicy(BatchGetWorkspaceEnforcedPolicyRequest batchGetWorkspaceEnforcedPolicyRequest) Describes the specified WorkSpace-enforced policies.
- Parameters:
batchGetWorkspaceEnforcedPolicyRequest-- Returns:
- A Java Future containing the result of the BatchGetWorkspaceEnforcedPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
batchGetWorkspaceEnforcedPolicy
default CompletableFuture<BatchGetWorkspaceEnforcedPolicyResponse> batchGetWorkspaceEnforcedPolicy(Consumer<BatchGetWorkspaceEnforcedPolicyRequest.Builder> batchGetWorkspaceEnforcedPolicyRequest) Describes the specified WorkSpace-enforced policies.
This is a convenience which creates an instance of the
BatchGetWorkspaceEnforcedPolicyRequest.Builderavoiding the need to create one manually viaBatchGetWorkspaceEnforcedPolicyRequest.builder()- Parameters:
batchGetWorkspaceEnforcedPolicyRequest- AConsumerthat will call methods onBatchGetWorkspaceEnforcedPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the BatchGetWorkspaceEnforcedPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
copyWorkspaceImage
default CompletableFuture<CopyWorkspaceImageResponse> copyWorkspaceImage(CopyWorkspaceImageRequest copyWorkspaceImageRequest) Copies the specified image from the specified Region to the current Region. For more information about copying images, see Copy a Custom WorkSpaces Image.
In the China (Ningxia) Region, you can copy images only within the same Region.
In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.
Before copying a shared image, be sure to verify that it has been shared from the correct Amazon Web Services account. To determine if an image has been shared and to see the ID of the Amazon Web Services account that owns an image, use the DescribeWorkSpaceImages and DescribeWorkspaceImagePermissions API operations.
- Parameters:
copyWorkspaceImageRequest-- Returns:
- A Java Future containing the result of the CopyWorkspaceImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceNotFoundException The resource could not be found.
- ResourceUnavailableException The specified resource is not available.
- OperationNotSupportedException This operation is not supported.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
copyWorkspaceImage
default CompletableFuture<CopyWorkspaceImageResponse> copyWorkspaceImage(Consumer<CopyWorkspaceImageRequest.Builder> copyWorkspaceImageRequest) Copies the specified image from the specified Region to the current Region. For more information about copying images, see Copy a Custom WorkSpaces Image.
In the China (Ningxia) Region, you can copy images only within the same Region.
In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.
Before copying a shared image, be sure to verify that it has been shared from the correct Amazon Web Services account. To determine if an image has been shared and to see the ID of the Amazon Web Services account that owns an image, use the DescribeWorkSpaceImages and DescribeWorkspaceImagePermissions API operations.
This is a convenience which creates an instance of the
CopyWorkspaceImageRequest.Builderavoiding the need to create one manually viaCopyWorkspaceImageRequest.builder()- Parameters:
copyWorkspaceImageRequest- AConsumerthat will call methods onCopyWorkspaceImageRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CopyWorkspaceImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceNotFoundException The resource could not be found.
- ResourceUnavailableException The specified resource is not available.
- OperationNotSupportedException This operation is not supported.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAccountLinkInvitation
default CompletableFuture<CreateAccountLinkInvitationResponse> createAccountLinkInvitation(CreateAccountLinkInvitationRequest createAccountLinkInvitationRequest) Creates the account link invitation.
- Parameters:
createAccountLinkInvitationRequest-- Returns:
- A Java Future containing the result of the CreateAccountLinkInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- InternalServerException An unexpected server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAccountLinkInvitation
default CompletableFuture<CreateAccountLinkInvitationResponse> createAccountLinkInvitation(Consumer<CreateAccountLinkInvitationRequest.Builder> createAccountLinkInvitationRequest) Creates the account link invitation.
This is a convenience which creates an instance of the
CreateAccountLinkInvitationRequest.Builderavoiding the need to create one manually viaCreateAccountLinkInvitationRequest.builder()- Parameters:
createAccountLinkInvitationRequest- AConsumerthat will call methods onCreateAccountLinkInvitationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateAccountLinkInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- InternalServerException An unexpected server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAgentEnforcedPolicy
default CompletableFuture<CreateAgentEnforcedPolicyResponse> createAgentEnforcedPolicy(CreateAgentEnforcedPolicyRequest createAgentEnforcedPolicyRequest) Creates an agent-enforced policy, which the agent on the WorkSpace applies. The name must be unique among the agent-enforced policies in your account. If it isn't, the operation returns
ConflictException, and itsResourceIdidentifies the existing policy. If your account would exceed its maximum number of agent-enforced policies, the operation returnsServiceQuotaExceededException.- Parameters:
createAgentEnforcedPolicyRequest-- Returns:
- A Java Future containing the result of the CreateAgentEnforcedPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAgentEnforcedPolicy
default CompletableFuture<CreateAgentEnforcedPolicyResponse> createAgentEnforcedPolicy(Consumer<CreateAgentEnforcedPolicyRequest.Builder> createAgentEnforcedPolicyRequest) Creates an agent-enforced policy, which the agent on the WorkSpace applies. The name must be unique among the agent-enforced policies in your account. If it isn't, the operation returns
ConflictException, and itsResourceIdidentifies the existing policy. If your account would exceed its maximum number of agent-enforced policies, the operation returnsServiceQuotaExceededException.
This is a convenience which creates an instance of the
CreateAgentEnforcedPolicyRequest.Builderavoiding the need to create one manually viaCreateAgentEnforcedPolicyRequest.builder()- Parameters:
createAgentEnforcedPolicyRequest- AConsumerthat will call methods onCreateAgentEnforcedPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateAgentEnforcedPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAgenticContext
default CompletableFuture<CreateAgenticContextResponse> createAgenticContext(CreateAgenticContextRequest createAgenticContextRequest) Creates an agentic context, which is Markdown content that the service writes to a file on the WorkSpace for the agent to use. The name must be unique among the contexts in your account. If it isn't, the operation returns
ConflictException, and itsResourceIdidentifies the existing context. If the tags would exceed the limit of 50 tags per resource, the operation returnsServiceQuotaExceededException.- Parameters:
createAgenticContextRequest-- Returns:
- A Java Future containing the result of the CreateAgenticContext operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAgenticContext
default CompletableFuture<CreateAgenticContextResponse> createAgenticContext(Consumer<CreateAgenticContextRequest.Builder> createAgenticContextRequest) Creates an agentic context, which is Markdown content that the service writes to a file on the WorkSpace for the agent to use. The name must be unique among the contexts in your account. If it isn't, the operation returns
ConflictException, and itsResourceIdidentifies the existing context. If the tags would exceed the limit of 50 tags per resource, the operation returnsServiceQuotaExceededException.
This is a convenience which creates an instance of the
CreateAgenticContextRequest.Builderavoiding the need to create one manually viaCreateAgenticContextRequest.builder()- Parameters:
createAgenticContextRequest- AConsumerthat will call methods onCreateAgenticContextRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateAgenticContext operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAgenticPersonaConfiguration
default CompletableFuture<CreateAgenticPersonaConfigurationResponse> createAgenticPersonaConfiguration(CreateAgenticPersonaConfigurationRequest createAgenticPersonaConfigurationRequest) Creates an Amazon WorkSpaces agentic persona configuration with the specified models, connectors, contexts, and enforced policies. The name must be unique among the persona configurations in your account.
If the name is in use, the operation returns
ConflictException, and itsResourceIdidentifies the existing persona configuration. If you exceed the persona or tag limit, it returnsServiceQuotaExceededException.- Parameters:
createAgenticPersonaConfigurationRequest-- Returns:
- A Java Future containing the result of the CreateAgenticPersonaConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createAgenticPersonaConfiguration
default CompletableFuture<CreateAgenticPersonaConfigurationResponse> createAgenticPersonaConfiguration(Consumer<CreateAgenticPersonaConfigurationRequest.Builder> createAgenticPersonaConfigurationRequest) Creates an Amazon WorkSpaces agentic persona configuration with the specified models, connectors, contexts, and enforced policies. The name must be unique among the persona configurations in your account.
If the name is in use, the operation returns
ConflictException, and itsResourceIdidentifies the existing persona configuration. If you exceed the persona or tag limit, it returnsServiceQuotaExceededException.
This is a convenience which creates an instance of the
CreateAgenticPersonaConfigurationRequest.Builderavoiding the need to create one manually viaCreateAgenticPersonaConfigurationRequest.builder()- Parameters:
createAgenticPersonaConfigurationRequest- AConsumerthat will call methods onCreateAgenticPersonaConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateAgenticPersonaConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createConnectClientAddIn
default CompletableFuture<CreateConnectClientAddInResponse> createConnectClientAddIn(CreateConnectClientAddInRequest createConnectClientAddInRequest) Creates a client-add-in for Connect Customer within a directory. You can create only one Connect Customer client add-in within a directory.
This client add-in allows WorkSpaces users to seamlessly connect to Connect Customer.
- Parameters:
createConnectClientAddInRequest-- Returns:
- A Java Future containing the result of the CreateConnectClientAddIn operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceCreationFailedException The resource could not be created.
- ResourceAlreadyExistsException The specified resource already exists.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createConnectClientAddIn
default CompletableFuture<CreateConnectClientAddInResponse> createConnectClientAddIn(Consumer<CreateConnectClientAddInRequest.Builder> createConnectClientAddInRequest) Creates a client-add-in for Connect Customer within a directory. You can create only one Connect Customer client add-in within a directory.
This client add-in allows WorkSpaces users to seamlessly connect to Connect Customer.
This is a convenience which creates an instance of the
CreateConnectClientAddInRequest.Builderavoiding the need to create one manually viaCreateConnectClientAddInRequest.builder()- Parameters:
createConnectClientAddInRequest- AConsumerthat will call methods onCreateConnectClientAddInRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateConnectClientAddIn operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceCreationFailedException The resource could not be created.
- ResourceAlreadyExistsException The specified resource already exists.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createConnectionAlias
default CompletableFuture<CreateConnectionAliasResponse> createConnectionAlias(CreateConnectionAliasRequest createConnectionAliasRequest) Creates the specified connection alias for use with cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
- Parameters:
createConnectionAliasRequest-- Returns:
- A Java Future containing the result of the CreateConnectionAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceAlreadyExistsException The specified resource already exists.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceLimitExceededException Your resource limits have been exceeded.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createConnectionAlias
default CompletableFuture<CreateConnectionAliasResponse> createConnectionAlias(Consumer<CreateConnectionAliasRequest.Builder> createConnectionAliasRequest) Creates the specified connection alias for use with cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
This is a convenience which creates an instance of the
CreateConnectionAliasRequest.Builderavoiding the need to create one manually viaCreateConnectionAliasRequest.builder()- Parameters:
createConnectionAliasRequest- AConsumerthat will call methods onCreateConnectionAliasRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateConnectionAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceAlreadyExistsException The specified resource already exists.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceLimitExceededException Your resource limits have been exceeded.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIpGroup
default CompletableFuture<CreateIpGroupResponse> createIpGroup(CreateIpGroupRequest createIpGroupRequest) Creates an IP access control group.
An IP access control group provides you with the ability to control the IP addresses from which users are allowed to access their WorkSpaces. To specify the CIDR address ranges, add rules to your IP access control group and then associate the group with your directory. You can add rules when you create the group or at any time using AuthorizeIpRules.
There is a default IP access control group associated with your directory. If you don't associate an IP access control group with your directory, the default group is used. The default group includes a default rule that allows users to access their WorkSpaces from anywhere. You cannot modify the default IP access control group for your directory.
- Parameters:
createIpGroupRequest-- Returns:
- A Java Future containing the result of the CreateIpGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceCreationFailedException The resource could not be created.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createIpGroup
default CompletableFuture<CreateIpGroupResponse> createIpGroup(Consumer<CreateIpGroupRequest.Builder> createIpGroupRequest) Creates an IP access control group.
An IP access control group provides you with the ability to control the IP addresses from which users are allowed to access their WorkSpaces. To specify the CIDR address ranges, add rules to your IP access control group and then associate the group with your directory. You can add rules when you create the group or at any time using AuthorizeIpRules.
There is a default IP access control group associated with your directory. If you don't associate an IP access control group with your directory, the default group is used. The default group includes a default rule that allows users to access their WorkSpaces from anywhere. You cannot modify the default IP access control group for your directory.
This is a convenience which creates an instance of the
CreateIpGroupRequest.Builderavoiding the need to create one manually viaCreateIpGroupRequest.builder()- Parameters:
createIpGroupRequest- AConsumerthat will call methods onCreateIpGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateIpGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceCreationFailedException The resource could not be created.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createStandbyWorkspaces
default CompletableFuture<CreateStandbyWorkspacesResponse> createStandbyWorkspaces(CreateStandbyWorkspacesRequest createStandbyWorkspacesRequest) Creates a standby WorkSpace in a secondary Region.
- Parameters:
createStandbyWorkspacesRequest-- Returns:
- A Java Future containing the result of the CreateStandbyWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- ResourceLimitExceededException Your resource limits have been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createStandbyWorkspaces
default CompletableFuture<CreateStandbyWorkspacesResponse> createStandbyWorkspaces(Consumer<CreateStandbyWorkspacesRequest.Builder> createStandbyWorkspacesRequest) Creates a standby WorkSpace in a secondary Region.
This is a convenience which creates an instance of the
CreateStandbyWorkspacesRequest.Builderavoiding the need to create one manually viaCreateStandbyWorkspacesRequest.builder()- Parameters:
createStandbyWorkspacesRequest- AConsumerthat will call methods onCreateStandbyWorkspacesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateStandbyWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- ResourceLimitExceededException Your resource limits have been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTags
Creates the specified tags for the specified WorkSpaces resource.
- Parameters:
createTagsRequest-- Returns:
- A Java Future containing the result of the CreateTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceLimitExceededException Your resource limits have been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createTags
default CompletableFuture<CreateTagsResponse> createTags(Consumer<CreateTagsRequest.Builder> createTagsRequest) Creates the specified tags for the specified WorkSpaces resource.
This is a convenience which creates an instance of the
CreateTagsRequest.Builderavoiding the need to create one manually viaCreateTagsRequest.builder()- Parameters:
createTagsRequest- AConsumerthat will call methods onCreateTagsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceLimitExceededException Your resource limits have been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createUpdatedWorkspaceImage
default CompletableFuture<CreateUpdatedWorkspaceImageResponse> createUpdatedWorkspaceImage(CreateUpdatedWorkspaceImageRequest createUpdatedWorkspaceImageRequest) Creates a new updated WorkSpace image based on the specified source image. The new updated WorkSpace image has the latest drivers and other updates required by the Amazon WorkSpaces components.
To determine which WorkSpace images need to be updated with the latest Amazon WorkSpaces requirements, use DescribeWorkspaceImages.
-
Only Windows 10, Windows Server 2016, and Windows Server 2019 WorkSpace images can be programmatically updated at this time.
-
Microsoft Windows updates and other application updates are not included in the update process.
-
The source WorkSpace image is not deleted. You can delete the source image after you've verified your new updated image and created a new bundle.
- Parameters:
createUpdatedWorkspaceImageRequest-- Returns:
- A Java Future containing the result of the CreateUpdatedWorkspaceImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createUpdatedWorkspaceImage
default CompletableFuture<CreateUpdatedWorkspaceImageResponse> createUpdatedWorkspaceImage(Consumer<CreateUpdatedWorkspaceImageRequest.Builder> createUpdatedWorkspaceImageRequest) Creates a new updated WorkSpace image based on the specified source image. The new updated WorkSpace image has the latest drivers and other updates required by the Amazon WorkSpaces components.
To determine which WorkSpace images need to be updated with the latest Amazon WorkSpaces requirements, use DescribeWorkspaceImages.
-
Only Windows 10, Windows Server 2016, and Windows Server 2019 WorkSpace images can be programmatically updated at this time.
-
Microsoft Windows updates and other application updates are not included in the update process.
-
The source WorkSpace image is not deleted. You can delete the source image after you've verified your new updated image and created a new bundle.
This is a convenience which creates an instance of the
CreateUpdatedWorkspaceImageRequest.Builderavoiding the need to create one manually viaCreateUpdatedWorkspaceImageRequest.builder()- Parameters:
createUpdatedWorkspaceImageRequest- AConsumerthat will call methods onCreateUpdatedWorkspaceImageRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateUpdatedWorkspaceImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createWorkspaceBundle
default CompletableFuture<CreateWorkspaceBundleResponse> createWorkspaceBundle(CreateWorkspaceBundleRequest createWorkspaceBundleRequest) Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.
- Parameters:
createWorkspaceBundleRequest-- Returns:
- A Java Future containing the result of the CreateWorkspaceBundle operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceUnavailableException The specified resource is not available.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceLimitExceededException Your resource limits have been exceeded.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWorkspaceBundle
default CompletableFuture<CreateWorkspaceBundleResponse> createWorkspaceBundle(Consumer<CreateWorkspaceBundleRequest.Builder> createWorkspaceBundleRequest) Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.
This is a convenience which creates an instance of the
CreateWorkspaceBundleRequest.Builderavoiding the need to create one manually viaCreateWorkspaceBundleRequest.builder()- Parameters:
createWorkspaceBundleRequest- AConsumerthat will call methods onCreateWorkspaceBundleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateWorkspaceBundle operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceUnavailableException The specified resource is not available.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceLimitExceededException Your resource limits have been exceeded.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWorkspaceEnforcedPolicy
default CompletableFuture<CreateWorkspaceEnforcedPolicyResponse> createWorkspaceEnforcedPolicy(CreateWorkspaceEnforcedPolicyRequest createWorkspaceEnforcedPolicyRequest) Creates a WorkSpace-enforced policy, which the WorkSpace applies. The name must be unique among the WorkSpace-enforced policies in your account. If it isn't, the operation returns
ConflictException, and itsResourceIdidentifies the existing policy. If your account would exceed its maximum number of WorkSpace-enforced policies, the operation returnsServiceQuotaExceededException.- Parameters:
createWorkspaceEnforcedPolicyRequest-- Returns:
- A Java Future containing the result of the CreateWorkspaceEnforcedPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWorkspaceEnforcedPolicy
default CompletableFuture<CreateWorkspaceEnforcedPolicyResponse> createWorkspaceEnforcedPolicy(Consumer<CreateWorkspaceEnforcedPolicyRequest.Builder> createWorkspaceEnforcedPolicyRequest) Creates a WorkSpace-enforced policy, which the WorkSpace applies. The name must be unique among the WorkSpace-enforced policies in your account. If it isn't, the operation returns
ConflictException, and itsResourceIdidentifies the existing policy. If your account would exceed its maximum number of WorkSpace-enforced policies, the operation returnsServiceQuotaExceededException.
This is a convenience which creates an instance of the
CreateWorkspaceEnforcedPolicyRequest.Builderavoiding the need to create one manually viaCreateWorkspaceEnforcedPolicyRequest.builder()- Parameters:
createWorkspaceEnforcedPolicyRequest- AConsumerthat will call methods onCreateWorkspaceEnforcedPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateWorkspaceEnforcedPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWorkspaceImage
default CompletableFuture<CreateWorkspaceImageResponse> createWorkspaceImage(CreateWorkspaceImageRequest createWorkspaceImageRequest) Creates a new WorkSpace image from an existing WorkSpace.
- Parameters:
createWorkspaceImageRequest-- Returns:
- A Java Future containing the result of the CreateWorkspaceImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWorkspaceImage
default CompletableFuture<CreateWorkspaceImageResponse> createWorkspaceImage(Consumer<CreateWorkspaceImageRequest.Builder> createWorkspaceImageRequest) Creates a new WorkSpace image from an existing WorkSpace.
This is a convenience which creates an instance of the
CreateWorkspaceImageRequest.Builderavoiding the need to create one manually viaCreateWorkspaceImageRequest.builder()- Parameters:
createWorkspaceImageRequest- AConsumerthat will call methods onCreateWorkspaceImageRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateWorkspaceImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWorkspaces
default CompletableFuture<CreateWorkspacesResponse> createWorkspaces(CreateWorkspacesRequest createWorkspacesRequest) Creates one or more WorkSpaces.
This operation is asynchronous and returns before the WorkSpaces are created.
-
The
MANUALrunning mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core. -
You don't need to specify the
PCOIPprotocol for Linux bundles because DCV (formerly WSP) is the default protocol for those bundles. -
User-decoupled WorkSpaces are only supported by Amazon WorkSpaces Core.
-
Review your running mode to ensure you are using one that is optimal for your needs and budget. For more information on switching running modes, see Can I switch between hourly and monthly billing?
- Parameters:
createWorkspacesRequest-- Returns:
- A Java Future containing the result of the CreateWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceLimitExceededException Your resource limits have been exceeded.
- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createWorkspaces
default CompletableFuture<CreateWorkspacesResponse> createWorkspaces(Consumer<CreateWorkspacesRequest.Builder> createWorkspacesRequest) Creates one or more WorkSpaces.
This operation is asynchronous and returns before the WorkSpaces are created.
-
The
MANUALrunning mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core. -
You don't need to specify the
PCOIPprotocol for Linux bundles because DCV (formerly WSP) is the default protocol for those bundles. -
User-decoupled WorkSpaces are only supported by Amazon WorkSpaces Core.
-
Review your running mode to ensure you are using one that is optimal for your needs and budget. For more information on switching running modes, see Can I switch between hourly and monthly billing?
This is a convenience which creates an instance of the
CreateWorkspacesRequest.Builderavoiding the need to create one manually viaCreateWorkspacesRequest.builder()- Parameters:
createWorkspacesRequest- AConsumerthat will call methods onCreateWorkspacesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceLimitExceededException Your resource limits have been exceeded.
- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
createWorkspacesPool
default CompletableFuture<CreateWorkspacesPoolResponse> createWorkspacesPool(CreateWorkspacesPoolRequest createWorkspacesPoolRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Creates a pool of WorkSpaces.
- Parameters:
createWorkspacesPoolRequest-- Returns:
- A Java Future containing the result of the CreateWorkspacesPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceNotFoundException The resource could not be found.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceAlreadyExistsException The specified resource already exists.
- OperationNotSupportedException This operation is not supported.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
createWorkspacesPool
default CompletableFuture<CreateWorkspacesPoolResponse> createWorkspacesPool(Consumer<CreateWorkspacesPoolRequest.Builder> createWorkspacesPoolRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Creates a pool of WorkSpaces.
This is a convenience which creates an instance of the
CreateWorkspacesPoolRequest.Builderavoiding the need to create one manually viaCreateWorkspacesPoolRequest.builder()- Parameters:
createWorkspacesPoolRequest- AConsumerthat will call methods onCreateWorkspacesPoolRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the CreateWorkspacesPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceNotFoundException The resource could not be found.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceAlreadyExistsException The specified resource already exists.
- OperationNotSupportedException This operation is not supported.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAccountLinkInvitation
default CompletableFuture<DeleteAccountLinkInvitationResponse> deleteAccountLinkInvitation(DeleteAccountLinkInvitationRequest deleteAccountLinkInvitationRequest) Deletes the account link invitation.
- Parameters:
deleteAccountLinkInvitationRequest-- Returns:
- A Java Future containing the result of the DeleteAccountLinkInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- InternalServerException An unexpected server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAccountLinkInvitation
default CompletableFuture<DeleteAccountLinkInvitationResponse> deleteAccountLinkInvitation(Consumer<DeleteAccountLinkInvitationRequest.Builder> deleteAccountLinkInvitationRequest) Deletes the account link invitation.
This is a convenience which creates an instance of the
DeleteAccountLinkInvitationRequest.Builderavoiding the need to create one manually viaDeleteAccountLinkInvitationRequest.builder()- Parameters:
deleteAccountLinkInvitationRequest- AConsumerthat will call methods onDeleteAccountLinkInvitationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAccountLinkInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- InternalServerException An unexpected server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAgentEnforcedPolicy
default CompletableFuture<DeleteAgentEnforcedPolicyResponse> deleteAgentEnforcedPolicy(DeleteAgentEnforcedPolicyRequest deleteAgentEnforcedPolicyRequest) Deletes an agent-enforced policy that you created. You can't undo this action. You can't delete a policy that Amazon owns. If you try, the operation returns
ValidationException. You can't delete a policy that a persona configuration or a WorkSpace uses. If you try, the operation returnsConflictException, and itsResourceIdidentifies a persona configuration or WorkSpace that uses the policy.- Parameters:
deleteAgentEnforcedPolicyRequest-- Returns:
- A Java Future containing the result of the DeleteAgentEnforcedPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAgentEnforcedPolicy
default CompletableFuture<DeleteAgentEnforcedPolicyResponse> deleteAgentEnforcedPolicy(Consumer<DeleteAgentEnforcedPolicyRequest.Builder> deleteAgentEnforcedPolicyRequest) Deletes an agent-enforced policy that you created. You can't undo this action. You can't delete a policy that Amazon owns. If you try, the operation returns
ValidationException. You can't delete a policy that a persona configuration or a WorkSpace uses. If you try, the operation returnsConflictException, and itsResourceIdidentifies a persona configuration or WorkSpace that uses the policy.
This is a convenience which creates an instance of the
DeleteAgentEnforcedPolicyRequest.Builderavoiding the need to create one manually viaDeleteAgentEnforcedPolicyRequest.builder()- Parameters:
deleteAgentEnforcedPolicyRequest- AConsumerthat will call methods onDeleteAgentEnforcedPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAgentEnforcedPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAgenticContext
default CompletableFuture<DeleteAgenticContextResponse> deleteAgenticContext(DeleteAgenticContextRequest deleteAgenticContextRequest) Deletes an agentic context. You can't undo this action. You can't delete a context that a persona configuration or WorkSpace uses. If you try, the operation returns
ConflictException, and itsResourceIdidentifies a persona configuration or WorkSpace that uses the context.- Parameters:
deleteAgenticContextRequest-- Returns:
- A Java Future containing the result of the DeleteAgenticContext operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAgenticContext
default CompletableFuture<DeleteAgenticContextResponse> deleteAgenticContext(Consumer<DeleteAgenticContextRequest.Builder> deleteAgenticContextRequest) Deletes an agentic context. You can't undo this action. You can't delete a context that a persona configuration or WorkSpace uses. If you try, the operation returns
ConflictException, and itsResourceIdidentifies a persona configuration or WorkSpace that uses the context.
This is a convenience which creates an instance of the
DeleteAgenticContextRequest.Builderavoiding the need to create one manually viaDeleteAgenticContextRequest.builder()- Parameters:
deleteAgenticContextRequest- AConsumerthat will call methods onDeleteAgenticContextRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAgenticContext operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAgenticPersonaConfiguration
default CompletableFuture<DeleteAgenticPersonaConfigurationResponse> deleteAgenticPersonaConfiguration(DeleteAgenticPersonaConfigurationRequest deleteAgenticPersonaConfigurationRequest) Deletes an agentic persona configuration. You can't undo this action. Deleting a persona configuration doesn't affect WorkSpaces that you already created with it. If another request is already deleting the persona configuration, the operation returns
ConflictException.- Parameters:
deleteAgenticPersonaConfigurationRequest-- Returns:
- A Java Future containing the result of the DeleteAgenticPersonaConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteAgenticPersonaConfiguration
default CompletableFuture<DeleteAgenticPersonaConfigurationResponse> deleteAgenticPersonaConfiguration(Consumer<DeleteAgenticPersonaConfigurationRequest.Builder> deleteAgenticPersonaConfigurationRequest) Deletes an agentic persona configuration. You can't undo this action. Deleting a persona configuration doesn't affect WorkSpaces that you already created with it. If another request is already deleting the persona configuration, the operation returns
ConflictException.
This is a convenience which creates an instance of the
DeleteAgenticPersonaConfigurationRequest.Builderavoiding the need to create one manually viaDeleteAgenticPersonaConfigurationRequest.builder()- Parameters:
deleteAgenticPersonaConfigurationRequest- AConsumerthat will call methods onDeleteAgenticPersonaConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteAgenticPersonaConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteClientBranding
default CompletableFuture<DeleteClientBrandingResponse> deleteClientBranding(DeleteClientBrandingRequest deleteClientBrandingRequest) Deletes customized client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.
After you delete your customized client branding, your login portal reverts to the default client branding.
- Parameters:
deleteClientBrandingRequest-- Returns:
- A Java Future containing the result of the DeleteClientBranding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteClientBranding
default CompletableFuture<DeleteClientBrandingResponse> deleteClientBranding(Consumer<DeleteClientBrandingRequest.Builder> deleteClientBrandingRequest) Deletes customized client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.
After you delete your customized client branding, your login portal reverts to the default client branding.
This is a convenience which creates an instance of the
DeleteClientBrandingRequest.Builderavoiding the need to create one manually viaDeleteClientBrandingRequest.builder()- Parameters:
deleteClientBrandingRequest- AConsumerthat will call methods onDeleteClientBrandingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteClientBranding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteConnectClientAddIn
default CompletableFuture<DeleteConnectClientAddInResponse> deleteConnectClientAddIn(DeleteConnectClientAddInRequest deleteConnectClientAddInRequest) Deletes a client-add-in for Connect Customer that is configured within a directory.
- Parameters:
deleteConnectClientAddInRequest-- Returns:
- A Java Future containing the result of the DeleteConnectClientAddIn operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteConnectClientAddIn
default CompletableFuture<DeleteConnectClientAddInResponse> deleteConnectClientAddIn(Consumer<DeleteConnectClientAddInRequest.Builder> deleteConnectClientAddInRequest) Deletes a client-add-in for Connect Customer that is configured within a directory.
This is a convenience which creates an instance of the
DeleteConnectClientAddInRequest.Builderavoiding the need to create one manually viaDeleteConnectClientAddInRequest.builder()- Parameters:
deleteConnectClientAddInRequest- AConsumerthat will call methods onDeleteConnectClientAddInRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteConnectClientAddIn operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteConnectionAlias
default CompletableFuture<DeleteConnectionAliasResponse> deleteConnectionAlias(DeleteConnectionAliasRequest deleteConnectionAliasRequest) Deletes the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
If you will no longer be using a fully qualified domain name (FQDN) as the registration code for your WorkSpaces users, you must take certain precautions to prevent potential security issues. For more information, see Security Considerations if You Stop Using Cross-Region Redirection.
To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories.
- Parameters:
deleteConnectionAliasRequest-- Returns:
- A Java Future containing the result of the DeleteConnectionAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- ResourceAssociatedException The resource is associated with a directory.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteConnectionAlias
default CompletableFuture<DeleteConnectionAliasResponse> deleteConnectionAlias(Consumer<DeleteConnectionAliasRequest.Builder> deleteConnectionAliasRequest) Deletes the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
If you will no longer be using a fully qualified domain name (FQDN) as the registration code for your WorkSpaces users, you must take certain precautions to prevent potential security issues. For more information, see Security Considerations if You Stop Using Cross-Region Redirection.
To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories.
This is a convenience which creates an instance of the
DeleteConnectionAliasRequest.Builderavoiding the need to create one manually viaDeleteConnectionAliasRequest.builder()- Parameters:
deleteConnectionAliasRequest- AConsumerthat will call methods onDeleteConnectionAliasRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteConnectionAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- ResourceAssociatedException The resource is associated with a directory.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIpGroup
default CompletableFuture<DeleteIpGroupResponse> deleteIpGroup(DeleteIpGroupRequest deleteIpGroupRequest) Deletes the specified IP access control group.
You cannot delete an IP access control group that is associated with a directory.
- Parameters:
deleteIpGroupRequest-- Returns:
- A Java Future containing the result of the DeleteIpGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceAssociatedException The resource is associated with a directory.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteIpGroup
default CompletableFuture<DeleteIpGroupResponse> deleteIpGroup(Consumer<DeleteIpGroupRequest.Builder> deleteIpGroupRequest) Deletes the specified IP access control group.
You cannot delete an IP access control group that is associated with a directory.
This is a convenience which creates an instance of the
DeleteIpGroupRequest.Builderavoiding the need to create one manually viaDeleteIpGroupRequest.builder()- Parameters:
deleteIpGroupRequest- AConsumerthat will call methods onDeleteIpGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteIpGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceAssociatedException The resource is associated with a directory.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTags
Deletes the specified tags from the specified WorkSpaces resource.
- Parameters:
deleteTagsRequest-- Returns:
- A Java Future containing the result of the DeleteTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteTags
default CompletableFuture<DeleteTagsResponse> deleteTags(Consumer<DeleteTagsRequest.Builder> deleteTagsRequest) Deletes the specified tags from the specified WorkSpaces resource.
This is a convenience which creates an instance of the
DeleteTagsRequest.Builderavoiding the need to create one manually viaDeleteTagsRequest.builder()- Parameters:
deleteTagsRequest- AConsumerthat will call methods onDeleteTagsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWorkspaceBundle
default CompletableFuture<DeleteWorkspaceBundleResponse> deleteWorkspaceBundle(DeleteWorkspaceBundleRequest deleteWorkspaceBundleRequest) Deletes the specified WorkSpace bundle. For more information about deleting WorkSpace bundles, see Delete a Custom WorkSpaces Bundle or Image.
- Parameters:
deleteWorkspaceBundleRequest-- Returns:
- A Java Future containing the result of the DeleteWorkspaceBundle operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceAssociatedException The resource is associated with a directory.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWorkspaceBundle
default CompletableFuture<DeleteWorkspaceBundleResponse> deleteWorkspaceBundle(Consumer<DeleteWorkspaceBundleRequest.Builder> deleteWorkspaceBundleRequest) Deletes the specified WorkSpace bundle. For more information about deleting WorkSpace bundles, see Delete a Custom WorkSpaces Bundle or Image.
This is a convenience which creates an instance of the
DeleteWorkspaceBundleRequest.Builderavoiding the need to create one manually viaDeleteWorkspaceBundleRequest.builder()- Parameters:
deleteWorkspaceBundleRequest- AConsumerthat will call methods onDeleteWorkspaceBundleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteWorkspaceBundle operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceAssociatedException The resource is associated with a directory.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWorkspaceEnforcedPolicy
default CompletableFuture<DeleteWorkspaceEnforcedPolicyResponse> deleteWorkspaceEnforcedPolicy(DeleteWorkspaceEnforcedPolicyRequest deleteWorkspaceEnforcedPolicyRequest) Deletes a WorkSpace-enforced policy that you created. You can't undo this action. You can't delete a policy that Amazon owns. If you try, the operation returns
ValidationException. You can't delete a policy that a persona configuration or a WorkSpace uses. If you try, the operation returnsConflictException, and itsResourceIdidentifies a persona configuration or WorkSpace that uses the policy.- Parameters:
deleteWorkspaceEnforcedPolicyRequest-- Returns:
- A Java Future containing the result of the DeleteWorkspaceEnforcedPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWorkspaceEnforcedPolicy
default CompletableFuture<DeleteWorkspaceEnforcedPolicyResponse> deleteWorkspaceEnforcedPolicy(Consumer<DeleteWorkspaceEnforcedPolicyRequest.Builder> deleteWorkspaceEnforcedPolicyRequest) Deletes a WorkSpace-enforced policy that you created. You can't undo this action. You can't delete a policy that Amazon owns. If you try, the operation returns
ValidationException. You can't delete a policy that a persona configuration or a WorkSpace uses. If you try, the operation returnsConflictException, and itsResourceIdidentifies a persona configuration or WorkSpace that uses the policy.
This is a convenience which creates an instance of the
DeleteWorkspaceEnforcedPolicyRequest.Builderavoiding the need to create one manually viaDeleteWorkspaceEnforcedPolicyRequest.builder()- Parameters:
deleteWorkspaceEnforcedPolicyRequest- AConsumerthat will call methods onDeleteWorkspaceEnforcedPolicyRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteWorkspaceEnforcedPolicy operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWorkspaceImage
default CompletableFuture<DeleteWorkspaceImageResponse> deleteWorkspaceImage(DeleteWorkspaceImageRequest deleteWorkspaceImageRequest) Deletes the specified image from your account. To delete an image, you must first delete any bundles that are associated with the image and unshare the image if it is shared with other accounts.
- Parameters:
deleteWorkspaceImageRequest-- Returns:
- A Java Future containing the result of the DeleteWorkspaceImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceAssociatedException The resource is associated with a directory.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deleteWorkspaceImage
default CompletableFuture<DeleteWorkspaceImageResponse> deleteWorkspaceImage(Consumer<DeleteWorkspaceImageRequest.Builder> deleteWorkspaceImageRequest) Deletes the specified image from your account. To delete an image, you must first delete any bundles that are associated with the image and unshare the image if it is shared with other accounts.
This is a convenience which creates an instance of the
DeleteWorkspaceImageRequest.Builderavoiding the need to create one manually viaDeleteWorkspaceImageRequest.builder()- Parameters:
deleteWorkspaceImageRequest- AConsumerthat will call methods onDeleteWorkspaceImageRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeleteWorkspaceImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceAssociatedException The resource is associated with a directory.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deployWorkspaceApplications
default CompletableFuture<DeployWorkspaceApplicationsResponse> deployWorkspaceApplications(DeployWorkspaceApplicationsRequest deployWorkspaceApplicationsRequest) Deploys associated applications to the specified WorkSpace
- Parameters:
deployWorkspaceApplicationsRequest-- Returns:
- A Java Future containing the result of the DeployWorkspaceApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceInUseException The specified resource is currently in use.
- ResourceNotFoundException The resource could not be found.
- IncompatibleApplicationsException The specified application is not compatible with the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deployWorkspaceApplications
default CompletableFuture<DeployWorkspaceApplicationsResponse> deployWorkspaceApplications(Consumer<DeployWorkspaceApplicationsRequest.Builder> deployWorkspaceApplicationsRequest) Deploys associated applications to the specified WorkSpace
This is a convenience which creates an instance of the
DeployWorkspaceApplicationsRequest.Builderavoiding the need to create one manually viaDeployWorkspaceApplicationsRequest.builder()- Parameters:
deployWorkspaceApplicationsRequest- AConsumerthat will call methods onDeployWorkspaceApplicationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeployWorkspaceApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceInUseException The specified resource is currently in use.
- ResourceNotFoundException The resource could not be found.
- IncompatibleApplicationsException The specified application is not compatible with the resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deregisterWorkspaceDirectory
default CompletableFuture<DeregisterWorkspaceDirectoryResponse> deregisterWorkspaceDirectory(DeregisterWorkspaceDirectoryRequest deregisterWorkspaceDirectoryRequest) Deregisters the specified directory. This operation is asynchronous and returns before the WorkSpace directory is deregistered. If any WorkSpaces are registered to this directory, you must remove them before you can deregister the directory.
Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the Directory Service pricing terms.
To delete empty directories, see Delete the Directory for Your WorkSpaces. If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again.
- Parameters:
deregisterWorkspaceDirectoryRequest-- Returns:
- A Java Future containing the result of the DeregisterWorkspaceDirectory operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
deregisterWorkspaceDirectory
default CompletableFuture<DeregisterWorkspaceDirectoryResponse> deregisterWorkspaceDirectory(Consumer<DeregisterWorkspaceDirectoryRequest.Builder> deregisterWorkspaceDirectoryRequest) Deregisters the specified directory. This operation is asynchronous and returns before the WorkSpace directory is deregistered. If any WorkSpaces are registered to this directory, you must remove them before you can deregister the directory.
Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the Directory Service pricing terms.
To delete empty directories, see Delete the Directory for Your WorkSpaces. If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again.
This is a convenience which creates an instance of the
DeregisterWorkspaceDirectoryRequest.Builderavoiding the need to create one manually viaDeregisterWorkspaceDirectoryRequest.builder()- Parameters:
deregisterWorkspaceDirectoryRequest- AConsumerthat will call methods onDeregisterWorkspaceDirectoryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DeregisterWorkspaceDirectory operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAccount
default CompletableFuture<DescribeAccountResponse> describeAccount(DescribeAccountRequest describeAccountRequest) Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.
- Parameters:
describeAccountRequest-- Returns:
- A Java Future containing the result of the DescribeAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAccount
default CompletableFuture<DescribeAccountResponse> describeAccount(Consumer<DescribeAccountRequest.Builder> describeAccountRequest) Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.
This is a convenience which creates an instance of the
DescribeAccountRequest.Builderavoiding the need to create one manually viaDescribeAccountRequest.builder()- Parameters:
describeAccountRequest- AConsumerthat will call methods onDescribeAccountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAccountModifications
default CompletableFuture<DescribeAccountModificationsResponse> describeAccountModifications(DescribeAccountModificationsRequest describeAccountModificationsRequest) Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account.
- Parameters:
describeAccountModificationsRequest-- Returns:
- A Java Future containing the result of the DescribeAccountModifications operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeAccountModifications
default CompletableFuture<DescribeAccountModificationsResponse> describeAccountModifications(Consumer<DescribeAccountModificationsRequest.Builder> describeAccountModificationsRequest) Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account.
This is a convenience which creates an instance of the
DescribeAccountModificationsRequest.Builderavoiding the need to create one manually viaDescribeAccountModificationsRequest.builder()- Parameters:
describeAccountModificationsRequest- AConsumerthat will call methods onDescribeAccountModificationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeAccountModifications operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplicationAssociations
default CompletableFuture<DescribeApplicationAssociationsResponse> describeApplicationAssociations(DescribeApplicationAssociationsRequest describeApplicationAssociationsRequest) Describes the associations between the application and the specified associated resources.
- Parameters:
describeApplicationAssociationsRequest-- Returns:
- A Java Future containing the result of the DescribeApplicationAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplicationAssociations
default CompletableFuture<DescribeApplicationAssociationsResponse> describeApplicationAssociations(Consumer<DescribeApplicationAssociationsRequest.Builder> describeApplicationAssociationsRequest) Describes the associations between the application and the specified associated resources.
This is a convenience which creates an instance of the
DescribeApplicationAssociationsRequest.Builderavoiding the need to create one manually viaDescribeApplicationAssociationsRequest.builder()- Parameters:
describeApplicationAssociationsRequest- AConsumerthat will call methods onDescribeApplicationAssociationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeApplicationAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplicationAssociationsPaginator
default DescribeApplicationAssociationsPublisher describeApplicationAssociationsPaginator(DescribeApplicationAssociationsRequest describeApplicationAssociationsRequest) This is a variant of
describeApplicationAssociations(software.amazon.awssdk.services.workspaces.model.DescribeApplicationAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.DescribeApplicationAssociationsPublisher publisher = client.describeApplicationAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.DescribeApplicationAssociationsPublisher publisher = client.describeApplicationAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.DescribeApplicationAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.DescribeApplicationAssociationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeApplicationAssociations(software.amazon.awssdk.services.workspaces.model.DescribeApplicationAssociationsRequest)operation.- Parameters:
describeApplicationAssociationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplicationAssociationsPaginator
default DescribeApplicationAssociationsPublisher describeApplicationAssociationsPaginator(Consumer<DescribeApplicationAssociationsRequest.Builder> describeApplicationAssociationsRequest) This is a variant of
describeApplicationAssociations(software.amazon.awssdk.services.workspaces.model.DescribeApplicationAssociationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.DescribeApplicationAssociationsPublisher publisher = client.describeApplicationAssociationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.DescribeApplicationAssociationsPublisher publisher = client.describeApplicationAssociationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.DescribeApplicationAssociationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.DescribeApplicationAssociationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeApplicationAssociations(software.amazon.awssdk.services.workspaces.model.DescribeApplicationAssociationsRequest)operation.
This is a convenience which creates an instance of the
DescribeApplicationAssociationsRequest.Builderavoiding the need to create one manually viaDescribeApplicationAssociationsRequest.builder()- Parameters:
describeApplicationAssociationsRequest- AConsumerthat will call methods onDescribeApplicationAssociationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplications
default CompletableFuture<DescribeApplicationsResponse> describeApplications(DescribeApplicationsRequest describeApplicationsRequest) Describes the specified applications by filtering based on their compute types, license availability, operating systems, and owners.
- Parameters:
describeApplicationsRequest-- Returns:
- A Java Future containing the result of the DescribeApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplications
default CompletableFuture<DescribeApplicationsResponse> describeApplications(Consumer<DescribeApplicationsRequest.Builder> describeApplicationsRequest) Describes the specified applications by filtering based on their compute types, license availability, operating systems, and owners.
This is a convenience which creates an instance of the
DescribeApplicationsRequest.Builderavoiding the need to create one manually viaDescribeApplicationsRequest.builder()- Parameters:
describeApplicationsRequest- AConsumerthat will call methods onDescribeApplicationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeApplications operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplicationsPaginator
default DescribeApplicationsPublisher describeApplicationsPaginator(DescribeApplicationsRequest describeApplicationsRequest) This is a variant of
describeApplications(software.amazon.awssdk.services.workspaces.model.DescribeApplicationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.DescribeApplicationsPublisher publisher = client.describeApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.DescribeApplicationsPublisher publisher = client.describeApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.DescribeApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.DescribeApplicationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeApplications(software.amazon.awssdk.services.workspaces.model.DescribeApplicationsRequest)operation.- Parameters:
describeApplicationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeApplicationsPaginator
default DescribeApplicationsPublisher describeApplicationsPaginator(Consumer<DescribeApplicationsRequest.Builder> describeApplicationsRequest) This is a variant of
describeApplications(software.amazon.awssdk.services.workspaces.model.DescribeApplicationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.DescribeApplicationsPublisher publisher = client.describeApplicationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.DescribeApplicationsPublisher publisher = client.describeApplicationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.DescribeApplicationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.DescribeApplicationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeApplications(software.amazon.awssdk.services.workspaces.model.DescribeApplicationsRequest)operation.
This is a convenience which creates an instance of the
DescribeApplicationsRequest.Builderavoiding the need to create one manually viaDescribeApplicationsRequest.builder()- Parameters:
describeApplicationsRequest- AConsumerthat will call methods onDescribeApplicationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeBundleAssociations
default CompletableFuture<DescribeBundleAssociationsResponse> describeBundleAssociations(DescribeBundleAssociationsRequest describeBundleAssociationsRequest) Describes the associations between the applications and the specified bundle.
- Parameters:
describeBundleAssociationsRequest-- Returns:
- A Java Future containing the result of the DescribeBundleAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeBundleAssociations
default CompletableFuture<DescribeBundleAssociationsResponse> describeBundleAssociations(Consumer<DescribeBundleAssociationsRequest.Builder> describeBundleAssociationsRequest) Describes the associations between the applications and the specified bundle.
This is a convenience which creates an instance of the
DescribeBundleAssociationsRequest.Builderavoiding the need to create one manually viaDescribeBundleAssociationsRequest.builder()- Parameters:
describeBundleAssociationsRequest- AConsumerthat will call methods onDescribeBundleAssociationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeBundleAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeClientBranding
default CompletableFuture<DescribeClientBrandingResponse> describeClientBranding(DescribeClientBrandingRequest describeClientBrandingRequest) Describes the specified client branding. Client branding allows you to customize the log in page of various device types for your users. You can add your company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.
Only device types that have branding information configured will be shown in the response.
- Parameters:
describeClientBrandingRequest-- Returns:
- A Java Future containing the result of the DescribeClientBranding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeClientBranding
default CompletableFuture<DescribeClientBrandingResponse> describeClientBranding(Consumer<DescribeClientBrandingRequest.Builder> describeClientBrandingRequest) Describes the specified client branding. Client branding allows you to customize the log in page of various device types for your users. You can add your company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.
Only device types that have branding information configured will be shown in the response.
This is a convenience which creates an instance of the
DescribeClientBrandingRequest.Builderavoiding the need to create one manually viaDescribeClientBrandingRequest.builder()- Parameters:
describeClientBrandingRequest- AConsumerthat will call methods onDescribeClientBrandingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeClientBranding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeClientProperties
default CompletableFuture<DescribeClientPropertiesResponse> describeClientProperties(DescribeClientPropertiesRequest describeClientPropertiesRequest) Retrieves a list that describes one or more specified Amazon WorkSpaces clients.
- Parameters:
describeClientPropertiesRequest-- Returns:
- A Java Future containing the result of the DescribeClientProperties operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeClientProperties
default CompletableFuture<DescribeClientPropertiesResponse> describeClientProperties(Consumer<DescribeClientPropertiesRequest.Builder> describeClientPropertiesRequest) Retrieves a list that describes one or more specified Amazon WorkSpaces clients.
This is a convenience which creates an instance of the
DescribeClientPropertiesRequest.Builderavoiding the need to create one manually viaDescribeClientPropertiesRequest.builder()- Parameters:
describeClientPropertiesRequest- AConsumerthat will call methods onDescribeClientPropertiesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeClientProperties operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeConnectClientAddIns
default CompletableFuture<DescribeConnectClientAddInsResponse> describeConnectClientAddIns(DescribeConnectClientAddInsRequest describeConnectClientAddInsRequest) Retrieves a list of Connect Customer client add-ins that have been created.
- Parameters:
describeConnectClientAddInsRequest-- Returns:
- A Java Future containing the result of the DescribeConnectClientAddIns operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeConnectClientAddIns
default CompletableFuture<DescribeConnectClientAddInsResponse> describeConnectClientAddIns(Consumer<DescribeConnectClientAddInsRequest.Builder> describeConnectClientAddInsRequest) Retrieves a list of Connect Customer client add-ins that have been created.
This is a convenience which creates an instance of the
DescribeConnectClientAddInsRequest.Builderavoiding the need to create one manually viaDescribeConnectClientAddInsRequest.builder()- Parameters:
describeConnectClientAddInsRequest- AConsumerthat will call methods onDescribeConnectClientAddInsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeConnectClientAddIns operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeConnectionAliasPermissions
default CompletableFuture<DescribeConnectionAliasPermissionsResponse> describeConnectionAliasPermissions(DescribeConnectionAliasPermissionsRequest describeConnectionAliasPermissionsRequest) Describes the permissions that the owner of a connection alias has granted to another Amazon Web Services account for the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
- Parameters:
describeConnectionAliasPermissionsRequest-- Returns:
- A Java Future containing the result of the DescribeConnectionAliasPermissions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeConnectionAliasPermissions
default CompletableFuture<DescribeConnectionAliasPermissionsResponse> describeConnectionAliasPermissions(Consumer<DescribeConnectionAliasPermissionsRequest.Builder> describeConnectionAliasPermissionsRequest) Describes the permissions that the owner of a connection alias has granted to another Amazon Web Services account for the specified connection alias. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
This is a convenience which creates an instance of the
DescribeConnectionAliasPermissionsRequest.Builderavoiding the need to create one manually viaDescribeConnectionAliasPermissionsRequest.builder()- Parameters:
describeConnectionAliasPermissionsRequest- AConsumerthat will call methods onDescribeConnectionAliasPermissionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeConnectionAliasPermissions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeConnectionAliases
default CompletableFuture<DescribeConnectionAliasesResponse> describeConnectionAliases(DescribeConnectionAliasesRequest describeConnectionAliasesRequest) Retrieves a list that describes the connection aliases used for cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
- Parameters:
describeConnectionAliasesRequest-- Returns:
- A Java Future containing the result of the DescribeConnectionAliases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeConnectionAliases
default CompletableFuture<DescribeConnectionAliasesResponse> describeConnectionAliases(Consumer<DescribeConnectionAliasesRequest.Builder> describeConnectionAliasesRequest) Retrieves a list that describes the connection aliases used for cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
This is a convenience which creates an instance of the
DescribeConnectionAliasesRequest.Builderavoiding the need to create one manually viaDescribeConnectionAliasesRequest.builder()- Parameters:
describeConnectionAliasesRequest- AConsumerthat will call methods onDescribeConnectionAliasesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeConnectionAliases operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCustomWorkspaceImageImport
default CompletableFuture<DescribeCustomWorkspaceImageImportResponse> describeCustomWorkspaceImageImport(DescribeCustomWorkspaceImageImportRequest describeCustomWorkspaceImageImportRequest) Retrieves information about a WorkSpace BYOL image being imported via ImportCustomWorkspaceImage.
- Parameters:
describeCustomWorkspaceImageImportRequest-- Returns:
- A Java Future containing the result of the DescribeCustomWorkspaceImageImport operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeCustomWorkspaceImageImport
default CompletableFuture<DescribeCustomWorkspaceImageImportResponse> describeCustomWorkspaceImageImport(Consumer<DescribeCustomWorkspaceImageImportRequest.Builder> describeCustomWorkspaceImageImportRequest) Retrieves information about a WorkSpace BYOL image being imported via ImportCustomWorkspaceImage.
This is a convenience which creates an instance of the
DescribeCustomWorkspaceImageImportRequest.Builderavoiding the need to create one manually viaDescribeCustomWorkspaceImageImportRequest.builder()- Parameters:
describeCustomWorkspaceImageImportRequest- AConsumerthat will call methods onDescribeCustomWorkspaceImageImportRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeCustomWorkspaceImageImport operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeImageAssociations
default CompletableFuture<DescribeImageAssociationsResponse> describeImageAssociations(DescribeImageAssociationsRequest describeImageAssociationsRequest) Describes the associations between the applications and the specified image.
- Parameters:
describeImageAssociationsRequest-- Returns:
- A Java Future containing the result of the DescribeImageAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeImageAssociations
default CompletableFuture<DescribeImageAssociationsResponse> describeImageAssociations(Consumer<DescribeImageAssociationsRequest.Builder> describeImageAssociationsRequest) Describes the associations between the applications and the specified image.
This is a convenience which creates an instance of the
DescribeImageAssociationsRequest.Builderavoiding the need to create one manually viaDescribeImageAssociationsRequest.builder()- Parameters:
describeImageAssociationsRequest- AConsumerthat will call methods onDescribeImageAssociationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeImageAssociations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeIpGroups
default CompletableFuture<DescribeIpGroupsResponse> describeIpGroups(DescribeIpGroupsRequest describeIpGroupsRequest) Describes one or more of your IP access control groups.
- Parameters:
describeIpGroupsRequest-- Returns:
- A Java Future containing the result of the DescribeIpGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeIpGroups
default CompletableFuture<DescribeIpGroupsResponse> describeIpGroups(Consumer<DescribeIpGroupsRequest.Builder> describeIpGroupsRequest) Describes one or more of your IP access control groups.
This is a convenience which creates an instance of the
DescribeIpGroupsRequest.Builderavoiding the need to create one manually viaDescribeIpGroupsRequest.builder()- Parameters:
describeIpGroupsRequest- AConsumerthat will call methods onDescribeIpGroupsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeIpGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeIpGroups
Describes one or more of your IP access control groups.
- Returns:
- A Java Future containing the result of the DescribeIpGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeTags
default CompletableFuture<DescribeTagsResponse> describeTags(DescribeTagsRequest describeTagsRequest) Describes the specified tags for the specified WorkSpaces resource.
- Parameters:
describeTagsRequest-- Returns:
- A Java Future containing the result of the DescribeTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeTags
default CompletableFuture<DescribeTagsResponse> describeTags(Consumer<DescribeTagsRequest.Builder> describeTagsRequest) Describes the specified tags for the specified WorkSpaces resource.
This is a convenience which creates an instance of the
DescribeTagsRequest.Builderavoiding the need to create one manually viaDescribeTagsRequest.builder()- Parameters:
describeTagsRequest- AConsumerthat will call methods onDescribeTagsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeTags operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceAssociations
default CompletableFuture<DescribeWorkspaceAssociationsResponse> describeWorkspaceAssociations(DescribeWorkspaceAssociationsRequest describeWorkspaceAssociationsRequest) Describes the associations betweens applications and the specified WorkSpace.
- Parameters:
describeWorkspaceAssociationsRequest-- Returns:
- A Java Future containing the result of the DescribeWorkspaceAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceAssociations
default CompletableFuture<DescribeWorkspaceAssociationsResponse> describeWorkspaceAssociations(Consumer<DescribeWorkspaceAssociationsRequest.Builder> describeWorkspaceAssociationsRequest) Describes the associations betweens applications and the specified WorkSpace.
This is a convenience which creates an instance of the
DescribeWorkspaceAssociationsRequest.Builderavoiding the need to create one manually viaDescribeWorkspaceAssociationsRequest.builder()- Parameters:
describeWorkspaceAssociationsRequest- AConsumerthat will call methods onDescribeWorkspaceAssociationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeWorkspaceAssociations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceBundles
default CompletableFuture<DescribeWorkspaceBundlesResponse> describeWorkspaceBundles(DescribeWorkspaceBundlesRequest describeWorkspaceBundlesRequest) Retrieves a list that describes the available WorkSpace bundles.
You can filter the results using either bundle ID or owner, but not both.
- Parameters:
describeWorkspaceBundlesRequest-- Returns:
- A Java Future containing the result of the DescribeWorkspaceBundles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceBundles
default CompletableFuture<DescribeWorkspaceBundlesResponse> describeWorkspaceBundles(Consumer<DescribeWorkspaceBundlesRequest.Builder> describeWorkspaceBundlesRequest) Retrieves a list that describes the available WorkSpace bundles.
You can filter the results using either bundle ID or owner, but not both.
This is a convenience which creates an instance of the
DescribeWorkspaceBundlesRequest.Builderavoiding the need to create one manually viaDescribeWorkspaceBundlesRequest.builder()- Parameters:
describeWorkspaceBundlesRequest- AConsumerthat will call methods onDescribeWorkspaceBundlesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeWorkspaceBundles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceBundles
Retrieves a list that describes the available WorkSpace bundles.
You can filter the results using either bundle ID or owner, but not both.
- Returns:
- A Java Future containing the result of the DescribeWorkspaceBundles operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceBundlesPaginator
This is a variant of
describeWorkspaceBundles(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceBundlesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.DescribeWorkspaceBundlesPublisher publisher = client.describeWorkspaceBundlesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.DescribeWorkspaceBundlesPublisher publisher = client.describeWorkspaceBundlesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceBundlesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceBundlesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeWorkspaceBundles(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceBundlesRequest)operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceBundlesPaginator
default DescribeWorkspaceBundlesPublisher describeWorkspaceBundlesPaginator(DescribeWorkspaceBundlesRequest describeWorkspaceBundlesRequest) This is a variant of
describeWorkspaceBundles(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceBundlesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.DescribeWorkspaceBundlesPublisher publisher = client.describeWorkspaceBundlesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.DescribeWorkspaceBundlesPublisher publisher = client.describeWorkspaceBundlesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceBundlesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceBundlesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeWorkspaceBundles(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceBundlesRequest)operation.- Parameters:
describeWorkspaceBundlesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceBundlesPaginator
default DescribeWorkspaceBundlesPublisher describeWorkspaceBundlesPaginator(Consumer<DescribeWorkspaceBundlesRequest.Builder> describeWorkspaceBundlesRequest) This is a variant of
describeWorkspaceBundles(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceBundlesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.DescribeWorkspaceBundlesPublisher publisher = client.describeWorkspaceBundlesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.DescribeWorkspaceBundlesPublisher publisher = client.describeWorkspaceBundlesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceBundlesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceBundlesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeWorkspaceBundles(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceBundlesRequest)operation.
This is a convenience which creates an instance of the
DescribeWorkspaceBundlesRequest.Builderavoiding the need to create one manually viaDescribeWorkspaceBundlesRequest.builder()- Parameters:
describeWorkspaceBundlesRequest- AConsumerthat will call methods onDescribeWorkspaceBundlesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceDirectories
default CompletableFuture<DescribeWorkspaceDirectoriesResponse> describeWorkspaceDirectories(DescribeWorkspaceDirectoriesRequest describeWorkspaceDirectoriesRequest) Describes the available directories that are registered with Amazon WorkSpaces.
- Parameters:
describeWorkspaceDirectoriesRequest-- Returns:
- A Java Future containing the result of the DescribeWorkspaceDirectories operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceDirectories
default CompletableFuture<DescribeWorkspaceDirectoriesResponse> describeWorkspaceDirectories(Consumer<DescribeWorkspaceDirectoriesRequest.Builder> describeWorkspaceDirectoriesRequest) Describes the available directories that are registered with Amazon WorkSpaces.
This is a convenience which creates an instance of the
DescribeWorkspaceDirectoriesRequest.Builderavoiding the need to create one manually viaDescribeWorkspaceDirectoriesRequest.builder()- Parameters:
describeWorkspaceDirectoriesRequest- AConsumerthat will call methods onDescribeWorkspaceDirectoriesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeWorkspaceDirectories operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceDirectories
Describes the available directories that are registered with Amazon WorkSpaces.
- Returns:
- A Java Future containing the result of the DescribeWorkspaceDirectories operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceDirectoriesPaginator
This is a variant of
describeWorkspaceDirectories(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceDirectoriesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.DescribeWorkspaceDirectoriesPublisher publisher = client.describeWorkspaceDirectoriesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.DescribeWorkspaceDirectoriesPublisher publisher = client.describeWorkspaceDirectoriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceDirectoriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceDirectoriesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeWorkspaceDirectories(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceDirectoriesRequest)operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceDirectoriesPaginator
default DescribeWorkspaceDirectoriesPublisher describeWorkspaceDirectoriesPaginator(DescribeWorkspaceDirectoriesRequest describeWorkspaceDirectoriesRequest) This is a variant of
describeWorkspaceDirectories(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceDirectoriesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.DescribeWorkspaceDirectoriesPublisher publisher = client.describeWorkspaceDirectoriesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.DescribeWorkspaceDirectoriesPublisher publisher = client.describeWorkspaceDirectoriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceDirectoriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceDirectoriesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeWorkspaceDirectories(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceDirectoriesRequest)operation.- Parameters:
describeWorkspaceDirectoriesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceDirectoriesPaginator
default DescribeWorkspaceDirectoriesPublisher describeWorkspaceDirectoriesPaginator(Consumer<DescribeWorkspaceDirectoriesRequest.Builder> describeWorkspaceDirectoriesRequest) This is a variant of
describeWorkspaceDirectories(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceDirectoriesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.DescribeWorkspaceDirectoriesPublisher publisher = client.describeWorkspaceDirectoriesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.DescribeWorkspaceDirectoriesPublisher publisher = client.describeWorkspaceDirectoriesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceDirectoriesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceDirectoriesResponse response) { //... }; });Please notice that the configuration of null won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeWorkspaceDirectories(software.amazon.awssdk.services.workspaces.model.DescribeWorkspaceDirectoriesRequest)operation.
This is a convenience which creates an instance of the
DescribeWorkspaceDirectoriesRequest.Builderavoiding the need to create one manually viaDescribeWorkspaceDirectoriesRequest.builder()- Parameters:
describeWorkspaceDirectoriesRequest- AConsumerthat will call methods onDescribeWorkspaceDirectoriesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceImagePermissions
default CompletableFuture<DescribeWorkspaceImagePermissionsResponse> describeWorkspaceImagePermissions(DescribeWorkspaceImagePermissionsRequest describeWorkspaceImagePermissionsRequest) Describes the permissions that the owner of an image has granted to other Amazon Web Services accounts for an image.
- Parameters:
describeWorkspaceImagePermissionsRequest-- Returns:
- A Java Future containing the result of the DescribeWorkspaceImagePermissions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceImagePermissions
default CompletableFuture<DescribeWorkspaceImagePermissionsResponse> describeWorkspaceImagePermissions(Consumer<DescribeWorkspaceImagePermissionsRequest.Builder> describeWorkspaceImagePermissionsRequest) Describes the permissions that the owner of an image has granted to other Amazon Web Services accounts for an image.
This is a convenience which creates an instance of the
DescribeWorkspaceImagePermissionsRequest.Builderavoiding the need to create one manually viaDescribeWorkspaceImagePermissionsRequest.builder()- Parameters:
describeWorkspaceImagePermissionsRequest- AConsumerthat will call methods onDescribeWorkspaceImagePermissionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeWorkspaceImagePermissions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceImages
default CompletableFuture<DescribeWorkspaceImagesResponse> describeWorkspaceImages(DescribeWorkspaceImagesRequest describeWorkspaceImagesRequest) Retrieves a list that describes one or more specified images, if the image identifiers are provided. Otherwise, all images in the account are described.
- Parameters:
describeWorkspaceImagesRequest-- Returns:
- A Java Future containing the result of the DescribeWorkspaceImages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceImages
default CompletableFuture<DescribeWorkspaceImagesResponse> describeWorkspaceImages(Consumer<DescribeWorkspaceImagesRequest.Builder> describeWorkspaceImagesRequest) Retrieves a list that describes one or more specified images, if the image identifiers are provided. Otherwise, all images in the account are described.
This is a convenience which creates an instance of the
DescribeWorkspaceImagesRequest.Builderavoiding the need to create one manually viaDescribeWorkspaceImagesRequest.builder()- Parameters:
describeWorkspaceImagesRequest- AConsumerthat will call methods onDescribeWorkspaceImagesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeWorkspaceImages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceImages
Retrieves a list that describes one or more specified images, if the image identifiers are provided. Otherwise, all images in the account are described.
- Returns:
- A Java Future containing the result of the DescribeWorkspaceImages operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceSnapshots
default CompletableFuture<DescribeWorkspaceSnapshotsResponse> describeWorkspaceSnapshots(DescribeWorkspaceSnapshotsRequest describeWorkspaceSnapshotsRequest) Describes the snapshots for the specified WorkSpace.
- Parameters:
describeWorkspaceSnapshotsRequest-- Returns:
- A Java Future containing the result of the DescribeWorkspaceSnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaceSnapshots
default CompletableFuture<DescribeWorkspaceSnapshotsResponse> describeWorkspaceSnapshots(Consumer<DescribeWorkspaceSnapshotsRequest.Builder> describeWorkspaceSnapshotsRequest) Describes the snapshots for the specified WorkSpace.
This is a convenience which creates an instance of the
DescribeWorkspaceSnapshotsRequest.Builderavoiding the need to create one manually viaDescribeWorkspaceSnapshotsRequest.builder()- Parameters:
describeWorkspaceSnapshotsRequest- AConsumerthat will call methods onDescribeWorkspaceSnapshotsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeWorkspaceSnapshots operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaces
default CompletableFuture<DescribeWorkspacesResponse> describeWorkspaces(DescribeWorkspacesRequest describeWorkspacesRequest) Describes the specified WorkSpaces.
You can filter the results by using the bundle identifier, directory identifier, or owner, but you can specify only one filter at a time.
- Parameters:
describeWorkspacesRequest-- Returns:
- A Java Future containing the result of the DescribeWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceUnavailableException The specified resource is not available.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaces
default CompletableFuture<DescribeWorkspacesResponse> describeWorkspaces(Consumer<DescribeWorkspacesRequest.Builder> describeWorkspacesRequest) Describes the specified WorkSpaces.
You can filter the results by using the bundle identifier, directory identifier, or owner, but you can specify only one filter at a time.
This is a convenience which creates an instance of the
DescribeWorkspacesRequest.Builderavoiding the need to create one manually viaDescribeWorkspacesRequest.builder()- Parameters:
describeWorkspacesRequest- AConsumerthat will call methods onDescribeWorkspacesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceUnavailableException The specified resource is not available.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspaces
Describes the specified WorkSpaces.
You can filter the results by using the bundle identifier, directory identifier, or owner, but you can specify only one filter at a time.
- Returns:
- A Java Future containing the result of the DescribeWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceUnavailableException The specified resource is not available.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspacesConnectionStatus
default CompletableFuture<DescribeWorkspacesConnectionStatusResponse> describeWorkspacesConnectionStatus(DescribeWorkspacesConnectionStatusRequest describeWorkspacesConnectionStatusRequest) Describes the connection status of the specified WorkSpaces.
- Parameters:
describeWorkspacesConnectionStatusRequest-- Returns:
- A Java Future containing the result of the DescribeWorkspacesConnectionStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspacesConnectionStatus
default CompletableFuture<DescribeWorkspacesConnectionStatusResponse> describeWorkspacesConnectionStatus(Consumer<DescribeWorkspacesConnectionStatusRequest.Builder> describeWorkspacesConnectionStatusRequest) Describes the connection status of the specified WorkSpaces.
This is a convenience which creates an instance of the
DescribeWorkspacesConnectionStatusRequest.Builderavoiding the need to create one manually viaDescribeWorkspacesConnectionStatusRequest.builder()- Parameters:
describeWorkspacesConnectionStatusRequest- AConsumerthat will call methods onDescribeWorkspacesConnectionStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeWorkspacesConnectionStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspacesConnectionStatus
default CompletableFuture<DescribeWorkspacesConnectionStatusResponse> describeWorkspacesConnectionStatus()Describes the connection status of the specified WorkSpaces.
- Returns:
- A Java Future containing the result of the DescribeWorkspacesConnectionStatus operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspacesPaginator
This is a variant of
describeWorkspaces(software.amazon.awssdk.services.workspaces.model.DescribeWorkspacesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.DescribeWorkspacesPublisher publisher = client.describeWorkspacesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.DescribeWorkspacesPublisher publisher = client.describeWorkspacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.DescribeWorkspacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.DescribeWorkspacesResponse response) { //... }; });Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeWorkspaces(software.amazon.awssdk.services.workspaces.model.DescribeWorkspacesRequest)operation.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceUnavailableException The specified resource is not available.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspacesPaginator
default DescribeWorkspacesPublisher describeWorkspacesPaginator(DescribeWorkspacesRequest describeWorkspacesRequest) This is a variant of
describeWorkspaces(software.amazon.awssdk.services.workspaces.model.DescribeWorkspacesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.DescribeWorkspacesPublisher publisher = client.describeWorkspacesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.DescribeWorkspacesPublisher publisher = client.describeWorkspacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.DescribeWorkspacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.DescribeWorkspacesResponse response) { //... }; });Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeWorkspaces(software.amazon.awssdk.services.workspaces.model.DescribeWorkspacesRequest)operation.- Parameters:
describeWorkspacesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceUnavailableException The specified resource is not available.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspacesPaginator
default DescribeWorkspacesPublisher describeWorkspacesPaginator(Consumer<DescribeWorkspacesRequest.Builder> describeWorkspacesRequest) This is a variant of
describeWorkspaces(software.amazon.awssdk.services.workspaces.model.DescribeWorkspacesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.DescribeWorkspacesPublisher publisher = client.describeWorkspacesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.DescribeWorkspacesPublisher publisher = client.describeWorkspacesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.DescribeWorkspacesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.DescribeWorkspacesResponse response) { //... }; });Please notice that the configuration of Limit won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
describeWorkspaces(software.amazon.awssdk.services.workspaces.model.DescribeWorkspacesRequest)operation.
This is a convenience which creates an instance of the
DescribeWorkspacesRequest.Builderavoiding the need to create one manually viaDescribeWorkspacesRequest.builder()- Parameters:
describeWorkspacesRequest- AConsumerthat will call methods onDescribeWorkspacesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceUnavailableException The specified resource is not available.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspacesPoolSessions
default CompletableFuture<DescribeWorkspacesPoolSessionsResponse> describeWorkspacesPoolSessions(DescribeWorkspacesPoolSessionsRequest describeWorkspacesPoolSessionsRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Retrieves a list that describes the streaming sessions for a specified pool.
- Parameters:
describeWorkspacesPoolSessionsRequest-- Returns:
- A Java Future containing the result of the DescribeWorkspacesPoolSessions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspacesPoolSessions
default CompletableFuture<DescribeWorkspacesPoolSessionsResponse> describeWorkspacesPoolSessions(Consumer<DescribeWorkspacesPoolSessionsRequest.Builder> describeWorkspacesPoolSessionsRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Retrieves a list that describes the streaming sessions for a specified pool.
This is a convenience which creates an instance of the
DescribeWorkspacesPoolSessionsRequest.Builderavoiding the need to create one manually viaDescribeWorkspacesPoolSessionsRequest.builder()- Parameters:
describeWorkspacesPoolSessionsRequest- AConsumerthat will call methods onDescribeWorkspacesPoolSessionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeWorkspacesPoolSessions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspacesPools
default CompletableFuture<DescribeWorkspacesPoolsResponse> describeWorkspacesPools(DescribeWorkspacesPoolsRequest describeWorkspacesPoolsRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Describes the specified WorkSpaces Pools.
- Parameters:
describeWorkspacesPoolsRequest-- Returns:
- A Java Future containing the result of the DescribeWorkspacesPools operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
describeWorkspacesPools
default CompletableFuture<DescribeWorkspacesPoolsResponse> describeWorkspacesPools(Consumer<DescribeWorkspacesPoolsRequest.Builder> describeWorkspacesPoolsRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Describes the specified WorkSpaces Pools.
This is a convenience which creates an instance of the
DescribeWorkspacesPoolsRequest.Builderavoiding the need to create one manually viaDescribeWorkspacesPoolsRequest.builder()- Parameters:
describeWorkspacesPoolsRequest- AConsumerthat will call methods onDescribeWorkspacesPoolsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DescribeWorkspacesPools operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateAccountModels
default CompletableFuture<DisassociateAccountModelsResponse> disassociateAccountModels(DisassociateAccountModelsRequest disassociateAccountModelsRequest) Removes models from your account's model list. The operation ignores models that aren't on the list. WorkSpaces and persona configurations that use a removed model continue to reference it in their configuration, but the service blocks requests to the model. Your account must keep at least one model. If the request would remove the last model, the operation returns
ValidationException.- Parameters:
disassociateAccountModelsRequest-- Returns:
- A Java Future containing the result of the DisassociateAccountModels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateAccountModels
default CompletableFuture<DisassociateAccountModelsResponse> disassociateAccountModels(Consumer<DisassociateAccountModelsRequest.Builder> disassociateAccountModelsRequest) Removes models from your account's model list. The operation ignores models that aren't on the list. WorkSpaces and persona configurations that use a removed model continue to reference it in their configuration, but the service blocks requests to the model. Your account must keep at least one model. If the request would remove the last model, the operation returns
ValidationException.
This is a convenience which creates an instance of the
DisassociateAccountModelsRequest.Builderavoiding the need to create one manually viaDisassociateAccountModelsRequest.builder()- Parameters:
disassociateAccountModelsRequest- AConsumerthat will call methods onDisassociateAccountModelsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateAccountModels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateConnectionAlias
default CompletableFuture<DisassociateConnectionAliasResponse> disassociateConnectionAlias(DisassociateConnectionAliasRequest disassociateConnectionAliasRequest) Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region redirection between two directories in different Regions. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is
CREATED.- Parameters:
disassociateConnectionAliasRequest-- Returns:
- A Java Future containing the result of the DisassociateConnectionAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ResourceNotFoundException The resource could not be found.
- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateConnectionAlias
default CompletableFuture<DisassociateConnectionAliasResponse> disassociateConnectionAlias(Consumer<DisassociateConnectionAliasRequest.Builder> disassociateConnectionAliasRequest) Disassociates a connection alias from a directory. Disassociating a connection alias disables cross-Region redirection between two directories in different Regions. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is
CREATED.
This is a convenience which creates an instance of the
DisassociateConnectionAliasRequest.Builderavoiding the need to create one manually viaDisassociateConnectionAliasRequest.builder()- Parameters:
disassociateConnectionAliasRequest- AConsumerthat will call methods onDisassociateConnectionAliasRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateConnectionAlias operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ResourceNotFoundException The resource could not be found.
- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateIpGroups
default CompletableFuture<DisassociateIpGroupsResponse> disassociateIpGroups(DisassociateIpGroupsRequest disassociateIpGroupsRequest) Disassociates the specified IP access control group from the specified directory.
- Parameters:
disassociateIpGroupsRequest-- Returns:
- A Java Future containing the result of the DisassociateIpGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateIpGroups
default CompletableFuture<DisassociateIpGroupsResponse> disassociateIpGroups(Consumer<DisassociateIpGroupsRequest.Builder> disassociateIpGroupsRequest) Disassociates the specified IP access control group from the specified directory.
This is a convenience which creates an instance of the
DisassociateIpGroupsRequest.Builderavoiding the need to create one manually viaDisassociateIpGroupsRequest.builder()- Parameters:
disassociateIpGroupsRequest- AConsumerthat will call methods onDisassociateIpGroupsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateIpGroups operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateWorkspaceAgenticConnectors
default CompletableFuture<DisassociateWorkspaceAgenticConnectorsResponse> disassociateWorkspaceAgenticConnectors(DisassociateWorkspaceAgenticConnectorsRequest disassociateWorkspaceAgenticConnectorsRequest) Disassociates agentic connectors from the specified WorkSpace. The operation ignores connectors that aren't associated with the WorkSpace. If the WorkSpace is in a state that doesn't allow the change, the operation returns
ConflictException.- Parameters:
disassociateWorkspaceAgenticConnectorsRequest-- Returns:
- A Java Future containing the result of the DisassociateWorkspaceAgenticConnectors operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateWorkspaceAgenticConnectors
default CompletableFuture<DisassociateWorkspaceAgenticConnectorsResponse> disassociateWorkspaceAgenticConnectors(Consumer<DisassociateWorkspaceAgenticConnectorsRequest.Builder> disassociateWorkspaceAgenticConnectorsRequest) Disassociates agentic connectors from the specified WorkSpace. The operation ignores connectors that aren't associated with the WorkSpace. If the WorkSpace is in a state that doesn't allow the change, the operation returns
ConflictException.
This is a convenience which creates an instance of the
DisassociateWorkspaceAgenticConnectorsRequest.Builderavoiding the need to create one manually viaDisassociateWorkspaceAgenticConnectorsRequest.builder()- Parameters:
disassociateWorkspaceAgenticConnectorsRequest- AConsumerthat will call methods onDisassociateWorkspaceAgenticConnectorsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateWorkspaceAgenticConnectors operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateWorkspaceAgenticContexts
default CompletableFuture<DisassociateWorkspaceAgenticContextsResponse> disassociateWorkspaceAgenticContexts(DisassociateWorkspaceAgenticContextsRequest disassociateWorkspaceAgenticContextsRequest) Disassociates agentic contexts from the specified WorkSpace. The operation ignores contexts that aren't associated with the WorkSpace. If the WorkSpace is in a state that doesn't allow the change, the operation returns
ConflictException.- Parameters:
disassociateWorkspaceAgenticContextsRequest-- Returns:
- A Java Future containing the result of the DisassociateWorkspaceAgenticContexts operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateWorkspaceAgenticContexts
default CompletableFuture<DisassociateWorkspaceAgenticContextsResponse> disassociateWorkspaceAgenticContexts(Consumer<DisassociateWorkspaceAgenticContextsRequest.Builder> disassociateWorkspaceAgenticContextsRequest) Disassociates agentic contexts from the specified WorkSpace. The operation ignores contexts that aren't associated with the WorkSpace. If the WorkSpace is in a state that doesn't allow the change, the operation returns
ConflictException.
This is a convenience which creates an instance of the
DisassociateWorkspaceAgenticContextsRequest.Builderavoiding the need to create one manually viaDisassociateWorkspaceAgenticContextsRequest.builder()- Parameters:
disassociateWorkspaceAgenticContextsRequest- AConsumerthat will call methods onDisassociateWorkspaceAgenticContextsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateWorkspaceAgenticContexts operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateWorkspaceApplication
default CompletableFuture<DisassociateWorkspaceApplicationResponse> disassociateWorkspaceApplication(DisassociateWorkspaceApplicationRequest disassociateWorkspaceApplicationRequest) Disassociates the specified application from a WorkSpace.
- Parameters:
disassociateWorkspaceApplicationRequest-- Returns:
- A Java Future containing the result of the DisassociateWorkspaceApplication operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceInUseException The specified resource is currently in use.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateWorkspaceApplication
default CompletableFuture<DisassociateWorkspaceApplicationResponse> disassociateWorkspaceApplication(Consumer<DisassociateWorkspaceApplicationRequest.Builder> disassociateWorkspaceApplicationRequest) Disassociates the specified application from a WorkSpace.
This is a convenience which creates an instance of the
DisassociateWorkspaceApplicationRequest.Builderavoiding the need to create one manually viaDisassociateWorkspaceApplicationRequest.builder()- Parameters:
disassociateWorkspaceApplicationRequest- AConsumerthat will call methods onDisassociateWorkspaceApplicationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateWorkspaceApplication operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceInUseException The specified resource is currently in use.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateWorkspaceModels
default CompletableFuture<DisassociateWorkspaceModelsResponse> disassociateWorkspaceModels(DisassociateWorkspaceModelsRequest disassociateWorkspaceModelsRequest) Disassociates models from the specified WorkSpace. The operation ignores models that aren't associated with the WorkSpace. A WorkSpace must keep at least one model. If the request would remove the last model, the operation returns
ValidationException. If the WorkSpace is in a state that doesn't allow the change, the operation returnsConflictException.- Parameters:
disassociateWorkspaceModelsRequest-- Returns:
- A Java Future containing the result of the DisassociateWorkspaceModels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
disassociateWorkspaceModels
default CompletableFuture<DisassociateWorkspaceModelsResponse> disassociateWorkspaceModels(Consumer<DisassociateWorkspaceModelsRequest.Builder> disassociateWorkspaceModelsRequest) Disassociates models from the specified WorkSpace. The operation ignores models that aren't associated with the WorkSpace. A WorkSpace must keep at least one model. If the request would remove the last model, the operation returns
ValidationException. If the WorkSpace is in a state that doesn't allow the change, the operation returnsConflictException.
This is a convenience which creates an instance of the
DisassociateWorkspaceModelsRequest.Builderavoiding the need to create one manually viaDisassociateWorkspaceModelsRequest.builder()- Parameters:
disassociateWorkspaceModelsRequest- AConsumerthat will call methods onDisassociateWorkspaceModelsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the DisassociateWorkspaceModels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountLink
default CompletableFuture<GetAccountLinkResponse> getAccountLink(GetAccountLinkRequest getAccountLinkRequest) Retrieves account link information.
- Parameters:
getAccountLinkRequest-- Returns:
- A Java Future containing the result of the GetAccountLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- InternalServerException An unexpected server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAccountLink
default CompletableFuture<GetAccountLinkResponse> getAccountLink(Consumer<GetAccountLinkRequest.Builder> getAccountLinkRequest) Retrieves account link information.
This is a convenience which creates an instance of the
GetAccountLinkRequest.Builderavoiding the need to create one manually viaGetAccountLinkRequest.builder()- Parameters:
getAccountLinkRequest- AConsumerthat will call methods onGetAccountLinkRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAccountLink operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- InternalServerException An unexpected server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAgenticAccountSetup
default CompletableFuture<GetAgenticAccountSetupResponse> getAgenticAccountSetup(GetAgenticAccountSetupRequest getAgenticAccountSetupRequest) Describes the agentic setup of your account in the current Region. If you haven't set up your account, the status is
NOT_SET_UP.- Parameters:
getAgenticAccountSetupRequest-- Returns:
- A Java Future containing the result of the GetAgenticAccountSetup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAgenticAccountSetup
default CompletableFuture<GetAgenticAccountSetupResponse> getAgenticAccountSetup(Consumer<GetAgenticAccountSetupRequest.Builder> getAgenticAccountSetupRequest) Describes the agentic setup of your account in the current Region. If you haven't set up your account, the status is
NOT_SET_UP.
This is a convenience which creates an instance of the
GetAgenticAccountSetupRequest.Builderavoiding the need to create one manually viaGetAgenticAccountSetupRequest.builder()- Parameters:
getAgenticAccountSetupRequest- AConsumerthat will call methods onGetAgenticAccountSetupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAgenticAccountSetup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAgenticContext
default CompletableFuture<GetAgenticContextResponse> getAgenticContext(GetAgenticContextRequest getAgenticContextRequest) Describes an agentic context, including its body.
- Parameters:
getAgenticContextRequest-- Returns:
- A Java Future containing the result of the GetAgenticContext operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAgenticContext
default CompletableFuture<GetAgenticContextResponse> getAgenticContext(Consumer<GetAgenticContextRequest.Builder> getAgenticContextRequest) Describes an agentic context, including its body.
This is a convenience which creates an instance of the
GetAgenticContextRequest.Builderavoiding the need to create one manually viaGetAgenticContextRequest.builder()- Parameters:
getAgenticContextRequest- AConsumerthat will call methods onGetAgenticContextRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAgenticContext operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAgenticWorkspaceConfiguration
default CompletableFuture<GetAgenticWorkspaceConfigurationResponse> getAgenticWorkspaceConfiguration(GetAgenticWorkspaceConfigurationRequest getAgenticWorkspaceConfigurationRequest) Describes the agentic configuration of the specified WorkSpace, including its models, agent runtime, connectors, contexts, enforced policies, and agent health.
- Parameters:
getAgenticWorkspaceConfigurationRequest-- Returns:
- A Java Future containing the result of the GetAgenticWorkspaceConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
getAgenticWorkspaceConfiguration
default CompletableFuture<GetAgenticWorkspaceConfigurationResponse> getAgenticWorkspaceConfiguration(Consumer<GetAgenticWorkspaceConfigurationRequest.Builder> getAgenticWorkspaceConfigurationRequest) Describes the agentic configuration of the specified WorkSpace, including its models, agent runtime, connectors, contexts, enforced policies, and agent health.
This is a convenience which creates an instance of the
GetAgenticWorkspaceConfigurationRequest.Builderavoiding the need to create one manually viaGetAgenticWorkspaceConfigurationRequest.builder()- Parameters:
getAgenticWorkspaceConfigurationRequest- AConsumerthat will call methods onGetAgenticWorkspaceConfigurationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the GetAgenticWorkspaceConfiguration operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importClientBranding
default CompletableFuture<ImportClientBrandingResponse> importClientBranding(ImportClientBrandingRequest importClientBrandingRequest) Imports client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.
After you import client branding, the default branding experience for the specified platform type is replaced with the imported experience
-
You must specify at least one platform type when importing client branding.
-
You can import up to 6 MB of data with each request. If your request exceeds this limit, you can import client branding for different platform types using separate requests.
-
In each platform type, the
SupportEmailandSupportLinkparameters are mutually exclusive. You can specify only one parameter for each platform type, but not both. -
Imported data can take up to a minute to appear in the WorkSpaces client.
- Parameters:
importClientBrandingRequest-- Returns:
- A Java Future containing the result of the ImportClientBranding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
importClientBranding
default CompletableFuture<ImportClientBrandingResponse> importClientBranding(Consumer<ImportClientBrandingRequest.Builder> importClientBrandingRequest) Imports client branding. Client branding allows you to customize your WorkSpace's client login portal. You can tailor your login portal company logo, the support email address, support link, link to reset password, and a custom message for users trying to sign in.
After you import client branding, the default branding experience for the specified platform type is replaced with the imported experience
-
You must specify at least one platform type when importing client branding.
-
You can import up to 6 MB of data with each request. If your request exceeds this limit, you can import client branding for different platform types using separate requests.
-
In each platform type, the
SupportEmailandSupportLinkparameters are mutually exclusive. You can specify only one parameter for each platform type, but not both. -
Imported data can take up to a minute to appear in the WorkSpaces client.
This is a convenience which creates an instance of the
ImportClientBrandingRequest.Builderavoiding the need to create one manually viaImportClientBrandingRequest.builder()- Parameters:
importClientBrandingRequest- AConsumerthat will call methods onImportClientBrandingRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ImportClientBranding operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
importCustomWorkspaceImage
default CompletableFuture<ImportCustomWorkspaceImageResponse> importCustomWorkspaceImage(ImportCustomWorkspaceImageRequest importCustomWorkspaceImageRequest) Imports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon WorkSpaces using EC2 Image Builder. The image must be an already licensed image that is in your Amazon Web Services account, and you must own the image. For more information about creating BYOL images, see Bring Your Own Windows Desktop Licenses.
- Parameters:
importCustomWorkspaceImageRequest-- Returns:
- A Java Future containing the result of the ImportCustomWorkspaceImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceLimitExceededException Your resource limits have been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importCustomWorkspaceImage
default CompletableFuture<ImportCustomWorkspaceImageResponse> importCustomWorkspaceImage(Consumer<ImportCustomWorkspaceImageRequest.Builder> importCustomWorkspaceImageRequest) Imports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon WorkSpaces using EC2 Image Builder. The image must be an already licensed image that is in your Amazon Web Services account, and you must own the image. For more information about creating BYOL images, see Bring Your Own Windows Desktop Licenses.
This is a convenience which creates an instance of the
ImportCustomWorkspaceImageRequest.Builderavoiding the need to create one manually viaImportCustomWorkspaceImageRequest.builder()- Parameters:
importCustomWorkspaceImageRequest- AConsumerthat will call methods onImportCustomWorkspaceImageRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ImportCustomWorkspaceImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceLimitExceededException Your resource limits have been exceeded.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importWorkspaceImage
default CompletableFuture<ImportWorkspaceImageResponse> importWorkspaceImage(ImportWorkspaceImageRequest importWorkspaceImageRequest) Imports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your Amazon Web Services account, and you must own the image. For more information about creating BYOL images, see Bring Your Own Windows Desktop Licenses.
- Parameters:
importWorkspaceImageRequest-- Returns:
- A Java Future containing the result of the ImportWorkspaceImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
importWorkspaceImage
default CompletableFuture<ImportWorkspaceImageResponse> importWorkspaceImage(Consumer<ImportWorkspaceImageRequest.Builder> importWorkspaceImageRequest) Imports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon WorkSpaces. The image must be an already licensed Amazon EC2 image that is in your Amazon Web Services account, and you must own the image. For more information about creating BYOL images, see Bring Your Own Windows Desktop Licenses.
This is a convenience which creates an instance of the
ImportWorkspaceImageRequest.Builderavoiding the need to create one manually viaImportWorkspaceImageRequest.builder()- Parameters:
importWorkspaceImageRequest- AConsumerthat will call methods onImportWorkspaceImageRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ImportWorkspaceImage operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceAlreadyExistsException The specified resource already exists.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountLinks
default CompletableFuture<ListAccountLinksResponse> listAccountLinks(ListAccountLinksRequest listAccountLinksRequest) Lists all account links.
- Parameters:
listAccountLinksRequest-- Returns:
- A Java Future containing the result of the ListAccountLinks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- InternalServerException An unexpected server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountLinks
default CompletableFuture<ListAccountLinksResponse> listAccountLinks(Consumer<ListAccountLinksRequest.Builder> listAccountLinksRequest) Lists all account links.
This is a convenience which creates an instance of the
ListAccountLinksRequest.Builderavoiding the need to create one manually viaListAccountLinksRequest.builder()- Parameters:
listAccountLinksRequest- AConsumerthat will call methods onListAccountLinksRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAccountLinks operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- InternalServerException An unexpected server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountLinksPaginator
default ListAccountLinksPublisher listAccountLinksPaginator(ListAccountLinksRequest listAccountLinksRequest) This is a variant of
listAccountLinks(software.amazon.awssdk.services.workspaces.model.ListAccountLinksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListAccountLinksPublisher publisher = client.listAccountLinksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListAccountLinksPublisher publisher = client.listAccountLinksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListAccountLinksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListAccountLinksResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountLinks(software.amazon.awssdk.services.workspaces.model.ListAccountLinksRequest)operation.- Parameters:
listAccountLinksRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- InternalServerException An unexpected server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountLinksPaginator
default ListAccountLinksPublisher listAccountLinksPaginator(Consumer<ListAccountLinksRequest.Builder> listAccountLinksRequest) This is a variant of
listAccountLinks(software.amazon.awssdk.services.workspaces.model.ListAccountLinksRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListAccountLinksPublisher publisher = client.listAccountLinksPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListAccountLinksPublisher publisher = client.listAccountLinksPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListAccountLinksResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListAccountLinksResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountLinks(software.amazon.awssdk.services.workspaces.model.ListAccountLinksRequest)operation.
This is a convenience which creates an instance of the
ListAccountLinksRequest.Builderavoiding the need to create one manually viaListAccountLinksRequest.builder()- Parameters:
listAccountLinksRequest- AConsumerthat will call methods onListAccountLinksRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- InternalServerException An unexpected server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountModels
default CompletableFuture<ListAccountModelsResponse> listAccountModels(ListAccountModelsRequest listAccountModelsRequest) Lists the models on your account's model list, sorted by model ID. This operation is paginated. To get the next page, pass the
NextTokenfrom the previous response.- Parameters:
listAccountModelsRequest-- Returns:
- A Java Future containing the result of the ListAccountModels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountModels
default CompletableFuture<ListAccountModelsResponse> listAccountModels(Consumer<ListAccountModelsRequest.Builder> listAccountModelsRequest) Lists the models on your account's model list, sorted by model ID. This operation is paginated. To get the next page, pass the
NextTokenfrom the previous response.
This is a convenience which creates an instance of the
ListAccountModelsRequest.Builderavoiding the need to create one manually viaListAccountModelsRequest.builder()- Parameters:
listAccountModelsRequest- AConsumerthat will call methods onListAccountModelsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAccountModels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountModelsPaginator
default ListAccountModelsPublisher listAccountModelsPaginator(ListAccountModelsRequest listAccountModelsRequest) This is a variant of
listAccountModels(software.amazon.awssdk.services.workspaces.model.ListAccountModelsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListAccountModelsPublisher publisher = client.listAccountModelsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListAccountModelsPublisher publisher = client.listAccountModelsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListAccountModelsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListAccountModelsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountModels(software.amazon.awssdk.services.workspaces.model.ListAccountModelsRequest)operation.- Parameters:
listAccountModelsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAccountModelsPaginator
default ListAccountModelsPublisher listAccountModelsPaginator(Consumer<ListAccountModelsRequest.Builder> listAccountModelsRequest) This is a variant of
listAccountModels(software.amazon.awssdk.services.workspaces.model.ListAccountModelsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListAccountModelsPublisher publisher = client.listAccountModelsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListAccountModelsPublisher publisher = client.listAccountModelsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListAccountModelsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListAccountModelsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAccountModels(software.amazon.awssdk.services.workspaces.model.ListAccountModelsRequest)operation.
This is a convenience which creates an instance of the
ListAccountModelsRequest.Builderavoiding the need to create one manually viaListAccountModelsRequest.builder()- Parameters:
listAccountModelsRequest- AConsumerthat will call methods onListAccountModelsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentEnforcedPolicies
default CompletableFuture<ListAgentEnforcedPoliciesResponse> listAgentEnforcedPolicies(ListAgentEnforcedPoliciesRequest listAgentEnforcedPoliciesRequest) Lists the agent-enforced policies that you can use, including policies that Amazon owns. This operation is paginated. To get the next page, pass the
NextTokenfrom the previous response.- Parameters:
listAgentEnforcedPoliciesRequest-- Returns:
- A Java Future containing the result of the ListAgentEnforcedPolicies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentEnforcedPolicies
default CompletableFuture<ListAgentEnforcedPoliciesResponse> listAgentEnforcedPolicies(Consumer<ListAgentEnforcedPoliciesRequest.Builder> listAgentEnforcedPoliciesRequest) Lists the agent-enforced policies that you can use, including policies that Amazon owns. This operation is paginated. To get the next page, pass the
NextTokenfrom the previous response.
This is a convenience which creates an instance of the
ListAgentEnforcedPoliciesRequest.Builderavoiding the need to create one manually viaListAgentEnforcedPoliciesRequest.builder()- Parameters:
listAgentEnforcedPoliciesRequest- AConsumerthat will call methods onListAgentEnforcedPoliciesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAgentEnforcedPolicies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentEnforcedPoliciesPaginator
default ListAgentEnforcedPoliciesPublisher listAgentEnforcedPoliciesPaginator(ListAgentEnforcedPoliciesRequest listAgentEnforcedPoliciesRequest) This is a variant of
listAgentEnforcedPolicies(software.amazon.awssdk.services.workspaces.model.ListAgentEnforcedPoliciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListAgentEnforcedPoliciesPublisher publisher = client.listAgentEnforcedPoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListAgentEnforcedPoliciesPublisher publisher = client.listAgentEnforcedPoliciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListAgentEnforcedPoliciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListAgentEnforcedPoliciesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgentEnforcedPolicies(software.amazon.awssdk.services.workspaces.model.ListAgentEnforcedPoliciesRequest)operation.- Parameters:
listAgentEnforcedPoliciesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgentEnforcedPoliciesPaginator
default ListAgentEnforcedPoliciesPublisher listAgentEnforcedPoliciesPaginator(Consumer<ListAgentEnforcedPoliciesRequest.Builder> listAgentEnforcedPoliciesRequest) This is a variant of
listAgentEnforcedPolicies(software.amazon.awssdk.services.workspaces.model.ListAgentEnforcedPoliciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListAgentEnforcedPoliciesPublisher publisher = client.listAgentEnforcedPoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListAgentEnforcedPoliciesPublisher publisher = client.listAgentEnforcedPoliciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListAgentEnforcedPoliciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListAgentEnforcedPoliciesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgentEnforcedPolicies(software.amazon.awssdk.services.workspaces.model.ListAgentEnforcedPoliciesRequest)operation.
This is a convenience which creates an instance of the
ListAgentEnforcedPoliciesRequest.Builderavoiding the need to create one manually viaListAgentEnforcedPoliciesRequest.builder()- Parameters:
listAgentEnforcedPoliciesRequest- AConsumerthat will call methods onListAgentEnforcedPoliciesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgenticConnectors
default CompletableFuture<ListAgenticConnectorsResponse> listAgenticConnectors(ListAgenticConnectorsRequest listAgenticConnectorsRequest) Lists the agentic connectors available to your account, with their activation status. This operation is paginated. To get the next page, pass the
NextTokenfrom the previous response.- Parameters:
listAgenticConnectorsRequest-- Returns:
- A Java Future containing the result of the ListAgenticConnectors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgenticConnectors
default CompletableFuture<ListAgenticConnectorsResponse> listAgenticConnectors(Consumer<ListAgenticConnectorsRequest.Builder> listAgenticConnectorsRequest) Lists the agentic connectors available to your account, with their activation status. This operation is paginated. To get the next page, pass the
NextTokenfrom the previous response.
This is a convenience which creates an instance of the
ListAgenticConnectorsRequest.Builderavoiding the need to create one manually viaListAgenticConnectorsRequest.builder()- Parameters:
listAgenticConnectorsRequest- AConsumerthat will call methods onListAgenticConnectorsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAgenticConnectors operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgenticConnectorsPaginator
default ListAgenticConnectorsPublisher listAgenticConnectorsPaginator(ListAgenticConnectorsRequest listAgenticConnectorsRequest) This is a variant of
listAgenticConnectors(software.amazon.awssdk.services.workspaces.model.ListAgenticConnectorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListAgenticConnectorsPublisher publisher = client.listAgenticConnectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListAgenticConnectorsPublisher publisher = client.listAgenticConnectorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListAgenticConnectorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListAgenticConnectorsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgenticConnectors(software.amazon.awssdk.services.workspaces.model.ListAgenticConnectorsRequest)operation.- Parameters:
listAgenticConnectorsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgenticConnectorsPaginator
default ListAgenticConnectorsPublisher listAgenticConnectorsPaginator(Consumer<ListAgenticConnectorsRequest.Builder> listAgenticConnectorsRequest) This is a variant of
listAgenticConnectors(software.amazon.awssdk.services.workspaces.model.ListAgenticConnectorsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListAgenticConnectorsPublisher publisher = client.listAgenticConnectorsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListAgenticConnectorsPublisher publisher = client.listAgenticConnectorsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListAgenticConnectorsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListAgenticConnectorsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgenticConnectors(software.amazon.awssdk.services.workspaces.model.ListAgenticConnectorsRequest)operation.
This is a convenience which creates an instance of the
ListAgenticConnectorsRequest.Builderavoiding the need to create one manually viaListAgenticConnectorsRequest.builder()- Parameters:
listAgenticConnectorsRequest- AConsumerthat will call methods onListAgenticConnectorsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgenticContexts
default CompletableFuture<ListAgenticContextsResponse> listAgenticContexts(ListAgenticContextsRequest listAgenticContextsRequest) Lists the agentic contexts in your account. This operation is paginated. To get the next page, pass the
NextTokenfrom the previous response.- Parameters:
listAgenticContextsRequest-- Returns:
- A Java Future containing the result of the ListAgenticContexts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgenticContexts
default CompletableFuture<ListAgenticContextsResponse> listAgenticContexts(Consumer<ListAgenticContextsRequest.Builder> listAgenticContextsRequest) Lists the agentic contexts in your account. This operation is paginated. To get the next page, pass the
NextTokenfrom the previous response.
This is a convenience which creates an instance of the
ListAgenticContextsRequest.Builderavoiding the need to create one manually viaListAgenticContextsRequest.builder()- Parameters:
listAgenticContextsRequest- AConsumerthat will call methods onListAgenticContextsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAgenticContexts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgenticContextsPaginator
default ListAgenticContextsPublisher listAgenticContextsPaginator(ListAgenticContextsRequest listAgenticContextsRequest) This is a variant of
listAgenticContexts(software.amazon.awssdk.services.workspaces.model.ListAgenticContextsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListAgenticContextsPublisher publisher = client.listAgenticContextsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListAgenticContextsPublisher publisher = client.listAgenticContextsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListAgenticContextsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListAgenticContextsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgenticContexts(software.amazon.awssdk.services.workspaces.model.ListAgenticContextsRequest)operation.- Parameters:
listAgenticContextsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgenticContextsPaginator
default ListAgenticContextsPublisher listAgenticContextsPaginator(Consumer<ListAgenticContextsRequest.Builder> listAgenticContextsRequest) This is a variant of
listAgenticContexts(software.amazon.awssdk.services.workspaces.model.ListAgenticContextsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListAgenticContextsPublisher publisher = client.listAgenticContextsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListAgenticContextsPublisher publisher = client.listAgenticContextsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListAgenticContextsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListAgenticContextsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgenticContexts(software.amazon.awssdk.services.workspaces.model.ListAgenticContextsRequest)operation.
This is a convenience which creates an instance of the
ListAgenticContextsRequest.Builderavoiding the need to create one manually viaListAgenticContextsRequest.builder()- Parameters:
listAgenticContextsRequest- AConsumerthat will call methods onListAgenticContextsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgenticPersonaConfigurations
default CompletableFuture<ListAgenticPersonaConfigurationsResponse> listAgenticPersonaConfigurations(ListAgenticPersonaConfigurationsRequest listAgenticPersonaConfigurationsRequest) Lists the agentic persona configurations in your account. This operation is paginated. To get the next page, pass the
NextTokenfrom the previous response.- Parameters:
listAgenticPersonaConfigurationsRequest-- Returns:
- A Java Future containing the result of the ListAgenticPersonaConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgenticPersonaConfigurations
default CompletableFuture<ListAgenticPersonaConfigurationsResponse> listAgenticPersonaConfigurations(Consumer<ListAgenticPersonaConfigurationsRequest.Builder> listAgenticPersonaConfigurationsRequest) Lists the agentic persona configurations in your account. This operation is paginated. To get the next page, pass the
NextTokenfrom the previous response.
This is a convenience which creates an instance of the
ListAgenticPersonaConfigurationsRequest.Builderavoiding the need to create one manually viaListAgenticPersonaConfigurationsRequest.builder()- Parameters:
listAgenticPersonaConfigurationsRequest- AConsumerthat will call methods onListAgenticPersonaConfigurationsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAgenticPersonaConfigurations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgenticPersonaConfigurationsPaginator
default ListAgenticPersonaConfigurationsPublisher listAgenticPersonaConfigurationsPaginator(ListAgenticPersonaConfigurationsRequest listAgenticPersonaConfigurationsRequest) This is a variant of
listAgenticPersonaConfigurations(software.amazon.awssdk.services.workspaces.model.ListAgenticPersonaConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListAgenticPersonaConfigurationsPublisher publisher = client.listAgenticPersonaConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListAgenticPersonaConfigurationsPublisher publisher = client.listAgenticPersonaConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListAgenticPersonaConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListAgenticPersonaConfigurationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgenticPersonaConfigurations(software.amazon.awssdk.services.workspaces.model.ListAgenticPersonaConfigurationsRequest)operation.- Parameters:
listAgenticPersonaConfigurationsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAgenticPersonaConfigurationsPaginator
default ListAgenticPersonaConfigurationsPublisher listAgenticPersonaConfigurationsPaginator(Consumer<ListAgenticPersonaConfigurationsRequest.Builder> listAgenticPersonaConfigurationsRequest) This is a variant of
listAgenticPersonaConfigurations(software.amazon.awssdk.services.workspaces.model.ListAgenticPersonaConfigurationsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListAgenticPersonaConfigurationsPublisher publisher = client.listAgenticPersonaConfigurationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListAgenticPersonaConfigurationsPublisher publisher = client.listAgenticPersonaConfigurationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListAgenticPersonaConfigurationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListAgenticPersonaConfigurationsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listAgenticPersonaConfigurations(software.amazon.awssdk.services.workspaces.model.ListAgenticPersonaConfigurationsRequest)operation.
This is a convenience which creates an instance of the
ListAgenticPersonaConfigurationsRequest.Builderavoiding the need to create one manually viaListAgenticPersonaConfigurationsRequest.builder()- Parameters:
listAgenticPersonaConfigurationsRequest- AConsumerthat will call methods onListAgenticPersonaConfigurationsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAvailableManagementCidrRanges
default CompletableFuture<ListAvailableManagementCidrRangesResponse> listAvailableManagementCidrRanges(ListAvailableManagementCidrRangesRequest listAvailableManagementCidrRangesRequest) Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use for the network management interface when you enable Bring Your Own License (BYOL).
This operation can be run only by Amazon Web Services accounts that are enabled for BYOL. If your account isn't enabled for BYOL, you'll receive an
AccessDeniedExceptionerror.The management network interface is connected to a secure Amazon WorkSpaces management network. It is used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to manage the WorkSpace.
- Parameters:
listAvailableManagementCidrRangesRequest-- Returns:
- A Java Future containing the result of the ListAvailableManagementCidrRanges operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listAvailableManagementCidrRanges
default CompletableFuture<ListAvailableManagementCidrRangesResponse> listAvailableManagementCidrRanges(Consumer<ListAvailableManagementCidrRangesRequest.Builder> listAvailableManagementCidrRangesRequest) Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use for the network management interface when you enable Bring Your Own License (BYOL).
This operation can be run only by Amazon Web Services accounts that are enabled for BYOL. If your account isn't enabled for BYOL, you'll receive an
AccessDeniedExceptionerror.The management network interface is connected to a secure Amazon WorkSpaces management network. It is used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to manage the WorkSpace.
This is a convenience which creates an instance of the
ListAvailableManagementCidrRangesRequest.Builderavoiding the need to create one manually viaListAvailableManagementCidrRangesRequest.builder()- Parameters:
listAvailableManagementCidrRangesRequest- AConsumerthat will call methods onListAvailableManagementCidrRangesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListAvailableManagementCidrRanges operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSupportedModels
default CompletableFuture<ListSupportedModelsResponse> listSupportedModels(ListSupportedModelsRequest listSupportedModelsRequest) Lists the models that you can add to your account's model list, sorted by model ID. This operation is paginated. To get the next page, pass the
NextTokenfrom the previous response.- Parameters:
listSupportedModelsRequest-- Returns:
- A Java Future containing the result of the ListSupportedModels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSupportedModels
default CompletableFuture<ListSupportedModelsResponse> listSupportedModels(Consumer<ListSupportedModelsRequest.Builder> listSupportedModelsRequest) Lists the models that you can add to your account's model list, sorted by model ID. This operation is paginated. To get the next page, pass the
NextTokenfrom the previous response.
This is a convenience which creates an instance of the
ListSupportedModelsRequest.Builderavoiding the need to create one manually viaListSupportedModelsRequest.builder()- Parameters:
listSupportedModelsRequest- AConsumerthat will call methods onListSupportedModelsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListSupportedModels operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSupportedModelsPaginator
default ListSupportedModelsPublisher listSupportedModelsPaginator(ListSupportedModelsRequest listSupportedModelsRequest) This is a variant of
listSupportedModels(software.amazon.awssdk.services.workspaces.model.ListSupportedModelsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListSupportedModelsPublisher publisher = client.listSupportedModelsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListSupportedModelsPublisher publisher = client.listSupportedModelsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListSupportedModelsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListSupportedModelsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSupportedModels(software.amazon.awssdk.services.workspaces.model.ListSupportedModelsRequest)operation.- Parameters:
listSupportedModelsRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listSupportedModelsPaginator
default ListSupportedModelsPublisher listSupportedModelsPaginator(Consumer<ListSupportedModelsRequest.Builder> listSupportedModelsRequest) This is a variant of
listSupportedModels(software.amazon.awssdk.services.workspaces.model.ListSupportedModelsRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListSupportedModelsPublisher publisher = client.listSupportedModelsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListSupportedModelsPublisher publisher = client.listSupportedModelsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListSupportedModelsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListSupportedModelsResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listSupportedModels(software.amazon.awssdk.services.workspaces.model.ListSupportedModelsRequest)operation.
This is a convenience which creates an instance of the
ListSupportedModelsRequest.Builderavoiding the need to create one manually viaListSupportedModelsRequest.builder()- Parameters:
listSupportedModelsRequest- AConsumerthat will call methods onListSupportedModelsRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkspaceEnforcedPolicies
default CompletableFuture<ListWorkspaceEnforcedPoliciesResponse> listWorkspaceEnforcedPolicies(ListWorkspaceEnforcedPoliciesRequest listWorkspaceEnforcedPoliciesRequest) Lists the WorkSpace-enforced policies that you can use, including policies that Amazon owns. This operation is paginated. To get the next page, pass the
NextTokenfrom the previous response.- Parameters:
listWorkspaceEnforcedPoliciesRequest-- Returns:
- A Java Future containing the result of the ListWorkspaceEnforcedPolicies operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkspaceEnforcedPolicies
default CompletableFuture<ListWorkspaceEnforcedPoliciesResponse> listWorkspaceEnforcedPolicies(Consumer<ListWorkspaceEnforcedPoliciesRequest.Builder> listWorkspaceEnforcedPoliciesRequest) Lists the WorkSpace-enforced policies that you can use, including policies that Amazon owns. This operation is paginated. To get the next page, pass the
NextTokenfrom the previous response.
This is a convenience which creates an instance of the
ListWorkspaceEnforcedPoliciesRequest.Builderavoiding the need to create one manually viaListWorkspaceEnforcedPoliciesRequest.builder()- Parameters:
listWorkspaceEnforcedPoliciesRequest- AConsumerthat will call methods onListWorkspaceEnforcedPoliciesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ListWorkspaceEnforcedPolicies operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkspaceEnforcedPoliciesPaginator
default ListWorkspaceEnforcedPoliciesPublisher listWorkspaceEnforcedPoliciesPaginator(ListWorkspaceEnforcedPoliciesRequest listWorkspaceEnforcedPoliciesRequest) This is a variant of
listWorkspaceEnforcedPolicies(software.amazon.awssdk.services.workspaces.model.ListWorkspaceEnforcedPoliciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListWorkspaceEnforcedPoliciesPublisher publisher = client.listWorkspaceEnforcedPoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListWorkspaceEnforcedPoliciesPublisher publisher = client.listWorkspaceEnforcedPoliciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListWorkspaceEnforcedPoliciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListWorkspaceEnforcedPoliciesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkspaceEnforcedPolicies(software.amazon.awssdk.services.workspaces.model.ListWorkspaceEnforcedPoliciesRequest)operation.- Parameters:
listWorkspaceEnforcedPoliciesRequest-- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
listWorkspaceEnforcedPoliciesPaginator
default ListWorkspaceEnforcedPoliciesPublisher listWorkspaceEnforcedPoliciesPaginator(Consumer<ListWorkspaceEnforcedPoliciesRequest.Builder> listWorkspaceEnforcedPoliciesRequest) This is a variant of
listWorkspaceEnforcedPolicies(software.amazon.awssdk.services.workspaces.model.ListWorkspaceEnforcedPoliciesRequest)operation. The return type is a custom publisher that can be subscribed to request a stream of response pages. SDK will internally handle making service calls for you.When the operation is called, an instance of this class is returned. At this point, no service calls are made yet and so there is no guarantee that the request is valid. If there are errors in your request, you will see the failures only after you start streaming the data. The subscribe method should be called as a request to start streaming data. For more info, see
Publisher.subscribe(org.reactivestreams.Subscriber). Each call to the subscribe method will result in a newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.workspaces.paginators.ListWorkspaceEnforcedPoliciesPublisher publisher = client.listWorkspaceEnforcedPoliciesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.software.amazon.awssdk.services.workspaces.paginators.ListWorkspaceEnforcedPoliciesPublisher publisher = client.listWorkspaceEnforcedPoliciesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.workspaces.model.ListWorkspaceEnforcedPoliciesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.workspaces.model.ListWorkspaceEnforcedPoliciesResponse response) { //... }; });Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listWorkspaceEnforcedPolicies(software.amazon.awssdk.services.workspaces.model.ListWorkspaceEnforcedPoliciesRequest)operation.
This is a convenience which creates an instance of the
ListWorkspaceEnforcedPoliciesRequest.Builderavoiding the need to create one manually viaListWorkspaceEnforcedPoliciesRequest.builder()- Parameters:
listWorkspaceEnforcedPoliciesRequest- AConsumerthat will call methods onListWorkspaceEnforcedPoliciesRequest.Builderto create a request.- Returns:
- A custom publisher that can be subscribed to request a stream of response pages.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
migrateWorkspace
default CompletableFuture<MigrateWorkspaceResponse> migrateWorkspace(MigrateWorkspaceRequest migrateWorkspaceRequest) Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume.
The migration process recreates the WorkSpace by using a new root volume from the target bundle image and the user volume from the last available snapshot of the original WorkSpace. During migration, the original
D:\Users\%USERNAME%user profile folder is renamed toD:\Users\%USERNAME%MMddyyTHHmmss%.NotMigrated. A newD:\Users\%USERNAME%\folder is generated by the new OS. Certain files in the old user profile are moved to the new user profile.For available migration scenarios, details about what happens during migration, and best practices, see Migrate a WorkSpace.
If the source WorkSpace has nested virtualization enabled and the target bundle does not support nested virtualization, the migration fails.
- Parameters:
migrateWorkspaceRequest-- Returns:
- A Java Future containing the result of the MigrateWorkspace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- OperationNotSupportedException This operation is not supported.
- OperationInProgressException The properties of this WorkSpace are currently being modified. Try again in a moment.
- ResourceUnavailableException The specified resource is not available.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
migrateWorkspace
default CompletableFuture<MigrateWorkspaceResponse> migrateWorkspace(Consumer<MigrateWorkspaceRequest.Builder> migrateWorkspaceRequest) Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume.
The migration process recreates the WorkSpace by using a new root volume from the target bundle image and the user volume from the last available snapshot of the original WorkSpace. During migration, the original
D:\Users\%USERNAME%user profile folder is renamed toD:\Users\%USERNAME%MMddyyTHHmmss%.NotMigrated. A newD:\Users\%USERNAME%\folder is generated by the new OS. Certain files in the old user profile are moved to the new user profile.For available migration scenarios, details about what happens during migration, and best practices, see Migrate a WorkSpace.
If the source WorkSpace has nested virtualization enabled and the target bundle does not support nested virtualization, the migration fails.
This is a convenience which creates an instance of the
MigrateWorkspaceRequest.Builderavoiding the need to create one manually viaMigrateWorkspaceRequest.builder()- Parameters:
migrateWorkspaceRequest- AConsumerthat will call methods onMigrateWorkspaceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the MigrateWorkspace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- OperationNotSupportedException This operation is not supported.
- OperationInProgressException The properties of this WorkSpace are currently being modified. Try again in a moment.
- ResourceUnavailableException The specified resource is not available.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyAccount
default CompletableFuture<ModifyAccountResponse> modifyAccount(ModifyAccountRequest modifyAccountRequest) Modifies the configuration of Bring Your Own License (BYOL) for the specified account.
- Parameters:
modifyAccountRequest-- Returns:
- A Java Future containing the result of the ModifyAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- ResourceUnavailableException The specified resource is not available.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyAccount
default CompletableFuture<ModifyAccountResponse> modifyAccount(Consumer<ModifyAccountRequest.Builder> modifyAccountRequest) Modifies the configuration of Bring Your Own License (BYOL) for the specified account.
This is a convenience which creates an instance of the
ModifyAccountRequest.Builderavoiding the need to create one manually viaModifyAccountRequest.builder()- Parameters:
modifyAccountRequest- AConsumerthat will call methods onModifyAccountRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ModifyAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- ResourceUnavailableException The specified resource is not available.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyCertificateBasedAuthProperties
default CompletableFuture<ModifyCertificateBasedAuthPropertiesResponse> modifyCertificateBasedAuthProperties(ModifyCertificateBasedAuthPropertiesRequest modifyCertificateBasedAuthPropertiesRequest) Modifies the properties of the certificate-based authentication you want to use with your WorkSpaces.
- Parameters:
modifyCertificateBasedAuthPropertiesRequest-- Returns:
- A Java Future containing the result of the ModifyCertificateBasedAuthProperties operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyCertificateBasedAuthProperties
default CompletableFuture<ModifyCertificateBasedAuthPropertiesResponse> modifyCertificateBasedAuthProperties(Consumer<ModifyCertificateBasedAuthPropertiesRequest.Builder> modifyCertificateBasedAuthPropertiesRequest) Modifies the properties of the certificate-based authentication you want to use with your WorkSpaces.
This is a convenience which creates an instance of the
ModifyCertificateBasedAuthPropertiesRequest.Builderavoiding the need to create one manually viaModifyCertificateBasedAuthPropertiesRequest.builder()- Parameters:
modifyCertificateBasedAuthPropertiesRequest- AConsumerthat will call methods onModifyCertificateBasedAuthPropertiesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ModifyCertificateBasedAuthProperties operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyClientProperties
default CompletableFuture<ModifyClientPropertiesResponse> modifyClientProperties(ModifyClientPropertiesRequest modifyClientPropertiesRequest) Modifies the properties of the specified Amazon WorkSpaces clients.
- Parameters:
modifyClientPropertiesRequest-- Returns:
- A Java Future containing the result of the ModifyClientProperties operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyClientProperties
default CompletableFuture<ModifyClientPropertiesResponse> modifyClientProperties(Consumer<ModifyClientPropertiesRequest.Builder> modifyClientPropertiesRequest) Modifies the properties of the specified Amazon WorkSpaces clients.
This is a convenience which creates an instance of the
ModifyClientPropertiesRequest.Builderavoiding the need to create one manually viaModifyClientPropertiesRequest.builder()- Parameters:
modifyClientPropertiesRequest- AConsumerthat will call methods onModifyClientPropertiesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ModifyClientProperties operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyEndpointEncryptionMode
default CompletableFuture<ModifyEndpointEncryptionModeResponse> modifyEndpointEncryptionMode(ModifyEndpointEncryptionModeRequest modifyEndpointEncryptionModeRequest) Modifies the endpoint encryption mode that allows you to configure the specified directory between Standard TLS and FIPS 140-2 validated mode.
- Parameters:
modifyEndpointEncryptionModeRequest-- Returns:
- A Java Future containing the result of the ModifyEndpointEncryptionMode operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyEndpointEncryptionMode
default CompletableFuture<ModifyEndpointEncryptionModeResponse> modifyEndpointEncryptionMode(Consumer<ModifyEndpointEncryptionModeRequest.Builder> modifyEndpointEncryptionModeRequest) Modifies the endpoint encryption mode that allows you to configure the specified directory between Standard TLS and FIPS 140-2 validated mode.
This is a convenience which creates an instance of the
ModifyEndpointEncryptionModeRequest.Builderavoiding the need to create one manually viaModifyEndpointEncryptionModeRequest.builder()- Parameters:
modifyEndpointEncryptionModeRequest- AConsumerthat will call methods onModifyEndpointEncryptionModeRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ModifyEndpointEncryptionMode operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifySamlProperties
default CompletableFuture<ModifySamlPropertiesResponse> modifySamlProperties(ModifySamlPropertiesRequest modifySamlPropertiesRequest) Modifies multiple properties related to SAML 2.0 authentication, including the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.
- Parameters:
modifySamlPropertiesRequest-- Returns:
- A Java Future containing the result of the ModifySamlProperties operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifySamlProperties
default CompletableFuture<ModifySamlPropertiesResponse> modifySamlProperties(Consumer<ModifySamlPropertiesRequest.Builder> modifySamlPropertiesRequest) Modifies multiple properties related to SAML 2.0 authentication, including the enablement status, user access URL, and relay state parameter name that are used for configuring federation with an SAML 2.0 identity provider.
This is a convenience which creates an instance of the
ModifySamlPropertiesRequest.Builderavoiding the need to create one manually viaModifySamlPropertiesRequest.builder()- Parameters:
modifySamlPropertiesRequest- AConsumerthat will call methods onModifySamlPropertiesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ModifySamlProperties operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- ResourceNotFoundException The resource could not be found.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifySelfservicePermissions
default CompletableFuture<ModifySelfservicePermissionsResponse> modifySelfservicePermissions(ModifySelfservicePermissionsRequest modifySelfservicePermissionsRequest) Modifies the self-service WorkSpace management capabilities for your users. For more information, see Enable Self-Service WorkSpace Management Capabilities for Your Users.
- Parameters:
modifySelfservicePermissionsRequest-- Returns:
- A Java Future containing the result of the ModifySelfservicePermissions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifySelfservicePermissions
default CompletableFuture<ModifySelfservicePermissionsResponse> modifySelfservicePermissions(Consumer<ModifySelfservicePermissionsRequest.Builder> modifySelfservicePermissionsRequest) Modifies the self-service WorkSpace management capabilities for your users. For more information, see Enable Self-Service WorkSpace Management Capabilities for Your Users.
This is a convenience which creates an instance of the
ModifySelfservicePermissionsRequest.Builderavoiding the need to create one manually viaModifySelfservicePermissionsRequest.builder()- Parameters:
modifySelfservicePermissionsRequest- AConsumerthat will call methods onModifySelfservicePermissionsRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ModifySelfservicePermissions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyStreamingProperties
default CompletableFuture<ModifyStreamingPropertiesResponse> modifyStreamingProperties(ModifyStreamingPropertiesRequest modifyStreamingPropertiesRequest) Modifies the specified streaming properties.
- Parameters:
modifyStreamingPropertiesRequest-- Returns:
- A Java Future containing the result of the ModifyStreamingProperties operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyStreamingProperties
default CompletableFuture<ModifyStreamingPropertiesResponse> modifyStreamingProperties(Consumer<ModifyStreamingPropertiesRequest.Builder> modifyStreamingPropertiesRequest) Modifies the specified streaming properties.
This is a convenience which creates an instance of the
ModifyStreamingPropertiesRequest.Builderavoiding the need to create one manually viaModifyStreamingPropertiesRequest.builder()- Parameters:
modifyStreamingPropertiesRequest- AConsumerthat will call methods onModifyStreamingPropertiesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ModifyStreamingProperties operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyWorkspaceAccessProperties
default CompletableFuture<ModifyWorkspaceAccessPropertiesResponse> modifyWorkspaceAccessProperties(ModifyWorkspaceAccessPropertiesRequest modifyWorkspaceAccessPropertiesRequest) Specifies which devices and operating systems users can use to access their WorkSpaces. For more information, see Control Device Access.
- Parameters:
modifyWorkspaceAccessPropertiesRequest-- Returns:
- A Java Future containing the result of the ModifyWorkspaceAccessProperties operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidParameterCombinationException Two or more of the selected parameter values cannot be used together.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyWorkspaceAccessProperties
default CompletableFuture<ModifyWorkspaceAccessPropertiesResponse> modifyWorkspaceAccessProperties(Consumer<ModifyWorkspaceAccessPropertiesRequest.Builder> modifyWorkspaceAccessPropertiesRequest) Specifies which devices and operating systems users can use to access their WorkSpaces. For more information, see Control Device Access.
This is a convenience which creates an instance of the
ModifyWorkspaceAccessPropertiesRequest.Builderavoiding the need to create one manually viaModifyWorkspaceAccessPropertiesRequest.builder()- Parameters:
modifyWorkspaceAccessPropertiesRequest- AConsumerthat will call methods onModifyWorkspaceAccessPropertiesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ModifyWorkspaceAccessProperties operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidParameterCombinationException Two or more of the selected parameter values cannot be used together.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyWorkspaceCreationProperties
default CompletableFuture<ModifyWorkspaceCreationPropertiesResponse> modifyWorkspaceCreationProperties(ModifyWorkspaceCreationPropertiesRequest modifyWorkspaceCreationPropertiesRequest) Modify the default properties used to create WorkSpaces.
- Parameters:
modifyWorkspaceCreationPropertiesRequest-- Returns:
- A Java Future containing the result of the ModifyWorkspaceCreationProperties operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyWorkspaceCreationProperties
default CompletableFuture<ModifyWorkspaceCreationPropertiesResponse> modifyWorkspaceCreationProperties(Consumer<ModifyWorkspaceCreationPropertiesRequest.Builder> modifyWorkspaceCreationPropertiesRequest) Modify the default properties used to create WorkSpaces.
This is a convenience which creates an instance of the
ModifyWorkspaceCreationPropertiesRequest.Builderavoiding the need to create one manually viaModifyWorkspaceCreationPropertiesRequest.builder()- Parameters:
modifyWorkspaceCreationPropertiesRequest- AConsumerthat will call methods onModifyWorkspaceCreationPropertiesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ModifyWorkspaceCreationProperties operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyWorkspaceProperties
default CompletableFuture<ModifyWorkspacePropertiesResponse> modifyWorkspaceProperties(ModifyWorkspacePropertiesRequest modifyWorkspacePropertiesRequest) Modifies the specified WorkSpace properties. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
The
MANUALrunning mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.- Parameters:
modifyWorkspacePropertiesRequest-- Returns:
- A Java Future containing the result of the ModifyWorkspaceProperties operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- OperationInProgressException The properties of this WorkSpace are currently being modified. Try again in a moment.
- UnsupportedWorkspaceConfigurationException The configuration of this WorkSpace is not supported for this operation. For more information, see Required Configuration and Service Components for WorkSpaces .
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- ResourceUnavailableException The specified resource is not available.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyWorkspaceProperties
default CompletableFuture<ModifyWorkspacePropertiesResponse> modifyWorkspaceProperties(Consumer<ModifyWorkspacePropertiesRequest.Builder> modifyWorkspacePropertiesRequest) Modifies the specified WorkSpace properties. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
The
MANUALrunning mode value is only supported by Amazon WorkSpaces Core. Contact your account team to be allow-listed to use this value. For more information, see Amazon WorkSpaces Core.
This is a convenience which creates an instance of the
ModifyWorkspacePropertiesRequest.Builderavoiding the need to create one manually viaModifyWorkspacePropertiesRequest.builder()- Parameters:
modifyWorkspacePropertiesRequest- AConsumerthat will call methods onModifyWorkspacePropertiesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ModifyWorkspaceProperties operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- OperationInProgressException The properties of this WorkSpace are currently being modified. Try again in a moment.
- UnsupportedWorkspaceConfigurationException The configuration of this WorkSpace is not supported for this operation. For more information, see Required Configuration and Service Components for WorkSpaces .
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- ResourceUnavailableException The specified resource is not available.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyWorkspaceState
default CompletableFuture<ModifyWorkspaceStateResponse> modifyWorkspaceState(ModifyWorkspaceStateRequest modifyWorkspaceStateRequest) Sets the state of the specified WorkSpace.
To maintain a WorkSpace without being interrupted, set the WorkSpace state to
ADMIN_MAINTENANCE. WorkSpaces in this state do not respond to requests to reboot, stop, start, rebuild, or restore. An AutoStop WorkSpace in this state is not stopped. Users cannot log into a WorkSpace in theADMIN_MAINTENANCEstate.- Parameters:
modifyWorkspaceStateRequest-- Returns:
- A Java Future containing the result of the ModifyWorkspaceState operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
modifyWorkspaceState
default CompletableFuture<ModifyWorkspaceStateResponse> modifyWorkspaceState(Consumer<ModifyWorkspaceStateRequest.Builder> modifyWorkspaceStateRequest) Sets the state of the specified WorkSpace.
To maintain a WorkSpace without being interrupted, set the WorkSpace state to
ADMIN_MAINTENANCE. WorkSpaces in this state do not respond to requests to reboot, stop, start, rebuild, or restore. An AutoStop WorkSpace in this state is not stopped. Users cannot log into a WorkSpace in theADMIN_MAINTENANCEstate.
This is a convenience which creates an instance of the
ModifyWorkspaceStateRequest.Builderavoiding the need to create one manually viaModifyWorkspaceStateRequest.builder()- Parameters:
modifyWorkspaceStateRequest- AConsumerthat will call methods onModifyWorkspaceStateRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the ModifyWorkspaceState operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rebootWorkspaces
default CompletableFuture<RebootWorkspacesResponse> rebootWorkspaces(RebootWorkspacesRequest rebootWorkspacesRequest) Reboots the specified WorkSpaces.
You cannot reboot a WorkSpace unless its state is
AVAILABLE,UNHEALTHY, orREBOOTING. Reboot a WorkSpace in theREBOOTINGstate only if your WorkSpace has been stuck in theREBOOTINGstate for over 20 minutes.This operation is asynchronous and returns before the WorkSpaces have rebooted.
- Parameters:
rebootWorkspacesRequest-- Returns:
- A Java Future containing the result of the RebootWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rebootWorkspaces
default CompletableFuture<RebootWorkspacesResponse> rebootWorkspaces(Consumer<RebootWorkspacesRequest.Builder> rebootWorkspacesRequest) Reboots the specified WorkSpaces.
You cannot reboot a WorkSpace unless its state is
AVAILABLE,UNHEALTHY, orREBOOTING. Reboot a WorkSpace in theREBOOTINGstate only if your WorkSpace has been stuck in theREBOOTINGstate for over 20 minutes.This operation is asynchronous and returns before the WorkSpaces have rebooted.
This is a convenience which creates an instance of the
RebootWorkspacesRequest.Builderavoiding the need to create one manually viaRebootWorkspacesRequest.builder()- Parameters:
rebootWorkspacesRequest- AConsumerthat will call methods onRebootWorkspacesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RebootWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rebuildWorkspaces
default CompletableFuture<RebuildWorkspacesResponse> rebuildWorkspaces(RebuildWorkspacesRequest rebuildWorkspacesRequest) Rebuilds the specified WorkSpace.
You cannot rebuild a WorkSpace unless its state is
AVAILABLE,ERROR,UNHEALTHY,STOPPED, orREBOOTING.Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Rebuild a WorkSpace.
This operation is asynchronous and returns before the WorkSpaces have been completely rebuilt.
- Parameters:
rebuildWorkspacesRequest-- Returns:
- A Java Future containing the result of the RebuildWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rebuildWorkspaces
default CompletableFuture<RebuildWorkspacesResponse> rebuildWorkspaces(Consumer<RebuildWorkspacesRequest.Builder> rebuildWorkspacesRequest) Rebuilds the specified WorkSpace.
You cannot rebuild a WorkSpace unless its state is
AVAILABLE,ERROR,UNHEALTHY,STOPPED, orREBOOTING.Rebuilding a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Rebuild a WorkSpace.
This operation is asynchronous and returns before the WorkSpaces have been completely rebuilt.
This is a convenience which creates an instance of the
RebuildWorkspacesRequest.Builderavoiding the need to create one manually viaRebuildWorkspacesRequest.builder()- Parameters:
rebuildWorkspacesRequest- AConsumerthat will call methods onRebuildWorkspacesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RebuildWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerWorkspaceDirectory
default CompletableFuture<RegisterWorkspaceDirectoryResponse> registerWorkspaceDirectory(RegisterWorkspaceDirectoryRequest registerWorkspaceDirectoryRequest) Registers the specified directory. This operation is asynchronous and returns before the WorkSpace directory is registered. If this is the first time you are registering a directory, you will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see Creating the workspaces_DefaultRole Role.
- Parameters:
registerWorkspaceDirectoryRequest-- Returns:
- A Java Future containing the result of the RegisterWorkspaceDirectory operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceLimitExceededException Your resource limits have been exceeded.
- AccessDeniedException The user is not authorized to access a resource.
- WorkspacesDefaultRoleNotFoundException The workspaces_DefaultRole role could not be found. If this is the first time you are registering a directory, you will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see Creating the workspaces_DefaultRole Role.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- UnsupportedNetworkConfigurationException The configuration of this network is not supported for this operation, or your network configuration conflicts with the Amazon WorkSpaces management network IP range. For more information, see Configure a VPC for Amazon WorkSpaces.
- OperationNotSupportedException This operation is not supported.
- ResourceAlreadyExistsException The specified resource already exists.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
registerWorkspaceDirectory
default CompletableFuture<RegisterWorkspaceDirectoryResponse> registerWorkspaceDirectory(Consumer<RegisterWorkspaceDirectoryRequest.Builder> registerWorkspaceDirectoryRequest) Registers the specified directory. This operation is asynchronous and returns before the WorkSpace directory is registered. If this is the first time you are registering a directory, you will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see Creating the workspaces_DefaultRole Role.
This is a convenience which creates an instance of the
RegisterWorkspaceDirectoryRequest.Builderavoiding the need to create one manually viaRegisterWorkspaceDirectoryRequest.builder()- Parameters:
registerWorkspaceDirectoryRequest- AConsumerthat will call methods onRegisterWorkspaceDirectoryRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RegisterWorkspaceDirectory operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceLimitExceededException Your resource limits have been exceeded.
- AccessDeniedException The user is not authorized to access a resource.
- WorkspacesDefaultRoleNotFoundException The workspaces_DefaultRole role could not be found. If this is the first time you are registering a directory, you will need to create the workspaces_DefaultRole role before you can register a directory. For more information, see Creating the workspaces_DefaultRole Role.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- UnsupportedNetworkConfigurationException The configuration of this network is not supported for this operation, or your network configuration conflicts with the Amazon WorkSpaces management network IP range. For more information, see Configure a VPC for Amazon WorkSpaces.
- OperationNotSupportedException This operation is not supported.
- ResourceAlreadyExistsException The specified resource already exists.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rejectAccountLinkInvitation
default CompletableFuture<RejectAccountLinkInvitationResponse> rejectAccountLinkInvitation(RejectAccountLinkInvitationRequest rejectAccountLinkInvitationRequest) Rejects the account link invitation.
- Parameters:
rejectAccountLinkInvitationRequest-- Returns:
- A Java Future containing the result of the RejectAccountLinkInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- InternalServerException An unexpected server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
rejectAccountLinkInvitation
default CompletableFuture<RejectAccountLinkInvitationResponse> rejectAccountLinkInvitation(Consumer<RejectAccountLinkInvitationRequest.Builder> rejectAccountLinkInvitationRequest) Rejects the account link invitation.
This is a convenience which creates an instance of the
RejectAccountLinkInvitationRequest.Builderavoiding the need to create one manually viaRejectAccountLinkInvitationRequest.builder()- Parameters:
rejectAccountLinkInvitationRequest- AConsumerthat will call methods onRejectAccountLinkInvitationRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RejectAccountLinkInvitation operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- InternalServerException An unexpected server error occurred. Retry your request.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
restoreWorkspace
default CompletableFuture<RestoreWorkspaceResponse> restoreWorkspace(RestoreWorkspaceRequest restoreWorkspaceRequest) Restores the specified WorkSpace to its last known healthy state.
You cannot restore a WorkSpace unless its state is
AVAILABLE,ERROR,UNHEALTHY, orSTOPPED.Restoring a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Restore a WorkSpace.
This operation is asynchronous and returns before the WorkSpace is completely restored.
- Parameters:
restoreWorkspaceRequest-- Returns:
- A Java Future containing the result of the RestoreWorkspace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
restoreWorkspace
default CompletableFuture<RestoreWorkspaceResponse> restoreWorkspace(Consumer<RestoreWorkspaceRequest.Builder> restoreWorkspaceRequest) Restores the specified WorkSpace to its last known healthy state.
You cannot restore a WorkSpace unless its state is
AVAILABLE,ERROR,UNHEALTHY, orSTOPPED.Restoring a WorkSpace is a potentially destructive action that can result in the loss of data. For more information, see Restore a WorkSpace.
This operation is asynchronous and returns before the WorkSpace is completely restored.
This is a convenience which creates an instance of the
RestoreWorkspaceRequest.Builderavoiding the need to create one manually viaRestoreWorkspaceRequest.builder()- Parameters:
restoreWorkspaceRequest- AConsumerthat will call methods onRestoreWorkspaceRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RestoreWorkspace operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeIpRules
default CompletableFuture<RevokeIpRulesResponse> revokeIpRules(RevokeIpRulesRequest revokeIpRulesRequest) Removes one or more rules from the specified IP access control group.
- Parameters:
revokeIpRulesRequest-- Returns:
- A Java Future containing the result of the RevokeIpRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
revokeIpRules
default CompletableFuture<RevokeIpRulesResponse> revokeIpRules(Consumer<RevokeIpRulesRequest.Builder> revokeIpRulesRequest) Removes one or more rules from the specified IP access control group.
This is a convenience which creates an instance of the
RevokeIpRulesRequest.Builderavoiding the need to create one manually viaRevokeIpRulesRequest.builder()- Parameters:
revokeIpRulesRequest- AConsumerthat will call methods onRevokeIpRulesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the RevokeIpRules operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startAgenticAccountSetup
default CompletableFuture<StartAgenticAccountSetupResponse> startAgenticAccountSetup(StartAgenticAccountSetupRequest startAgenticAccountSetupRequest) Starts setting up Agentic WorkSpaces for your account in the current Region. Setup is asynchronous. To track its progress, call
GetAgenticAccountSetup. If setup fails, this operation doesn't return an error. Instead,GetAgenticAccountSetupreturns theSETUP_FAILEDstatus.- Parameters:
startAgenticAccountSetupRequest-- Returns:
- A Java Future containing the result of the StartAgenticAccountSetup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startAgenticAccountSetup
default CompletableFuture<StartAgenticAccountSetupResponse> startAgenticAccountSetup(Consumer<StartAgenticAccountSetupRequest.Builder> startAgenticAccountSetupRequest) Starts setting up Agentic WorkSpaces for your account in the current Region. Setup is asynchronous. To track its progress, call
GetAgenticAccountSetup. If setup fails, this operation doesn't return an error. Instead,GetAgenticAccountSetupreturns theSETUP_FAILEDstatus.
This is a convenience which creates an instance of the
StartAgenticAccountSetupRequest.Builderavoiding the need to create one manually viaStartAgenticAccountSetupRequest.builder()- Parameters:
startAgenticAccountSetupRequest- AConsumerthat will call methods onStartAgenticAccountSetupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartAgenticAccountSetup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startWorkspaces
default CompletableFuture<StartWorkspacesResponse> startWorkspaces(StartWorkspacesRequest startWorkspacesRequest) Starts the specified WorkSpaces.
You cannot start a WorkSpace unless it has a running mode of
AutoStoporManualand a state ofSTOPPED.- Parameters:
startWorkspacesRequest-- Returns:
- A Java Future containing the result of the StartWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startWorkspaces
default CompletableFuture<StartWorkspacesResponse> startWorkspaces(Consumer<StartWorkspacesRequest.Builder> startWorkspacesRequest) Starts the specified WorkSpaces.
You cannot start a WorkSpace unless it has a running mode of
AutoStoporManualand a state ofSTOPPED.
This is a convenience which creates an instance of the
StartWorkspacesRequest.Builderavoiding the need to create one manually viaStartWorkspacesRequest.builder()- Parameters:
startWorkspacesRequest- AConsumerthat will call methods onStartWorkspacesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startWorkspacesPool
default CompletableFuture<StartWorkspacesPoolResponse> startWorkspacesPool(StartWorkspacesPoolRequest startWorkspacesPoolRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Starts the specified pool.
You cannot start a pool unless it has a running mode of
AutoStopand a state ofSTOPPED.- Parameters:
startWorkspacesPoolRequest-- Returns:
- A Java Future containing the result of the StartWorkspacesPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- OperationInProgressException The properties of this WorkSpace are currently being modified. Try again in a moment.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
startWorkspacesPool
default CompletableFuture<StartWorkspacesPoolResponse> startWorkspacesPool(Consumer<StartWorkspacesPoolRequest.Builder> startWorkspacesPoolRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Starts the specified pool.
You cannot start a pool unless it has a running mode of
AutoStopand a state ofSTOPPED.
This is a convenience which creates an instance of the
StartWorkspacesPoolRequest.Builderavoiding the need to create one manually viaStartWorkspacesPoolRequest.builder()- Parameters:
startWorkspacesPoolRequest- AConsumerthat will call methods onStartWorkspacesPoolRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StartWorkspacesPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- OperationInProgressException The properties of this WorkSpace are currently being modified. Try again in a moment.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopWorkspaces
default CompletableFuture<StopWorkspacesResponse> stopWorkspaces(StopWorkspacesRequest stopWorkspacesRequest) Stops the specified WorkSpaces.
You cannot stop a WorkSpace unless it has a running mode of
AutoStoporManualand a state ofAVAILABLE,IMPAIRED,UNHEALTHY, orERROR.- Parameters:
stopWorkspacesRequest-- Returns:
- A Java Future containing the result of the StopWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopWorkspaces
default CompletableFuture<StopWorkspacesResponse> stopWorkspaces(Consumer<StopWorkspacesRequest.Builder> stopWorkspacesRequest) Stops the specified WorkSpaces.
You cannot stop a WorkSpace unless it has a running mode of
AutoStoporManualand a state ofAVAILABLE,IMPAIRED,UNHEALTHY, orERROR.
This is a convenience which creates an instance of the
StopWorkspacesRequest.Builderavoiding the need to create one manually viaStopWorkspacesRequest.builder()- Parameters:
stopWorkspacesRequest- AConsumerthat will call methods onStopWorkspacesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopWorkspacesPool
default CompletableFuture<StopWorkspacesPoolResponse> stopWorkspacesPool(StopWorkspacesPoolRequest stopWorkspacesPoolRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Stops the specified pool.
You cannot stop a WorkSpace pool unless it has a running mode of
AutoStopand a state ofAVAILABLE,IMPAIRED,UNHEALTHY, orERROR.- Parameters:
stopWorkspacesPoolRequest-- Returns:
- A Java Future containing the result of the StopWorkspacesPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- ResourceNotFoundException The resource could not be found.
- OperationInProgressException The properties of this WorkSpace are currently being modified. Try again in a moment.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
stopWorkspacesPool
default CompletableFuture<StopWorkspacesPoolResponse> stopWorkspacesPool(Consumer<StopWorkspacesPoolRequest.Builder> stopWorkspacesPoolRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Stops the specified pool.
You cannot stop a WorkSpace pool unless it has a running mode of
AutoStopand a state ofAVAILABLE,IMPAIRED,UNHEALTHY, orERROR.
This is a convenience which creates an instance of the
StopWorkspacesPoolRequest.Builderavoiding the need to create one manually viaStopWorkspacesPoolRequest.builder()- Parameters:
stopWorkspacesPoolRequest- AConsumerthat will call methods onStopWorkspacesPoolRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the StopWorkspacesPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- ResourceNotFoundException The resource could not be found.
- OperationInProgressException The properties of this WorkSpace are currently being modified. Try again in a moment.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
terminateWorkspaces
default CompletableFuture<TerminateWorkspacesResponse> terminateWorkspaces(TerminateWorkspacesRequest terminateWorkspacesRequest) Terminates the specified WorkSpaces.
Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is destroyed. If you need to archive any user data, contact Amazon Web Services Support before terminating the WorkSpace.
You can terminate a WorkSpace that is in any state except
SUSPENDED.This operation is asynchronous and returns before the WorkSpaces have been completely terminated. After a WorkSpace is terminated, the
TERMINATEDstate is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the Directory Service pricing terms.
To delete empty directories, see Delete the Directory for Your WorkSpaces. If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again.
- Parameters:
terminateWorkspacesRequest-- Returns:
- A Java Future containing the result of the TerminateWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
terminateWorkspaces
default CompletableFuture<TerminateWorkspacesResponse> terminateWorkspaces(Consumer<TerminateWorkspacesRequest.Builder> terminateWorkspacesRequest) Terminates the specified WorkSpaces.
Terminating a WorkSpace is a permanent action and cannot be undone. The user's data is destroyed. If you need to archive any user data, contact Amazon Web Services Support before terminating the WorkSpace.
You can terminate a WorkSpace that is in any state except
SUSPENDED.This operation is asynchronous and returns before the WorkSpaces have been completely terminated. After a WorkSpace is terminated, the
TERMINATEDstate is returned only briefly before the WorkSpace directory metadata is cleaned up, so this state is rarely returned. To confirm that a WorkSpace is terminated, check for the WorkSpace ID by using DescribeWorkSpaces. If the WorkSpace ID isn't returned, then the WorkSpace has been successfully terminated.Simple AD and AD Connector are made available to you free of charge to use with WorkSpaces. If there are no WorkSpaces being used with your Simple AD or AD Connector directory for 30 consecutive days, this directory will be automatically deregistered for use with Amazon WorkSpaces, and you will be charged for this directory as per the Directory Service pricing terms.
To delete empty directories, see Delete the Directory for Your WorkSpaces. If you delete your Simple AD or AD Connector directory, you can always create a new one when you want to start using WorkSpaces again.
This is a convenience which creates an instance of the
TerminateWorkspacesRequest.Builderavoiding the need to create one manually viaTerminateWorkspacesRequest.builder()- Parameters:
terminateWorkspacesRequest- AConsumerthat will call methods onTerminateWorkspacesRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TerminateWorkspaces operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
terminateWorkspacesPool
default CompletableFuture<TerminateWorkspacesPoolResponse> terminateWorkspacesPool(TerminateWorkspacesPoolRequest terminateWorkspacesPoolRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Terminates the specified pool.
- Parameters:
terminateWorkspacesPoolRequest-- Returns:
- A Java Future containing the result of the TerminateWorkspacesPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- ResourceNotFoundException The resource could not be found.
- OperationInProgressException The properties of this WorkSpace are currently being modified. Try again in a moment.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
terminateWorkspacesPool
default CompletableFuture<TerminateWorkspacesPoolResponse> terminateWorkspacesPool(Consumer<TerminateWorkspacesPoolRequest.Builder> terminateWorkspacesPoolRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Terminates the specified pool.
This is a convenience which creates an instance of the
TerminateWorkspacesPoolRequest.Builderavoiding the need to create one manually viaTerminateWorkspacesPoolRequest.builder()- Parameters:
terminateWorkspacesPoolRequest- AConsumerthat will call methods onTerminateWorkspacesPoolRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TerminateWorkspacesPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- ResourceNotFoundException The resource could not be found.
- OperationInProgressException The properties of this WorkSpace are currently being modified. Try again in a moment.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
terminateWorkspacesPoolSession
default CompletableFuture<TerminateWorkspacesPoolSessionResponse> terminateWorkspacesPoolSession(TerminateWorkspacesPoolSessionRequest terminateWorkspacesPoolSessionRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Terminates the pool session.
- Parameters:
terminateWorkspacesPoolSessionRequest-- Returns:
- A Java Future containing the result of the TerminateWorkspacesPoolSession operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- OperationInProgressException The properties of this WorkSpace are currently being modified. Try again in a moment.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
terminateWorkspacesPoolSession
default CompletableFuture<TerminateWorkspacesPoolSessionResponse> terminateWorkspacesPoolSession(Consumer<TerminateWorkspacesPoolSessionRequest.Builder> terminateWorkspacesPoolSessionRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Terminates the pool session.
This is a convenience which creates an instance of the
TerminateWorkspacesPoolSessionRequest.Builderavoiding the need to create one manually viaTerminateWorkspacesPoolSessionRequest.builder()- Parameters:
terminateWorkspacesPoolSessionRequest- AConsumerthat will call methods onTerminateWorkspacesPoolSessionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the TerminateWorkspacesPoolSession operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- OperationNotSupportedException This operation is not supported.
- OperationInProgressException The properties of this WorkSpace are currently being modified. Try again in a moment.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAgenticConnectorActivationStatus
default CompletableFuture<UpdateAgenticConnectorActivationStatusResponse> updateAgenticConnectorActivationStatus(UpdateAgenticConnectorActivationStatusRequest updateAgenticConnectorActivationStatusRequest) Activates or deactivates an agentic connector for your account. Your account setup must be
READYfirst. The change is asynchronous. To track it, check the connector'sActivationStatus. You can repeat the same change safely. An account can have up to 25 activated connectors. If activating a connector would exceed this limit, the operation returnsServiceQuotaExceededException.- Parameters:
updateAgenticConnectorActivationStatusRequest-- Returns:
- A Java Future containing the result of the UpdateAgenticConnectorActivationStatus operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateAgenticConnectorActivationStatus
default CompletableFuture<UpdateAgenticConnectorActivationStatusResponse> updateAgenticConnectorActivationStatus(Consumer<UpdateAgenticConnectorActivationStatusRequest.Builder> updateAgenticConnectorActivationStatusRequest) Activates or deactivates an agentic connector for your account. Your account setup must be
READYfirst. The change is asynchronous. To track it, check the connector'sActivationStatus. You can repeat the same change safely. An account can have up to 25 activated connectors. If activating a connector would exceed this limit, the operation returnsServiceQuotaExceededException.
This is a convenience which creates an instance of the
UpdateAgenticConnectorActivationStatusRequest.Builderavoiding the need to create one manually viaUpdateAgenticConnectorActivationStatusRequest.builder()- Parameters:
updateAgenticConnectorActivationStatusRequest- AConsumerthat will call methods onUpdateAgenticConnectorActivationStatusRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateAgenticConnectorActivationStatus operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ValidationException Your request failed validation. Check the error message for the parameter that isn't valid.
- ResourceNotFoundException The resource could not be found.
- ConflictException The request conflicts with the current state of a resource, for example because a name is already in use or the resource is still in use. Resolve the conflict, and then retry your request.
- ServiceQuotaExceededException The request would exceed a service quota. Request a quota increase or reduce the number of resources in your request.
- AccessDeniedException The user is not authorized to access a resource.
- ThrottlingException The request was throttled. Retry the request with exponential backoff.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateConnectClientAddIn
default CompletableFuture<UpdateConnectClientAddInResponse> updateConnectClientAddIn(UpdateConnectClientAddInRequest updateConnectClientAddInRequest) Updates a Connect Customer client add-in. Use this action to update the name and endpoint URL of a Connect Customer client add-in.
- Parameters:
updateConnectClientAddInRequest-- Returns:
- A Java Future containing the result of the UpdateConnectClientAddIn operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateConnectClientAddIn
default CompletableFuture<UpdateConnectClientAddInResponse> updateConnectClientAddIn(Consumer<UpdateConnectClientAddInRequest.Builder> updateConnectClientAddInRequest) Updates a Connect Customer client add-in. Use this action to update the name and endpoint URL of a Connect Customer client add-in.
This is a convenience which creates an instance of the
UpdateConnectClientAddInRequest.Builderavoiding the need to create one manually viaUpdateConnectClientAddInRequest.builder()- Parameters:
updateConnectClientAddInRequest- AConsumerthat will call methods onUpdateConnectClientAddInRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateConnectClientAddIn operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateConnectionAliasPermission
default CompletableFuture<UpdateConnectionAliasPermissionResponse> updateConnectionAliasPermission(UpdateConnectionAliasPermissionRequest updateConnectionAliasPermissionRequest) Shares or unshares a connection alias with one account by specifying whether that account has permission to associate the connection alias with a directory. If the association permission is granted, the connection alias is shared with that account. If the association permission is revoked, the connection alias is unshared with the account. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
-
Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is
CREATED. -
To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories.
- Parameters:
updateConnectionAliasPermissionRequest-- Returns:
- A Java Future containing the result of the UpdateConnectionAliasPermission operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceNotFoundException The resource could not be found.
- ResourceAssociatedException The resource is associated with a directory.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updateConnectionAliasPermission
default CompletableFuture<UpdateConnectionAliasPermissionResponse> updateConnectionAliasPermission(Consumer<UpdateConnectionAliasPermissionRequest.Builder> updateConnectionAliasPermissionRequest) Shares or unshares a connection alias with one account by specifying whether that account has permission to associate the connection alias with a directory. If the association permission is granted, the connection alias is shared with that account. If the association permission is revoked, the connection alias is unshared with the account. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
-
Before performing this operation, call DescribeConnectionAliases to make sure that the current state of the connection alias is
CREATED. -
To delete a connection alias that has been shared, the shared account must first disassociate the connection alias from any directories it has been associated with. Then you must unshare the connection alias from the account it has been shared with. You can delete a connection alias only after it is no longer shared with any accounts or associated with any directories.
This is a convenience which creates an instance of the
UpdateConnectionAliasPermissionRequest.Builderavoiding the need to create one manually viaUpdateConnectionAliasPermissionRequest.builder()- Parameters:
updateConnectionAliasPermissionRequest- AConsumerthat will call methods onUpdateConnectionAliasPermissionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateConnectionAliasPermission operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceLimitExceededException Your resource limits have been exceeded.
- ResourceNotFoundException The resource could not be found.
- ResourceAssociatedException The resource is associated with a directory.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updateRulesOfIpGroup
default CompletableFuture<UpdateRulesOfIpGroupResponse> updateRulesOfIpGroup(UpdateRulesOfIpGroupRequest updateRulesOfIpGroupRequest) Replaces the current rules of the specified IP access control group with the specified rules.
- Parameters:
updateRulesOfIpGroupRequest-- Returns:
- A Java Future containing the result of the UpdateRulesOfIpGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceLimitExceededException Your resource limits have been exceeded.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateRulesOfIpGroup
default CompletableFuture<UpdateRulesOfIpGroupResponse> updateRulesOfIpGroup(Consumer<UpdateRulesOfIpGroupRequest.Builder> updateRulesOfIpGroupRequest) Replaces the current rules of the specified IP access control group with the specified rules.
This is a convenience which creates an instance of the
UpdateRulesOfIpGroupRequest.Builderavoiding the need to create one manually viaUpdateRulesOfIpGroupRequest.builder()- Parameters:
updateRulesOfIpGroupRequest- AConsumerthat will call methods onUpdateRulesOfIpGroupRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateRulesOfIpGroup operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceLimitExceededException Your resource limits have been exceeded.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateWorkspaceBundle
default CompletableFuture<UpdateWorkspaceBundleResponse> updateWorkspaceBundle(UpdateWorkspaceBundleRequest updateWorkspaceBundleRequest) Updates a WorkSpace bundle with a new image. For more information about updating WorkSpace bundles, see Update a Custom WorkSpaces Bundle.
Existing WorkSpaces aren't automatically updated when you update the bundle that they're based on. To update existing WorkSpaces that are based on a bundle that you've updated, you must either rebuild the WorkSpaces or delete and recreate them.
- Parameters:
updateWorkspaceBundleRequest-- Returns:
- A Java Future containing the result of the UpdateWorkspaceBundle operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceUnavailableException The specified resource is not available.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateWorkspaceBundle
default CompletableFuture<UpdateWorkspaceBundleResponse> updateWorkspaceBundle(Consumer<UpdateWorkspaceBundleRequest.Builder> updateWorkspaceBundleRequest) Updates a WorkSpace bundle with a new image. For more information about updating WorkSpace bundles, see Update a Custom WorkSpaces Bundle.
Existing WorkSpaces aren't automatically updated when you update the bundle that they're based on. To update existing WorkSpaces that are based on a bundle that you've updated, you must either rebuild the WorkSpaces or delete and recreate them.
This is a convenience which creates an instance of the
UpdateWorkspaceBundleRequest.Builderavoiding the need to create one manually viaUpdateWorkspaceBundleRequest.builder()- Parameters:
updateWorkspaceBundleRequest- AConsumerthat will call methods onUpdateWorkspaceBundleRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateWorkspaceBundle operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- ResourceNotFoundException The resource could not be found.
- ResourceUnavailableException The specified resource is not available.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateWorkspaceImagePermission
default CompletableFuture<UpdateWorkspaceImagePermissionResponse> updateWorkspaceImagePermission(UpdateWorkspaceImagePermissionRequest updateWorkspaceImagePermissionRequest) Shares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has permission to copy the image. If the copy image permission is granted, the image is shared with that account. If the copy image permission is revoked, the image is unshared with the account.
After an image has been shared, the recipient account can copy the image to other Regions as needed.
In the China (Ningxia) Region, you can copy images only within the same Region.
In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.
For more information about sharing images, see Share or Unshare a Custom WorkSpaces Image.
-
To delete an image that has been shared, you must unshare the image before you delete it.
-
Sharing Bring Your Own License (BYOL) images across Amazon Web Services accounts isn't supported at this time in Amazon Web Services GovCloud (US). To share BYOL images across accounts in Amazon Web Services GovCloud (US), contact Amazon Web Services Support.
- Parameters:
updateWorkspaceImagePermissionRequest-- Returns:
- A Java Future containing the result of the UpdateWorkspaceImagePermission operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- ResourceUnavailableException The specified resource is not available.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updateWorkspaceImagePermission
default CompletableFuture<UpdateWorkspaceImagePermissionResponse> updateWorkspaceImagePermission(Consumer<UpdateWorkspaceImagePermissionRequest.Builder> updateWorkspaceImagePermissionRequest) Shares or unshares an image with one account in the same Amazon Web Services Region by specifying whether that account has permission to copy the image. If the copy image permission is granted, the image is shared with that account. If the copy image permission is revoked, the image is unshared with the account.
After an image has been shared, the recipient account can copy the image to other Regions as needed.
In the China (Ningxia) Region, you can copy images only within the same Region.
In Amazon Web Services GovCloud (US), to copy images to and from other Regions, contact Amazon Web Services Support.
For more information about sharing images, see Share or Unshare a Custom WorkSpaces Image.
-
To delete an image that has been shared, you must unshare the image before you delete it.
-
Sharing Bring Your Own License (BYOL) images across Amazon Web Services accounts isn't supported at this time in Amazon Web Services GovCloud (US). To share BYOL images across accounts in Amazon Web Services GovCloud (US), contact Amazon Web Services Support.
This is a convenience which creates an instance of the
UpdateWorkspaceImagePermissionRequest.Builderavoiding the need to create one manually viaUpdateWorkspaceImagePermissionRequest.builder()- Parameters:
updateWorkspaceImagePermissionRequest- AConsumerthat will call methods onUpdateWorkspaceImagePermissionRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateWorkspaceImagePermission operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- ResourceNotFoundException The resource could not be found.
- ResourceUnavailableException The specified resource is not available.
- AccessDeniedException The user is not authorized to access a resource.
- InvalidParameterValuesException One or more parameter values are not valid.
- OperationNotSupportedException This operation is not supported.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
-
updateWorkspacesPool
default CompletableFuture<UpdateWorkspacesPoolResponse> updateWorkspacesPool(UpdateWorkspacesPoolRequest updateWorkspacesPoolRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Updates the specified pool.
- Parameters:
updateWorkspacesPoolRequest-- Returns:
- A Java Future containing the result of the UpdateWorkspacesPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- ResourceNotFoundException The resource could not be found.
- ResourceLimitExceededException Your resource limits have been exceeded.
- OperationNotSupportedException This operation is not supported.
- OperationInProgressException The properties of this WorkSpace are currently being modified. Try again in a moment.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
updateWorkspacesPool
default CompletableFuture<UpdateWorkspacesPoolResponse> updateWorkspacesPool(Consumer<UpdateWorkspacesPoolRequest.Builder> updateWorkspacesPoolRequest) End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. After December 31, 2027, you will no longer be able to access the Amazon WorkSpaces Pools console or Amazon WorkSpaces Pools resources. For more information, see Amazon WorkSpaces Pools end of support.
Updates the specified pool.
This is a convenience which creates an instance of the
UpdateWorkspacesPoolRequest.Builderavoiding the need to create one manually viaUpdateWorkspacesPoolRequest.builder()- Parameters:
updateWorkspacesPoolRequest- AConsumerthat will call methods onUpdateWorkspacesPoolRequest.Builderto create a request.- Returns:
- A Java Future containing the result of the UpdateWorkspacesPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- InvalidParameterValuesException One or more parameter values are not valid.
- InvalidResourceStateException The state of the resource is not valid for this operation.
- ResourceNotFoundException The resource could not be found.
- ResourceLimitExceededException Your resource limits have been exceeded.
- OperationNotSupportedException This operation is not supported.
- OperationInProgressException The properties of this WorkSpace are currently being modified. Try again in a moment.
- AccessDeniedException The user is not authorized to access a resource.
- SdkException Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as an IO related failure, failure to get credentials, etc.
- WorkSpacesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aWorkSpacesAsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aWorkSpacesAsyncClient.
-