workspaces function

Amazon WorkSpaces

Amazon WorkSpaces

Amazon WorkSpaces Service

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.

workspaces( config = list(), credentials = list(), endpoint = NULL, region = NULL )

Arguments

  • config: Optional configuration of credentials, endpoint, and/or region.

    • credentials :

      • creds :

        • access_key_id : AWS access key ID
        • secret_access_key : AWS secret access key
        • session_token : AWS temporary session token
      • profile : The name of a profile to use. If not given, then the default profile is used.

      • anonymous : Set anonymous credentials.

    • endpoint : The complete URL to use for the constructed client.

    • region : The AWS Region used in instantiating the client.

    • close_connection : Immediately close all HTTP connections.

    • timeout : The time in seconds till a timeout exception is thrown when attempting to make a connection. The default is 60 seconds.

    • s3_force_path_style : Set this to true to force the request to use path-style addressing, i.e. http://s3.amazonaws.com/BUCKET/KEY.

    • sts_regional_endpoint : Set sts regional endpoint resolver to regional or legacy https://docs.aws.amazon.com/sdkref/latest/guide/feature-sts-regionalized-endpoints.html

  • credentials: Optional credentials shorthand for the config parameter

    • creds :

      • access_key_id : AWS access key ID
      • secret_access_key : AWS secret access key
      • session_token : AWS temporary session token
    • profile : The name of a profile to use. If not given, then the default profile is used.

    • anonymous : Set anonymous credentials.

  • endpoint: Optional shorthand for complete URL to use for the constructed client.

  • region: Optional shorthand for AWS Region used in instantiating the client.

Returns

A client for the service. You can call the service's operations using syntax like svc$operation(...), where svc is the name you've assigned to the client. The available operations are listed in the Operations section.

Service syntax

svc <- workspaces(
  config = list(
    credentials = list(
 creds = list(
   access_key_id = "string",
   secret_access_key = "string",
   session_token = "string"
 ),
 profile = "string",
 anonymous = "logical"
    ),
    endpoint = "string",
    region = "string",
    close_connection = "logical",
    timeout = "numeric",
    s3_force_path_style = "logical",
    sts_regional_endpoint = "string"
  ),
  credentials = list(
    creds = list(
 access_key_id = "string",
 secret_access_key = "string",
 session_token = "string"
    ),
    profile = "string",
    anonymous = "logical"
  ),
  endpoint = "string",
  region = "string"
)

Operations

