Class: Aws::WorkSpaces::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::WorkSpaces::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb
Overview
An API client for WorkSpaces. To construct a client, you need to configure a :region and :credentials.
client = Aws::WorkSpaces::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#accept_account_link_invitation(params = {}) ⇒ Types::AcceptAccountLinkInvitationResult
Accepts the account link invitation.
-
#associate_account_models(params = {}) ⇒ Struct
Adds models from the supported model catalog to your account's model list.
-
#associate_agent_enforced_policy(params = {}) ⇒ Struct
Associates an agent-enforced policy with the specified WorkSpace, replacing its current agent-enforced policy.
-
#associate_connection_alias(params = {}) ⇒ Types::AssociateConnectionAliasResult
Associates the specified connection alias with the specified directory to enable cross-Region redirection.
-
#associate_ip_groups(params = {}) ⇒ Struct
Associates the specified IP access control group with the specified directory.
-
#associate_workspace_agentic_connectors(params = {}) ⇒ Struct
Associates agentic connectors with the specified WorkSpace.
-
#associate_workspace_agentic_contexts(params = {}) ⇒ Struct
Associates agentic contexts with the specified WorkSpace.
-
#associate_workspace_application(params = {}) ⇒ Types::AssociateWorkspaceApplicationResult
Associates the specified application to the specified WorkSpace.
-
#associate_workspace_enforced_policy(params = {}) ⇒ Struct
Associates a WorkSpace-enforced policy with the specified WorkSpace, replacing its current WorkSpace-enforced policy.
-
#associate_workspace_models(params = {}) ⇒ Struct
Associates models with the specified WorkSpace.
-
#authorize_ip_rules(params = {}) ⇒ Struct
Adds one or more rules to the specified IP access control group.
-
#batch_get_agent_enforced_policy(params = {}) ⇒ Types::BatchGetAgentEnforcedPolicyResult
Describes the specified agent-enforced policies.
-
#batch_get_agent_runtime(params = {}) ⇒ Types::BatchGetAgentRuntimeResult
Describes the specified agent runtimes.
-
#batch_get_agentic_connector(params = {}) ⇒ Types::BatchGetAgenticConnectorResult
Describes the specified agentic connectors.
-
#batch_get_agentic_context_metadata(params = {}) ⇒ Types::BatchGetAgenticContextMetadataResult
Describes the specified agentic contexts, without their bodies.
-
#batch_get_agentic_persona_configuration(params = {}) ⇒ Types::BatchGetAgenticPersonaConfigurationResult
Describes the specified agentic persona configurations.
-
#batch_get_model(params = {}) ⇒ Types::BatchGetModelResult
Describes the specified models from the supported model catalog.
-
#batch_get_workspace_enforced_policy(params = {}) ⇒ Types::BatchGetWorkspaceEnforcedPolicyResult
Describes the specified WorkSpace-enforced policies.
-
#copy_workspace_image(params = {}) ⇒ Types::CopyWorkspaceImageResult
Copies the specified image from the specified Region to the current Region.
-
#create_account_link_invitation(params = {}) ⇒ Types::CreateAccountLinkInvitationResult
Creates the account link invitation.
-
#create_agent_enforced_policy(params = {}) ⇒ Types::CreateAgentEnforcedPolicyResult
Creates an agent-enforced policy, which the agent on the WorkSpace applies.
-
#create_agentic_context(params = {}) ⇒ Types::CreateAgenticContextResult
Creates an agentic context, which is Markdown content that the service writes to a file on the WorkSpace for the agent to use.
-
#create_agentic_persona_configuration(params = {}) ⇒ Types::CreateAgenticPersonaConfigurationResult
Creates an Amazon WorkSpaces agentic persona configuration with the specified models, connectors, contexts, and enforced policies.
-
#create_connect_client_add_in(params = {}) ⇒ Types::CreateConnectClientAddInResult
Creates a client-add-in for Connect Customer within a directory.
-
#create_connection_alias(params = {}) ⇒ Types::CreateConnectionAliasResult
Creates the specified connection alias for use with cross-Region redirection.
-
#create_ip_group(params = {}) ⇒ Types::CreateIpGroupResult
Creates an IP access control group.
-
#create_standby_workspaces(params = {}) ⇒ Types::CreateStandbyWorkspacesResult
Creates a standby WorkSpace in a secondary Region.
-
#create_tags(params = {}) ⇒ Struct
Creates the specified tags for the specified WorkSpaces resource.
-
#create_updated_workspace_image(params = {}) ⇒ Types::CreateUpdatedWorkspaceImageResult
Creates a new updated WorkSpace image based on the specified source image.
-
#create_workspace_bundle(params = {}) ⇒ Types::CreateWorkspaceBundleResult
Creates the specified WorkSpace bundle.
-
#create_workspace_enforced_policy(params = {}) ⇒ Types::CreateWorkspaceEnforcedPolicyResult
Creates a WorkSpace-enforced policy, which the WorkSpace applies.
-
#create_workspace_image(params = {}) ⇒ Types::CreateWorkspaceImageResult
Creates a new WorkSpace image from an existing WorkSpace.
-
#create_workspaces(params = {}) ⇒ Types::CreateWorkspacesResult
Creates one or more WorkSpaces.
-
#create_workspaces_pool(params = {}) ⇒ Types::CreateWorkspacesPoolResult
End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. -
#delete_account_link_invitation(params = {}) ⇒ Types::DeleteAccountLinkInvitationResult
Deletes the account link invitation.
-
#delete_agent_enforced_policy(params = {}) ⇒ Struct
Deletes an agent-enforced policy that you created.
-
#delete_agentic_context(params = {}) ⇒ Struct
Deletes an agentic context.
-
#delete_agentic_persona_configuration(params = {}) ⇒ Struct
Deletes an agentic persona configuration.
-
#delete_client_branding(params = {}) ⇒ Struct
Deletes customized client branding.
-
#delete_connect_client_add_in(params = {}) ⇒ Struct
Deletes a client-add-in for Connect Customer that is configured within a directory.
-
#delete_connection_alias(params = {}) ⇒ Struct
Deletes the specified connection alias.
-
#delete_ip_group(params = {}) ⇒ Struct
Deletes the specified IP access control group.
-
#delete_tags(params = {}) ⇒ Struct
Deletes the specified tags from the specified WorkSpaces resource.
-
#delete_workspace_bundle(params = {}) ⇒ Struct
Deletes the specified WorkSpace bundle.
-
#delete_workspace_enforced_policy(params = {}) ⇒ Struct
Deletes a WorkSpace-enforced policy that you created.
-
#delete_workspace_image(params = {}) ⇒ Struct
Deletes the specified image from your account.
-
#deploy_workspace_applications(params = {}) ⇒ Types::DeployWorkspaceApplicationsResult
Deploys associated applications to the specified WorkSpace.
-
#deregister_workspace_directory(params = {}) ⇒ Struct
Deregisters the specified directory.
-
#describe_account(params = {}) ⇒ Types::DescribeAccountResult
Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.
-
#describe_account_modifications(params = {}) ⇒ Types::DescribeAccountModificationsResult
Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account.
-
#describe_application_associations(params = {}) ⇒ Types::DescribeApplicationAssociationsResult
Describes the associations between the application and the specified associated resources.
-
#describe_applications(params = {}) ⇒ Types::DescribeApplicationsResult
Describes the specified applications by filtering based on their compute types, license availability, operating systems, and owners.
-
#describe_bundle_associations(params = {}) ⇒ Types::DescribeBundleAssociationsResult
Describes the associations between the applications and the specified bundle.
-
#describe_client_branding(params = {}) ⇒ Types::DescribeClientBrandingResult
Describes the specified client branding.
-
#describe_client_properties(params = {}) ⇒ Types::DescribeClientPropertiesResult
Retrieves a list that describes one or more specified Amazon WorkSpaces clients.
-
#describe_connect_client_add_ins(params = {}) ⇒ Types::DescribeConnectClientAddInsResult
Retrieves a list of Connect Customer client add-ins that have been created.
-
#describe_connection_alias_permissions(params = {}) ⇒ Types::DescribeConnectionAliasPermissionsResult
Describes the permissions that the owner of a connection alias has granted to another Amazon Web Services account for the specified connection alias.
-
#describe_connection_aliases(params = {}) ⇒ Types::DescribeConnectionAliasesResult
Retrieves a list that describes the connection aliases used for cross-Region redirection.
-
#describe_custom_workspace_image_import(params = {}) ⇒ Types::DescribeCustomWorkspaceImageImportResult
Retrieves information about a WorkSpace BYOL image being imported via ImportCustomWorkspaceImage.
-
#describe_image_associations(params = {}) ⇒ Types::DescribeImageAssociationsResult
Describes the associations between the applications and the specified image.
-
#describe_ip_groups(params = {}) ⇒ Types::DescribeIpGroupsResult
Describes one or more of your IP access control groups.
-
#describe_tags(params = {}) ⇒ Types::DescribeTagsResult
Describes the specified tags for the specified WorkSpaces resource.
-
#describe_workspace_associations(params = {}) ⇒ Types::DescribeWorkspaceAssociationsResult
Describes the associations betweens applications and the specified WorkSpace.
-
#describe_workspace_bundles(params = {}) ⇒ Types::DescribeWorkspaceBundlesResult
Retrieves a list that describes the available WorkSpace bundles.
-
#describe_workspace_directories(params = {}) ⇒ Types::DescribeWorkspaceDirectoriesResult
Describes the available directories that are registered with Amazon WorkSpaces.
-
#describe_workspace_image_permissions(params = {}) ⇒ Types::DescribeWorkspaceImagePermissionsResult
Describes the permissions that the owner of an image has granted to other Amazon Web Services accounts for an image.
-
#describe_workspace_images(params = {}) ⇒ Types::DescribeWorkspaceImagesResult
Retrieves a list that describes one or more specified images, if the image identifiers are provided.
-
#describe_workspace_snapshots(params = {}) ⇒ Types::DescribeWorkspaceSnapshotsResult
Describes the snapshots for the specified WorkSpace.
-
#describe_workspaces(params = {}) ⇒ Types::DescribeWorkspacesResult
Describes the specified WorkSpaces.
-
#describe_workspaces_connection_status(params = {}) ⇒ Types::DescribeWorkspacesConnectionStatusResult
Describes the connection status of the specified WorkSpaces.
-
#describe_workspaces_pool_sessions(params = {}) ⇒ Types::DescribeWorkspacesPoolSessionsResult
End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. -
#describe_workspaces_pools(params = {}) ⇒ Types::DescribeWorkspacesPoolsResult
End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. -
#disassociate_account_models(params = {}) ⇒ Struct
Removes models from your account's model list.
-
#disassociate_connection_alias(params = {}) ⇒ Struct
Disassociates a connection alias from a directory.
-
#disassociate_ip_groups(params = {}) ⇒ Struct
Disassociates the specified IP access control group from the specified directory.
-
#disassociate_workspace_agentic_connectors(params = {}) ⇒ Struct
Disassociates agentic connectors from the specified WorkSpace.
-
#disassociate_workspace_agentic_contexts(params = {}) ⇒ Struct
Disassociates agentic contexts from the specified WorkSpace.
-
#disassociate_workspace_application(params = {}) ⇒ Types::DisassociateWorkspaceApplicationResult
Disassociates the specified application from a WorkSpace.
-
#disassociate_workspace_models(params = {}) ⇒ Struct
Disassociates models from the specified WorkSpace.
-
#get_account_link(params = {}) ⇒ Types::GetAccountLinkResult
Retrieves account link information.
-
#get_agentic_account_setup(params = {}) ⇒ Types::GetAgenticAccountSetupResult
Describes the agentic setup of your account in the current Region.
-
#get_agentic_context(params = {}) ⇒ Types::GetAgenticContextResult
Describes an agentic context, including its body.
-
#get_agentic_workspace_configuration(params = {}) ⇒ Types::GetAgenticWorkspaceConfigurationResult
Describes the agentic configuration of the specified WorkSpace, including its models, agent runtime, connectors, contexts, enforced policies, and agent health.
-
#import_client_branding(params = {}) ⇒ Types::ImportClientBrandingResult
Imports client branding.
-
#import_custom_workspace_image(params = {}) ⇒ Types::ImportCustomWorkspaceImageResult
Imports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon WorkSpaces using EC2 Image Builder.
-
#import_workspace_image(params = {}) ⇒ Types::ImportWorkspaceImageResult
Imports the specified Windows 10 or 11 Bring Your Own License (BYOL) image into Amazon WorkSpaces.
-
#list_account_links(params = {}) ⇒ Types::ListAccountLinksResult
Lists all account links.
-
#list_account_models(params = {}) ⇒ Types::ListAccountModelsResult
Lists the models on your account's model list, sorted by model ID.
-
#list_agent_enforced_policies(params = {}) ⇒ Types::ListAgentEnforcedPoliciesResult
Lists the agent-enforced policies that you can use, including policies that Amazon owns.
-
#list_agentic_connectors(params = {}) ⇒ Types::ListAgenticConnectorsResult
Lists the agentic connectors available to your account, with their activation status.
-
#list_agentic_contexts(params = {}) ⇒ Types::ListAgenticContextsResult
Lists the agentic contexts in your account.
-
#list_agentic_persona_configurations(params = {}) ⇒ Types::ListAgenticPersonaConfigurationsResult
Lists the agentic persona configurations in your account.
-
#list_available_management_cidr_ranges(params = {}) ⇒ Types::ListAvailableManagementCidrRangesResult
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).
-
#list_supported_models(params = {}) ⇒ Types::ListSupportedModelsResult
Lists the models that you can add to your account's model list, sorted by model ID.
-
#list_workspace_enforced_policies(params = {}) ⇒ Types::ListWorkspaceEnforcedPoliciesResult
Lists the WorkSpace-enforced policies that you can use, including policies that Amazon owns.
-
#migrate_workspace(params = {}) ⇒ Types::MigrateWorkspaceResult
Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume.
-
#modify_account(params = {}) ⇒ Types::ModifyAccountResult
Modifies the configuration of Bring Your Own License (BYOL) for the specified account.
-
#modify_certificate_based_auth_properties(params = {}) ⇒ Struct
Modifies the properties of the certificate-based authentication you want to use with your WorkSpaces.
-
#modify_client_properties(params = {}) ⇒ Struct
Modifies the properties of the specified Amazon WorkSpaces clients.
-
#modify_endpoint_encryption_mode(params = {}) ⇒ Struct
Modifies the endpoint encryption mode that allows you to configure the specified directory between Standard TLS and FIPS 140-2 validated mode.
-
#modify_saml_properties(params = {}) ⇒ Struct
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.
-
#modify_selfservice_permissions(params = {}) ⇒ Struct
Modifies the self-service WorkSpace management capabilities for your users.
-
#modify_streaming_properties(params = {}) ⇒ Struct
Modifies the specified streaming properties.
-
#modify_workspace_access_properties(params = {}) ⇒ Struct
Specifies which devices and operating systems users can use to access their WorkSpaces.
-
#modify_workspace_creation_properties(params = {}) ⇒ Struct
Modify the default properties used to create WorkSpaces.
-
#modify_workspace_properties(params = {}) ⇒ Struct
Modifies the specified WorkSpace properties.
-
#modify_workspace_state(params = {}) ⇒ Struct
Sets the state of the specified WorkSpace.
-
#reboot_workspaces(params = {}) ⇒ Types::RebootWorkspacesResult
Reboots the specified WorkSpaces.
-
#rebuild_workspaces(params = {}) ⇒ Types::RebuildWorkspacesResult
Rebuilds the specified WorkSpace.
-
#register_workspace_directory(params = {}) ⇒ Types::RegisterWorkspaceDirectoryResult
Registers the specified directory.
-
#reject_account_link_invitation(params = {}) ⇒ Types::RejectAccountLinkInvitationResult
Rejects the account link invitation.
-
#restore_workspace(params = {}) ⇒ Struct
Restores the specified WorkSpace to its last known healthy state.
-
#revoke_ip_rules(params = {}) ⇒ Struct
Removes one or more rules from the specified IP access control group.
-
#start_agentic_account_setup(params = {}) ⇒ Types::StartAgenticAccountSetupResult
Starts setting up Agentic WorkSpaces for your account in the current Region.
-
#start_workspaces(params = {}) ⇒ Types::StartWorkspacesResult
Starts the specified WorkSpaces.
-
#start_workspaces_pool(params = {}) ⇒ Struct
End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. -
#stop_workspaces(params = {}) ⇒ Types::StopWorkspacesResult
Stops the specified WorkSpaces.
-
#stop_workspaces_pool(params = {}) ⇒ Struct
End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. -
#terminate_workspaces(params = {}) ⇒ Types::TerminateWorkspacesResult
Terminates the specified WorkSpaces.
-
#terminate_workspaces_pool(params = {}) ⇒ Struct
End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. -
#terminate_workspaces_pool_session(params = {}) ⇒ Struct
End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools. -
#update_agentic_connector_activation_status(params = {}) ⇒ Types::UpdateAgenticConnectorActivationStatusResult
Activates or deactivates an agentic connector for your account.
-
#update_connect_client_add_in(params = {}) ⇒ Struct
Updates a Connect Customer client add-in.
-
#update_connection_alias_permission(params = {}) ⇒ Struct
Shares 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_group(params = {}) ⇒ Struct
Replaces the current rules of the specified IP access control group with the specified rules.
-
#update_workspace_bundle(params = {}) ⇒ Struct
Updates a WorkSpace bundle with a new image.
-
#update_workspace_image_permission(params = {}) ⇒ Struct
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.
-
#update_workspaces_pool(params = {}) ⇒ Types::UpdateWorkspacesPoolResult
End of support notice: On December 31, 2027, Amazon Web Services will end support for Amazon WorkSpaces Pools.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
486 487 488 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 486 def initialize(*args) super end |
Instance Method Details
#accept_account_link_invitation(params = {}) ⇒ Types::AcceptAccountLinkInvitationResult
Accepts the account link invitation.
There's currently no unlinking capability after you accept the account linking invitation.
526 527 528 529 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 526 def accept_account_link_invitation(params = {}, = {}) req = build_request(:accept_account_link_invitation, params) req.send_request() end |
#associate_account_models(params = {}) ⇒ Struct
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.
570 571 572 573 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 570 def associate_account_models(params = {}, = {}) req = build_request(:associate_account_models, params) req.send_request() end |
#associate_agent_enforced_policy(params = {}) ⇒ Struct
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 returns ConflictException.
616 617 618 619 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 616 def associate_agent_enforced_policy(params = {}, = {}) req = build_request(:associate_agent_enforced_policy, params) req.send_request() end |
#associate_connection_alias(params = {}) ⇒ Types::AssociateConnectionAliasResult
Associates the specified connection alias with the specified directory to enable cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
CREATED.
662 663 664 665 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 662 def associate_connection_alias(params = {}, = {}) req = build_request(:associate_connection_alias, params) req.send_request() end |
#associate_ip_groups(params = {}) ⇒ Struct
Associates the specified IP access control group with the specified directory.
689 690 691 692 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 689 def associate_ip_groups(params = {}, = {}) req = build_request(:associate_ip_groups, params) req.send_request() end |
#associate_workspace_agentic_connectors(params = {}) ⇒ Struct
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 returns ServiceQuotaExceededException.
736 737 738 739 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 736 def associate_workspace_agentic_connectors(params = {}, = {}) req = build_request(:associate_workspace_agentic_connectors, params) req.send_request() end |
#associate_workspace_agentic_contexts(params = {}) ⇒ Struct
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.
782 783 784 785 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 782 def associate_workspace_agentic_contexts(params = {}, = {}) req = build_request(:associate_workspace_agentic_contexts, params) req.send_request() end |
#associate_workspace_application(params = {}) ⇒ Types::AssociateWorkspaceApplicationResult
Associates the specified application to the specified WorkSpace.
821 822 823 824 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 821 def associate_workspace_application(params = {}, = {}) req = build_request(:associate_workspace_application, params) req.send_request() end |
#associate_workspace_enforced_policy(params = {}) ⇒ Struct
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 returns ConflictException.
867 868 869 870 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 867 def associate_workspace_enforced_policy(params = {}, = {}) req = build_request(:associate_workspace_enforced_policy, params) req.send_request() end |
#associate_workspace_models(params = {}) ⇒ Struct
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.
914 915 916 917 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 914 def associate_workspace_models(params = {}, = {}) req = build_request(:associate_workspace_models, params) req.send_request() end |
#authorize_ip_rules(params = {}) ⇒ Struct
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.
948 949 950 951 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 948 def (params = {}, = {}) req = build_request(:authorize_ip_rules, params) req.send_request() end |
#batch_get_agent_enforced_policy(params = {}) ⇒ Types::BatchGetAgentEnforcedPolicyResult
Describes the specified agent-enforced policies.
1013 1014 1015 1016 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 1013 def batch_get_agent_enforced_policy(params = {}, = {}) req = build_request(:batch_get_agent_enforced_policy, params) req.send_request() end |
#batch_get_agent_runtime(params = {}) ⇒ Types::BatchGetAgentRuntimeResult
Describes the specified agent runtimes.
1072 1073 1074 1075 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 1072 def batch_get_agent_runtime(params = {}, = {}) req = build_request(:batch_get_agent_runtime, params) req.send_request() end |
#batch_get_agentic_connector(params = {}) ⇒ Types::BatchGetAgenticConnectorResult
Describes the specified agentic connectors.
1159 1160 1161 1162 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 1159 def batch_get_agentic_connector(params = {}, = {}) req = build_request(:batch_get_agentic_connector, params) req.send_request() end |
#batch_get_agentic_context_metadata(params = {}) ⇒ Types::BatchGetAgenticContextMetadataResult
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 returns AccessDeniedException and no results.
1242 1243 1244 1245 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 1242 def (params = {}, = {}) req = build_request(:batch_get_agentic_context_metadata, params) req.send_request() end |
#batch_get_agentic_persona_configuration(params = {}) ⇒ Types::BatchGetAgenticPersonaConfigurationResult
Describes the specified agentic persona configurations. If you don't
have permission to describe any one of the specified persona
configurations, the operation returns AccessDeniedException and no
results.
1331 1332 1333 1334 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 1331 def batch_get_agentic_persona_configuration(params = {}, = {}) req = build_request(:batch_get_agentic_persona_configuration, params) req.send_request() end |
#batch_get_model(params = {}) ⇒ Types::BatchGetModelResult
Describes the specified models from the supported model catalog.
1396 1397 1398 1399 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 1396 def batch_get_model(params = {}, = {}) req = build_request(:batch_get_model, params) req.send_request() end |
#batch_get_workspace_enforced_policy(params = {}) ⇒ Types::BatchGetWorkspaceEnforcedPolicyResult
Describes the specified WorkSpace-enforced policies.
1461 1462 1463 1464 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 1461 def batch_get_workspace_enforced_policy(params = {}, = {}) req = build_request(:batch_get_workspace_enforced_policy, params) req.send_request() end |
#copy_workspace_image(params = {}) ⇒ Types::CopyWorkspaceImageResult
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.
1530 1531 1532 1533 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 1530 def copy_workspace_image(params = {}, = {}) req = build_request(:copy_workspace_image, params) req.send_request() end |
#create_account_link_invitation(params = {}) ⇒ Types::CreateAccountLinkInvitationResult
Creates the account link invitation.
1566 1567 1568 1569 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 1566 def create_account_link_invitation(params = {}, = {}) req = build_request(:create_account_link_invitation, params) req.send_request() end |
#create_agent_enforced_policy(params = {}) ⇒ Types::CreateAgentEnforcedPolicyResult
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 its ResourceId identifies the existing policy. If your account
would exceed its maximum number of agent-enforced policies, the
operation returns ServiceQuotaExceededException.
1655 1656 1657 1658 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 1655 def create_agent_enforced_policy(params = {}, = {}) req = build_request(:create_agent_enforced_policy, params) req.send_request() end |
#create_agentic_context(params = {}) ⇒ Types::CreateAgenticContextResult
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 its ResourceId identifies
the existing context. If the tags would exceed the limit of 50 tags
per resource, the operation returns ServiceQuotaExceededException.
1763 1764 1765 1766 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 1763 def create_agentic_context(params = {}, = {}) req = build_request(:create_agentic_context, params) req.send_request() end |
#create_agentic_persona_configuration(params = {}) ⇒ Types::CreateAgenticPersonaConfigurationResult
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
its ResourceId identifies the existing persona configuration. If you
exceed the persona or tag limit, it returns
ServiceQuotaExceededException.
1888 1889 1890 1891 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 1888 def create_agentic_persona_configuration(params = {}, = {}) req = build_request(:create_agentic_persona_configuration, params) req.send_request() end |
#create_connect_client_add_in(params = {}) ⇒ Types::CreateConnectClientAddInResult
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.
1928 1929 1930 1931 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 1928 def create_connect_client_add_in(params = {}, = {}) req = build_request(:create_connect_client_add_in, params) req.send_request() end |
#create_connection_alias(params = {}) ⇒ Types::CreateConnectionAliasResult
Creates the specified connection alias for use with cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
1978 1979 1980 1981 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 1978 def create_connection_alias(params = {}, = {}) req = build_request(:create_connection_alias, params) req.send_request() end |
#create_ip_group(params = {}) ⇒ Types::CreateIpGroupResult
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.
2042 2043 2044 2045 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2042 def create_ip_group(params = {}, = {}) req = build_request(:create_ip_group, params) req.send_request() end |
#create_standby_workspaces(params = {}) ⇒ Types::CreateStandbyWorkspacesResult
Creates a standby WorkSpace in a secondary Region.
2102 2103 2104 2105 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2102 def create_standby_workspaces(params = {}, = {}) req = build_request(:create_standby_workspaces, params) req.send_request() end |
#create_tags(params = {}) ⇒ Struct
Creates the specified tags for the specified WorkSpaces resource.
2137 2138 2139 2140 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2137 def (params = {}, = {}) req = build_request(:create_tags, params) req.send_request() end |
#create_updated_workspace_image(params = {}) ⇒ Types::CreateUpdatedWorkspaceImageResult
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.
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.
2210 2211 2212 2213 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2210 def create_updated_workspace_image(params = {}, = {}) req = build_request(:create_updated_workspace_image, params) req.send_request() end |
#create_workspace_bundle(params = {}) ⇒ Types::CreateWorkspaceBundleResult
Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.
2296 2297 2298 2299 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2296 def create_workspace_bundle(params = {}, = {}) req = build_request(:create_workspace_bundle, params) req.send_request() end |
#create_workspace_enforced_policy(params = {}) ⇒ Types::CreateWorkspaceEnforcedPolicyResult
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
its ResourceId identifies the existing policy. If your account would
exceed its maximum number of WorkSpace-enforced policies, the
operation returns ServiceQuotaExceededException.
2385 2386 2387 2388 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2385 def create_workspace_enforced_policy(params = {}, = {}) req = build_request(:create_workspace_enforced_policy, params) req.send_request() end |
#create_workspace_image(params = {}) ⇒ Types::CreateWorkspaceImageResult
Creates a new WorkSpace image from an existing WorkSpace.
2446 2447 2448 2449 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2446 def create_workspace_image(params = {}, = {}) req = build_request(:create_workspace_image, params) req.send_request() end |
#create_workspaces(params = {}) ⇒ Types::CreateWorkspacesResult
Creates one or more WorkSpaces.
This operation is asynchronous and returns before the WorkSpaces are created.
MANUAL running 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?
2599 2600 2601 2602 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2599 def create_workspaces(params = {}, = {}) req = build_request(:create_workspaces, params) req.send_request() end |
#create_workspaces_pool(params = {}) ⇒ Types::CreateWorkspacesPoolResult
Creates a pool of WorkSpaces.
2706 2707 2708 2709 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2706 def create_workspaces_pool(params = {}, = {}) req = build_request(:create_workspaces_pool, params) req.send_request() end |
#delete_account_link_invitation(params = {}) ⇒ Types::DeleteAccountLinkInvitationResult
Deletes the account link invitation.
2742 2743 2744 2745 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2742 def delete_account_link_invitation(params = {}, = {}) req = build_request(:delete_account_link_invitation, params) req.send_request() end |
#delete_agent_enforced_policy(params = {}) ⇒ Struct
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 returns ConflictException, and its ResourceId
identifies a persona configuration or WorkSpace that uses the policy.
2782 2783 2784 2785 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2782 def delete_agent_enforced_policy(params = {}, = {}) req = build_request(:delete_agent_enforced_policy, params) req.send_request() end |
#delete_agentic_context(params = {}) ⇒ Struct
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 its
ResourceId identifies a persona configuration or WorkSpace that uses
the context.
2821 2822 2823 2824 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2821 def delete_agentic_context(params = {}, = {}) req = build_request(:delete_agentic_context, params) req.send_request() end |
#delete_agentic_persona_configuration(params = {}) ⇒ Struct
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.
2859 2860 2861 2862 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2859 def delete_agentic_persona_configuration(params = {}, = {}) req = build_request(:delete_agentic_persona_configuration, params) req.send_request() end |
#delete_client_branding(params = {}) ⇒ Struct
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.
2893 2894 2895 2896 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2893 def delete_client_branding(params = {}, = {}) req = build_request(:delete_client_branding, params) req.send_request() end |
#delete_connect_client_add_in(params = {}) ⇒ Struct
Deletes a client-add-in for Connect Customer that is configured within a directory.
2920 2921 2922 2923 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2920 def delete_connect_client_add_in(params = {}, = {}) req = build_request(:delete_connect_client_add_in, params) req.send_request() end |
#delete_connection_alias(params = {}) ⇒ Struct
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.
2963 2964 2965 2966 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2963 def delete_connection_alias(params = {}, = {}) req = build_request(:delete_connection_alias, params) req.send_request() end |
#delete_ip_group(params = {}) ⇒ Struct
Deletes the specified IP access control group.
You cannot delete an IP access control group that is associated with a directory.
2988 2989 2990 2991 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 2988 def delete_ip_group(params = {}, = {}) req = build_request(:delete_ip_group, params) req.send_request() end |
#delete_tags(params = {}) ⇒ Struct
Deletes the specified tags from the specified WorkSpaces resource.
3018 3019 3020 3021 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3018 def (params = {}, = {}) req = build_request(:delete_tags, params) req.send_request() end |
#delete_workspace_bundle(params = {}) ⇒ Struct
Deletes the specified WorkSpace bundle. For more information about deleting WorkSpace bundles, see Delete a Custom WorkSpaces Bundle or Image.
3046 3047 3048 3049 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3046 def delete_workspace_bundle(params = {}, = {}) req = build_request(:delete_workspace_bundle, params) req.send_request() end |
#delete_workspace_enforced_policy(params = {}) ⇒ Struct
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 returns ConflictException, and its ResourceId
identifies a persona configuration or WorkSpace that uses the policy.
3086 3087 3088 3089 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3086 def delete_workspace_enforced_policy(params = {}, = {}) req = build_request(:delete_workspace_enforced_policy, params) req.send_request() end |
#delete_workspace_image(params = {}) ⇒ Struct
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.
3110 3111 3112 3113 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3110 def delete_workspace_image(params = {}, = {}) req = build_request(:delete_workspace_image, params) req.send_request() end |
#deploy_workspace_applications(params = {}) ⇒ Types::DeployWorkspaceApplicationsResult
Deploys associated applications to the specified WorkSpace
3152 3153 3154 3155 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3152 def deploy_workspace_applications(params = {}, = {}) req = build_request(:deploy_workspace_applications, params) req.send_request() end |
#deregister_workspace_directory(params = {}) ⇒ Struct
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.
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.
3199 3200 3201 3202 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3199 def deregister_workspace_directory(params = {}, = {}) req = build_request(:deregister_workspace_directory, params) req.send_request() end |
#describe_account(params = {}) ⇒ Types::DescribeAccountResult
Retrieves a list that describes the configuration of Bring Your Own License (BYOL) for the specified account.
3225 3226 3227 3228 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3225 def describe_account(params = {}, = {}) req = build_request(:describe_account, params) req.send_request() end |
#describe_account_modifications(params = {}) ⇒ Types::DescribeAccountModificationsResult
Retrieves a list that describes modifications to the configuration of Bring Your Own License (BYOL) for the specified account.
3263 3264 3265 3266 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3263 def describe_account_modifications(params = {}, = {}) req = build_request(:describe_account_modifications, params) req.send_request() end |
#describe_application_associations(params = {}) ⇒ Types::DescribeApplicationAssociationsResult
Describes the associations between the application and the specified associated resources.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3317 3318 3319 3320 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3317 def describe_application_associations(params = {}, = {}) req = build_request(:describe_application_associations, params) req.send_request() end |
#describe_applications(params = {}) ⇒ Types::DescribeApplicationsResult
Describes the specified applications by filtering based on their compute types, license availability, operating systems, and owners.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3386 3387 3388 3389 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3386 def describe_applications(params = {}, = {}) req = build_request(:describe_applications, params) req.send_request() end |
#describe_bundle_associations(params = {}) ⇒ Types::DescribeBundleAssociationsResult
Describes the associations between the applications and the specified bundle.
3427 3428 3429 3430 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3427 def describe_bundle_associations(params = {}, = {}) req = build_request(:describe_bundle_associations, params) req.send_request() end |
#describe_client_branding(params = {}) ⇒ Types::DescribeClientBrandingResult
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.
3507 3508 3509 3510 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3507 def describe_client_branding(params = {}, = {}) req = build_request(:describe_client_branding, params) req.send_request() end |
#describe_client_properties(params = {}) ⇒ Types::DescribeClientPropertiesResult
Retrieves a list that describes one or more specified Amazon WorkSpaces clients.
3540 3541 3542 3543 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3540 def describe_client_properties(params = {}, = {}) req = build_request(:describe_client_properties, params) req.send_request() end |
#describe_connect_client_add_ins(params = {}) ⇒ Types::DescribeConnectClientAddInsResult
Retrieves a list of Connect Customer client add-ins that have been created.
3584 3585 3586 3587 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3584 def describe_connect_client_add_ins(params = {}, = {}) req = build_request(:describe_connect_client_add_ins, params) req.send_request() end |
#describe_connection_alias_permissions(params = {}) ⇒ Types::DescribeConnectionAliasPermissionsResult
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.
3634 3635 3636 3637 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3634 def (params = {}, = {}) req = build_request(:describe_connection_alias_permissions, params) req.send_request() end |
#describe_connection_aliases(params = {}) ⇒ Types::DescribeConnectionAliasesResult
Retrieves a list that describes the connection aliases used for cross-Region redirection. For more information, see Cross-Region Redirection for Amazon WorkSpaces.
3692 3693 3694 3695 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3692 def describe_connection_aliases(params = {}, = {}) req = build_request(:describe_connection_aliases, params) req.send_request() end |
#describe_custom_workspace_image_import(params = {}) ⇒ Types::DescribeCustomWorkspaceImageImportResult
Retrieves information about a WorkSpace BYOL image being imported via ImportCustomWorkspaceImage.
3743 3744 3745 3746 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3743 def describe_custom_workspace_image_import(params = {}, = {}) req = build_request(:describe_custom_workspace_image_import, params) req.send_request() end |
#describe_image_associations(params = {}) ⇒ Types::DescribeImageAssociationsResult
Describes the associations between the applications and the specified image.
3784 3785 3786 3787 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3784 def describe_image_associations(params = {}, = {}) req = build_request(:describe_image_associations, params) req.send_request() end |
#describe_ip_groups(params = {}) ⇒ Types::DescribeIpGroupsResult
Describes one or more of your IP access control groups.
3829 3830 3831 3832 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3829 def describe_ip_groups(params = {}, = {}) req = build_request(:describe_ip_groups, params) req.send_request() end |
#describe_tags(params = {}) ⇒ Types::DescribeTagsResult
Describes the specified tags for the specified WorkSpaces resource.
3863 3864 3865 3866 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3863 def (params = {}, = {}) req = build_request(:describe_tags, params) req.send_request() end |
#describe_workspace_associations(params = {}) ⇒ Types::DescribeWorkspaceAssociationsResult
Describes the associations betweens applications and the specified WorkSpace.
3904 3905 3906 3907 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3904 def describe_workspace_associations(params = {}, = {}) req = build_request(:describe_workspace_associations, params) req.send_request() end |
#describe_workspace_bundles(params = {}) ⇒ Types::DescribeWorkspaceBundlesResult
Retrieves a list that describes the available WorkSpace bundles.
You can filter the results using either bundle ID or owner, but not both.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3966 3967 3968 3969 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 3966 def describe_workspace_bundles(params = {}, = {}) req = build_request(:describe_workspace_bundles, params) req.send_request() end |
#describe_workspace_directories(params = {}) ⇒ Types::DescribeWorkspaceDirectoriesResult
Describes the available directories that are registered with Amazon WorkSpaces.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4095 4096 4097 4098 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4095 def describe_workspace_directories(params = {}, = {}) req = build_request(:describe_workspace_directories, params) req.send_request() end |
#describe_workspace_image_permissions(params = {}) ⇒ Types::DescribeWorkspaceImagePermissionsResult
Describes the permissions that the owner of an image has granted to other Amazon Web Services accounts for an image.
4138 4139 4140 4141 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4138 def (params = {}, = {}) req = build_request(:describe_workspace_image_permissions, params) req.send_request() end |
#describe_workspace_images(params = {}) ⇒ Types::DescribeWorkspaceImagesResult
Retrieves a list that describes one or more specified images, if the image identifiers are provided. Otherwise, all images in the account are described.
4198 4199 4200 4201 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4198 def describe_workspace_images(params = {}, = {}) req = build_request(:describe_workspace_images, params) req.send_request() end |
#describe_workspace_snapshots(params = {}) ⇒ Types::DescribeWorkspaceSnapshotsResult
Describes the snapshots for the specified WorkSpace.
4230 4231 4232 4233 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4230 def describe_workspace_snapshots(params = {}, = {}) req = build_request(:describe_workspace_snapshots, params) req.send_request() end |
#describe_workspaces(params = {}) ⇒ Types::DescribeWorkspacesResult
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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4341 4342 4343 4344 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4341 def describe_workspaces(params = {}, = {}) req = build_request(:describe_workspaces, params) req.send_request() end |
#describe_workspaces_connection_status(params = {}) ⇒ Types::DescribeWorkspacesConnectionStatusResult
Describes the connection status of the specified WorkSpaces.
4381 4382 4383 4384 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4381 def describe_workspaces_connection_status(params = {}, = {}) req = build_request(:describe_workspaces_connection_status, params) req.send_request() end |
#describe_workspaces_pool_sessions(params = {}) ⇒ Types::DescribeWorkspacesPoolSessionsResult
Retrieves a list that describes the streaming sessions for a specified pool.
4448 4449 4450 4451 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4448 def describe_workspaces_pool_sessions(params = {}, = {}) req = build_request(:describe_workspaces_pool_sessions, params) req.send_request() end |
#describe_workspaces_pools(params = {}) ⇒ Types::DescribeWorkspacesPoolsResult
Describes the specified WorkSpaces Pools.
4531 4532 4533 4534 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4531 def describe_workspaces_pools(params = {}, = {}) req = build_request(:describe_workspaces_pools, params) req.send_request() end |
#disassociate_account_models(params = {}) ⇒ Struct
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.
4575 4576 4577 4578 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4575 def disassociate_account_models(params = {}, = {}) req = build_request(:disassociate_account_models, params) req.send_request() end |
#disassociate_connection_alias(params = {}) ⇒ Struct
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.
CREATED.
4611 4612 4613 4614 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4611 def disassociate_connection_alias(params = {}, = {}) req = build_request(:disassociate_connection_alias, params) req.send_request() end |
#disassociate_ip_groups(params = {}) ⇒ Struct
Disassociates the specified IP access control group from the specified directory.
4638 4639 4640 4641 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4638 def disassociate_ip_groups(params = {}, = {}) req = build_request(:disassociate_ip_groups, params) req.send_request() end |
#disassociate_workspace_agentic_connectors(params = {}) ⇒ Struct
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.
4683 4684 4685 4686 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4683 def disassociate_workspace_agentic_connectors(params = {}, = {}) req = build_request(:disassociate_workspace_agentic_connectors, params) req.send_request() end |
#disassociate_workspace_agentic_contexts(params = {}) ⇒ Struct
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.
4728 4729 4730 4731 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4728 def disassociate_workspace_agentic_contexts(params = {}, = {}) req = build_request(:disassociate_workspace_agentic_contexts, params) req.send_request() end |
#disassociate_workspace_application(params = {}) ⇒ Types::DisassociateWorkspaceApplicationResult
Disassociates the specified application from a WorkSpace.
4767 4768 4769 4770 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4767 def disassociate_workspace_application(params = {}, = {}) req = build_request(:disassociate_workspace_application, params) req.send_request() end |
#disassociate_workspace_models(params = {}) ⇒ Struct
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 returns
ConflictException.
4814 4815 4816 4817 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4814 def disassociate_workspace_models(params = {}, = {}) req = build_request(:disassociate_workspace_models, params) req.send_request() end |
#get_account_link(params = {}) ⇒ Types::GetAccountLinkResult
Retrieves account link information.
4849 4850 4851 4852 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4849 def get_account_link(params = {}, = {}) req = build_request(:get_account_link, params) req.send_request() end |
#get_agentic_account_setup(params = {}) ⇒ Types::GetAgenticAccountSetupResult
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.
4886 4887 4888 4889 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4886 def get_agentic_account_setup(params = {}, = {}) req = build_request(:get_agentic_account_setup, params) req.send_request() end |
#get_agentic_context(params = {}) ⇒ Types::GetAgenticContextResult
Describes an agentic context, including its body.
4946 4947 4948 4949 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 4946 def get_agentic_context(params = {}, = {}) req = build_request(:get_agentic_context, params) req.send_request() end |
#get_agentic_workspace_configuration(params = {}) ⇒ Types::GetAgenticWorkspaceConfigurationResult
Describes the agentic configuration of the specified WorkSpace, including its models, agent runtime, connectors, contexts, enforced policies, and agent health.
5050 5051 5052 5053 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 5050 def get_agentic_workspace_configuration(params = {}, = {}) req = build_request(:get_agentic_workspace_configuration, params) req.send_request() end |
#import_client_branding(params = {}) ⇒ Types::ImportClientBrandingResult
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 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.
5217 5218 5219 5220 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 5217 def import_client_branding(params = {}, = {}) req = build_request(:import_client_branding, params) req.send_request() end |
#import_custom_workspace_image(params = {}) ⇒ Types::ImportCustomWorkspaceImageResult
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.
5304 5305 5306 5307 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 5304 def import_custom_workspace_image(params = {}, = {}) req = build_request(:import_custom_workspace_image, params) req.send_request() end |
#import_workspace_image(params = {}) ⇒ Types::ImportWorkspaceImageResult
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.
5402 5403 5404 5405 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 5402 def import_workspace_image(params = {}, = {}) req = build_request(:import_workspace_image, params) req.send_request() end |
#list_account_links(params = {}) ⇒ Types::ListAccountLinksResult
Lists all account links.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5447 5448 5449 5450 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 5447 def list_account_links(params = {}, = {}) req = build_request(:list_account_links, params) req.send_request() end |
#list_account_models(params = {}) ⇒ Types::ListAccountModelsResult
Lists the models on your account's model list, sorted by model ID.
This operation is paginated. To get the next page, pass the
NextToken from the previous response.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5514 5515 5516 5517 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 5514 def list_account_models(params = {}, = {}) req = build_request(:list_account_models, params) req.send_request() end |
#list_agent_enforced_policies(params = {}) ⇒ Types::ListAgentEnforcedPoliciesResult
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 NextToken from the previous response.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5582 5583 5584 5585 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 5582 def list_agent_enforced_policies(params = {}, = {}) req = build_request(:list_agent_enforced_policies, params) req.send_request() end |
#list_agentic_connectors(params = {}) ⇒ Types::ListAgenticConnectorsResult
Lists the agentic connectors available to your account, with their
activation status. This operation is paginated. To get the next page,
pass the NextToken from the previous response.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5657 5658 5659 5660 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 5657 def list_agentic_connectors(params = {}, = {}) req = build_request(:list_agentic_connectors, params) req.send_request() end |
#list_agentic_contexts(params = {}) ⇒ Types::ListAgenticContextsResult
Lists the agentic contexts in your account. This operation is
paginated. To get the next page, pass the NextToken from the
previous response.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5730 5731 5732 5733 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 5730 def list_agentic_contexts(params = {}, = {}) req = build_request(:list_agentic_contexts, params) req.send_request() end |
#list_agentic_persona_configurations(params = {}) ⇒ Types::ListAgenticPersonaConfigurationsResult
Lists the agentic persona configurations in your account. This
operation is paginated. To get the next page, pass the NextToken
from the previous response.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5792 5793 5794 5795 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 5792 def list_agentic_persona_configurations(params = {}, = {}) req = build_request(:list_agentic_persona_configurations, params) req.send_request() end |
#list_available_management_cidr_ranges(params = {}) ⇒ Types::ListAvailableManagementCidrRangesResult
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 AccessDeniedException error.
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.
5845 5846 5847 5848 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 5845 def list_available_management_cidr_ranges(params = {}, = {}) req = build_request(:list_available_management_cidr_ranges, params) req.send_request() end |
#list_supported_models(params = {}) ⇒ Types::ListSupportedModelsResult
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 NextToken from the previous response.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5911 5912 5913 5914 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 5911 def list_supported_models(params = {}, = {}) req = build_request(:list_supported_models, params) req.send_request() end |
#list_workspace_enforced_policies(params = {}) ⇒ Types::ListWorkspaceEnforcedPoliciesResult
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 NextToken from the previous response.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5979 5980 5981 5982 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 5979 def list_workspace_enforced_policies(params = {}, = {}) req = build_request(:list_workspace_enforced_policies, params) req.send_request() end |
#migrate_workspace(params = {}) ⇒ Types::MigrateWorkspaceResult
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 to
D:\Users\%USERNAME%MMddyyTHHmmss%.NotMigrated. A new
D:\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.
6035 6036 6037 6038 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6035 def migrate_workspace(params = {}, = {}) req = build_request(:migrate_workspace, params) req.send_request() end |
#modify_account(params = {}) ⇒ Types::ModifyAccountResult
Modifies the configuration of Bring Your Own License (BYOL) for the specified account.
6073 6074 6075 6076 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6073 def modify_account(params = {}, = {}) req = build_request(:modify_account, params) req.send_request() end |
#modify_certificate_based_auth_properties(params = {}) ⇒ Struct
Modifies the properties of the certificate-based authentication you want to use with your WorkSpaces.
6108 6109 6110 6111 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6108 def modify_certificate_based_auth_properties(params = {}, = {}) req = build_request(:modify_certificate_based_auth_properties, params) req.send_request() end |
#modify_client_properties(params = {}) ⇒ Struct
Modifies the properties of the specified Amazon WorkSpaces clients.
6138 6139 6140 6141 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6138 def modify_client_properties(params = {}, = {}) req = build_request(:modify_client_properties, params) req.send_request() end |
#modify_endpoint_encryption_mode(params = {}) ⇒ Struct
Modifies the endpoint encryption mode that allows you to configure the specified directory between Standard TLS and FIPS 140-2 validated mode.
6167 6168 6169 6170 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6167 def modify_endpoint_encryption_mode(params = {}, = {}) req = build_request(:modify_endpoint_encryption_mode, params) req.send_request() end |
#modify_saml_properties(params = {}) ⇒ Struct
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.
6212 6213 6214 6215 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6212 def modify_saml_properties(params = {}, = {}) req = build_request(:modify_saml_properties, params) req.send_request() end |
#modify_selfservice_permissions(params = {}) ⇒ Struct
Modifies the self-service WorkSpace management capabilities for your users. For more information, see Enable Self-Service WorkSpace Management Capabilities for Your Users.
6252 6253 6254 6255 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6252 def (params = {}, = {}) req = build_request(:modify_selfservice_permissions, params) req.send_request() end |
#modify_streaming_properties(params = {}) ⇒ Struct
Modifies the specified streaming properties.
6297 6298 6299 6300 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6297 def modify_streaming_properties(params = {}, = {}) req = build_request(:modify_streaming_properties, params) req.send_request() end |
#modify_workspace_access_properties(params = {}) ⇒ Struct
Specifies which devices and operating systems users can use to access their WorkSpaces. For more information, see Control Device Access.
6349 6350 6351 6352 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6349 def modify_workspace_access_properties(params = {}, = {}) req = build_request(:modify_workspace_access_properties, params) req.send_request() end |
#modify_workspace_creation_properties(params = {}) ⇒ Struct
Modify the default properties used to create WorkSpaces.
6382 6383 6384 6385 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6382 def modify_workspace_creation_properties(params = {}, = {}) req = build_request(:modify_workspace_creation_properties, params) req.send_request() end |
#modify_workspace_properties(params = {}) ⇒ Struct
Modifies the specified WorkSpace properties. For important information about how to modify the size of the root and user volumes, see Modify a WorkSpace.
MANUAL running 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.
6438 6439 6440 6441 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6438 def modify_workspace_properties(params = {}, = {}) req = build_request(:modify_workspace_properties, params) req.send_request() end |
#modify_workspace_state(params = {}) ⇒ Struct
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 the ADMIN_MAINTENANCE state.
6470 6471 6472 6473 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6470 def modify_workspace_state(params = {}, = {}) req = build_request(:modify_workspace_state, params) req.send_request() end |
#reboot_workspaces(params = {}) ⇒ Types::RebootWorkspacesResult
Reboots the specified WorkSpaces.
You cannot reboot a WorkSpace unless its state is AVAILABLE,
UNHEALTHY, or REBOOTING. Reboot a WorkSpace in the REBOOTING
state only if your WorkSpace has been stuck in the REBOOTING state
for over 20 minutes.
This operation is asynchronous and returns before the WorkSpaces have rebooted.
6513 6514 6515 6516 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6513 def reboot_workspaces(params = {}, = {}) req = build_request(:reboot_workspaces, params) req.send_request() end |
#rebuild_workspaces(params = {}) ⇒ Types::RebuildWorkspacesResult
Rebuilds the specified WorkSpace.
You cannot rebuild a WorkSpace unless its state is AVAILABLE,
ERROR, UNHEALTHY, STOPPED, or REBOOTING.
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.
6562 6563 6564 6565 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6562 def rebuild_workspaces(params = {}, = {}) req = build_request(:rebuild_workspaces, params) req.send_request() end |
#register_workspace_directory(params = {}) ⇒ Types::RegisterWorkspaceDirectoryResult
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.
6682 6683 6684 6685 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6682 def register_workspace_directory(params = {}, = {}) req = build_request(:register_workspace_directory, params) req.send_request() end |
#reject_account_link_invitation(params = {}) ⇒ Types::RejectAccountLinkInvitationResult
Rejects the account link invitation.
6717 6718 6719 6720 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6717 def reject_account_link_invitation(params = {}, = {}) req = build_request(:reject_account_link_invitation, params) req.send_request() end |
#restore_workspace(params = {}) ⇒ Struct
Restores the specified WorkSpace to its last known healthy state.
You cannot restore a WorkSpace unless its state is AVAILABLE,
ERROR, UNHEALTHY, or STOPPED.
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.
6753 6754 6755 6756 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6753 def restore_workspace(params = {}, = {}) req = build_request(:restore_workspace, params) req.send_request() end |
#revoke_ip_rules(params = {}) ⇒ Struct
Removes one or more rules from the specified IP access control group.
6779 6780 6781 6782 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6779 def revoke_ip_rules(params = {}, = {}) req = build_request(:revoke_ip_rules, params) req.send_request() end |
#start_agentic_account_setup(params = {}) ⇒ Types::StartAgenticAccountSetupResult
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, GetAgenticAccountSetup returns the
SETUP_FAILED status.
6836 6837 6838 6839 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6836 def start_agentic_account_setup(params = {}, = {}) req = build_request(:start_agentic_account_setup, params) req.send_request() end |
#start_workspaces(params = {}) ⇒ Types::StartWorkspacesResult
Starts the specified WorkSpaces.
You cannot start a WorkSpace unless it has a running mode of
AutoStop or Manual and a state of STOPPED.
6874 6875 6876 6877 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6874 def start_workspaces(params = {}, = {}) req = build_request(:start_workspaces, params) req.send_request() end |
#start_workspaces_pool(params = {}) ⇒ Struct
Starts the specified pool.
You cannot start a pool unless it has a running mode of AutoStop and
a state of STOPPED.
6911 6912 6913 6914 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6911 def start_workspaces_pool(params = {}, = {}) req = build_request(:start_workspaces_pool, params) req.send_request() end |
#stop_workspaces(params = {}) ⇒ Types::StopWorkspacesResult
Stops the specified WorkSpaces.
You cannot stop a WorkSpace unless it has a running mode of AutoStop
or Manual and a state of AVAILABLE, IMPAIRED, UNHEALTHY, or
ERROR.
6950 6951 6952 6953 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6950 def stop_workspaces(params = {}, = {}) req = build_request(:stop_workspaces, params) req.send_request() end |
#stop_workspaces_pool(params = {}) ⇒ Struct
Stops the specified pool.
You cannot stop a WorkSpace pool unless it has a running mode of
AutoStop and a state of AVAILABLE, IMPAIRED, UNHEALTHY, or
ERROR.
6988 6989 6990 6991 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 6988 def stop_workspaces_pool(params = {}, = {}) req = build_request(:stop_workspaces_pool, params) req.send_request() end |
#terminate_workspaces(params = {}) ⇒ Types::TerminateWorkspacesResult
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
TERMINATED state 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.
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.
7057 7058 7059 7060 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 7057 def terminate_workspaces(params = {}, = {}) req = build_request(:terminate_workspaces, params) req.send_request() end |
#terminate_workspaces_pool(params = {}) ⇒ Struct
Terminates the specified pool.
7091 7092 7093 7094 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 7091 def terminate_workspaces_pool(params = {}, = {}) req = build_request(:terminate_workspaces_pool, params) req.send_request() end |
#terminate_workspaces_pool_session(params = {}) ⇒ Struct
Terminates the pool session.
7125 7126 7127 7128 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 7125 def terminate_workspaces_pool_session(params = {}, = {}) req = build_request(:terminate_workspaces_pool_session, params) req.send_request() end |
#update_agentic_connector_activation_status(params = {}) ⇒ Types::UpdateAgenticConnectorActivationStatusResult
Activates or deactivates an agentic connector for your account. Your
account setup must be READY first. The change is asynchronous. To
track it, check the connector's ActivationStatus. 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 returns ServiceQuotaExceededException.
7209 7210 7211 7212 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 7209 def update_agentic_connector_activation_status(params = {}, = {}) req = build_request(:update_agentic_connector_activation_status, params) req.send_request() end |
#update_connect_client_add_in(params = {}) ⇒ Struct
Updates a Connect Customer client add-in. Use this action to update the name and endpoint URL of a Connect Customer client add-in.
7244 7245 7246 7247 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 7244 def update_connect_client_add_in(params = {}, = {}) req = build_request(:update_connect_client_add_in, params) req.send_request() end |
#update_connection_alias_permission(params = {}) ⇒ Struct
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.
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.
7299 7300 7301 7302 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 7299 def (params = {}, = {}) req = build_request(:update_connection_alias_permission, params) req.send_request() end |
#update_rules_of_ip_group(params = {}) ⇒ Struct
Replaces the current rules of the specified IP access control group with the specified rules.
7331 7332 7333 7334 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 7331 def update_rules_of_ip_group(params = {}, = {}) req = build_request(:update_rules_of_ip_group, params) req.send_request() end |
#update_workspace_bundle(params = {}) ⇒ Struct
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.
7368 7369 7370 7371 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 7368 def update_workspace_bundle(params = {}, = {}) req = build_request(:update_workspace_bundle, params) req.send_request() end |
#update_workspace_image_permission(params = {}) ⇒ Struct
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.
- 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.
7434 7435 7436 7437 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 7434 def (params = {}, = {}) req = build_request(:update_workspace_image_permission, params) req.send_request() end |
#update_workspaces_pool(params = {}) ⇒ Types::UpdateWorkspacesPoolResult
Updates the specified pool.
7533 7534 7535 7536 |
# File 'gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb', line 7533 def update_workspaces_pool(params = {}, = {}) req = build_request(:update_workspaces_pool, params) req.send_request() end |