accept_account_link_invitationAccepts the account link invitation
associate_connection_aliasAssociates the specified connection alias with the specified directory to enable cross-Region redirection
associate_ip_groupsAssociates the specified IP access control group with the specified directory
associate_workspace_applicationAssociates the specified application to the specified WorkSpace
authorize_ip_rulesAdds one or more rules to the specified IP access control group
copy_workspace_imageCopies the specified image from the specified Region to the current Region
create_account_link_invitationCreates the account link invitation
create_connect_client_add_inCreates a client-add-in for Amazon Connect within a directory
create_connection_aliasCreates the specified connection alias for use with cross-Region redirection
create_ip_groupCreates an IP access control group
create_standby_workspacesCreates a standby WorkSpace in a secondary Region
create_tagsCreates the specified tags for the specified WorkSpaces resource
create_updated_workspace_imageCreates a new updated WorkSpace image based on the specified source image
create_workspace_bundleCreates the specified WorkSpace bundle
create_workspace_imageCreates a new WorkSpace image from an existing WorkSpace
create_workspacesCreates one or more WorkSpaces
create_workspaces_poolCreates a pool of WorkSpaces
delete_account_link_invitationDeletes the account link invitation
delete_client_brandingDeletes customized client branding
delete_connect_client_add_inDeletes a client-add-in for Amazon Connect that is configured within a directory
delete_connection_aliasDeletes the specified connection alias
delete_ip_groupDeletes the specified IP access control group
delete_tagsDeletes the specified tags from the specified WorkSpaces resource
delete_workspace_bundleDeletes the specified WorkSpace bundle
delete_workspace_imageDeletes the specified image from your account
deploy_workspace_applicationsDeploys associated applications to the specified WorkSpace
deregister_workspace_directoryDeregisters the specified directory
describe_accountRetrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account
describe_account_modificationsRetrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account
describe_application_associationsDescribes the associations between the application and the specified associated resources
describe_applicationsDescribes the specified applications by filtering based on their compute types, license availability, operating systems, and owners
describe_bundle_associationsDescribes the associations between the applications and the specified bundle
describe_client_brandingDescribes the specified client branding
describe_client_propertiesRetrieves a list that describes one or more specified Amazon WorkSpaces clients
describe_connect_client_add_insRetrieves a list of Amazon Connect client add-ins that have been created
describe_connection_aliasesRetrieves a list that describes the connection aliases used for cross-Region redirection
describe_connection_alias_permissionsDescribes the permissions that the owner of a connection alias has granted to another Amazon Web Services account for the specified connection alias
describe_image_associationsDescribes the associations between the applications and the specified image
describe_ip_groupsDescribes one or more of your IP access control groups
describe_tagsDescribes the specified tags for the specified WorkSpaces resource
describe_workspace_associationsDescribes the associations betweens applications and the specified WorkSpace
describe_workspace_bundlesRetrieves a list that describes the available WorkSpace bundles
describe_workspace_directoriesDescribes the available directories that are registered with Amazon WorkSpaces
describe_workspace_image_permissionsDescribes the permissions that the owner of an image has granted to other Amazon Web Services accounts for an image
describe_workspace_imagesRetrieves a list that describes one or more specified images, if the image identifiers are provided
describe_workspacesDescribes the specified WorkSpaces
describe_workspaces_connection_statusDescribes the connection status of the specified WorkSpaces
describe_workspace_snapshotsDescribes the snapshots for the specified WorkSpace
describe_workspaces_poolsDescribes the specified WorkSpaces Pools
describe_workspaces_pool_sessionsRetrieves a list that describes the streaming sessions for a specified pool
disassociate_connection_aliasDisassociates a connection alias from a directory
disassociate_ip_groupsDisassociates the specified IP access control group from the specified directory
disassociate_workspace_applicationDisassociates the specified application from a WorkSpace
get_account_linkRetrieves account link information
import_client_brandingImports client branding
import_workspace_imageImports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon WorkSpaces
list_account_linksLists all account links
list_available_management_cidr_rangesRetrieves 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)
migrate_workspaceMigrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume
modify_accountModifies the configuration of Bring Your Own License (BYOL) for the specified account
modify_certificate_based_auth_propertiesModifies the properties of the certificate-based authentication you want to use with your WorkSpaces
modify_client_propertiesModifies the properties of the specified Amazon WorkSpaces clients
modify_saml_propertiesModifies multiple properties related to SAML 2
modify_selfservice_permissionsModifies the self-service WorkSpace management capabilities for your users
modify_streaming_propertiesModifies the specified streaming properties
modify_workspace_access_propertiesSpecifies which devices and operating systems users can use to access their WorkSpaces
modify_workspace_creation_propertiesModify the default properties used to create WorkSpaces
modify_workspace_propertiesModifies the specified WorkSpace properties
modify_workspace_stateSets the state of the specified WorkSpace
reboot_workspacesReboots the specified WorkSpaces
rebuild_workspacesRebuilds the specified WorkSpace
register_workspace_directoryRegisters the specified directory
reject_account_link_invitationRejects the account link invitation
restore_workspaceRestores the specified WorkSpace to its last known healthy state
revoke_ip_rulesRemoves one or more rules from the specified IP access control group
start_workspacesStarts the specified WorkSpaces
start_workspaces_poolStarts the specified pool
stop_workspacesStops the specified WorkSpaces
stop_workspaces_poolStops the specified pool
terminate_workspacesTerminates the specified WorkSpaces
terminate_workspaces_poolTerminates the specified pool
terminate_workspaces_pool_sessionTerminates the pool session
update_connect_client_add_inUpdates a Amazon Connect client add-in
update_connection_alias_permissionShares or unshares a connection alias with one account by specifying whether that account has permission to associate the connection alias with a directory
update_rules_of_ip_groupReplaces the current rules of the specified IP access control group with the specified rules
update_workspace_bundleUpdates a WorkSpace bundle with a new image
update_workspace_image_permissionShares 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
update_workspaces_poolUpdates the specified pool

Examples

## Not run: svc <- workspaces() svc$accept_account_link_invitation( Foo = 123 ) ## End(Not run)
  • Maintainer: Dyfan Jones
  • License: Apache License (>= 2.0)
  • Last published: 2025-03-17

Downloads (last 30 days):