Struct aws_sdk_workspaces::client::Client [−][src]
pub struct Client<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Client for Amazon WorkSpaces
Client for invoking operations on Amazon WorkSpaces. Each operation on Amazon WorkSpaces is a method on this
this struct. .send()
MUST be invoked on the generated operations to dispatch the request to the service.
Examples
Constructing a client and invoking an operation
// create a shared configuration. This can be used & shared between multiple service clients.
let shared_config = aws_config::load_from_env().await;
let client = aws_sdk_workspaces::Client::new(&shared_config);
// invoke an operation
/* let rsp = client
.<operationname>().
.<param>("some value")
.send().await; */
Constructing a client with custom configuration
use aws_config::RetryConfig;
let shared_config = aws_config::load_from_env().await;
let config = aws_sdk_workspaces::config::Builder::from(&shared_config)
.retry_config(RetryConfig::disabled())
.build();
let client = aws_sdk_workspaces::Client::from_conf(config);
Implementations
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> Client<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
Constructs a fluent builder for the AssociateConnectionAlias
operation.
See AssociateConnectionAlias
for more information about the
operation and its arguments.
Constructs a fluent builder for the AssociateIpGroups
operation.
See AssociateIpGroups
for more information about the
operation and its arguments.
Constructs a fluent builder for the AuthorizeIpRules
operation.
See AuthorizeIpRules
for more information about the
operation and its arguments.
Constructs a fluent builder for the CopyWorkspaceImage
operation.
See CopyWorkspaceImage
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateConnectionAlias
operation.
See CreateConnectionAlias
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateIpGroup
operation.
See CreateIpGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateTags
operation.
See CreateTags
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateUpdatedWorkspaceImage
operation.
See CreateUpdatedWorkspaceImage
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateWorkspaceBundle
operation.
See CreateWorkspaceBundle
for more information about the
operation and its arguments.
Constructs a fluent builder for the CreateWorkspaces
operation.
See CreateWorkspaces
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteConnectionAlias
operation.
See DeleteConnectionAlias
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteIpGroup
operation.
See DeleteIpGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteTags
operation.
See DeleteTags
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteWorkspaceBundle
operation.
See DeleteWorkspaceBundle
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeleteWorkspaceImage
operation.
See DeleteWorkspaceImage
for more information about the
operation and its arguments.
Constructs a fluent builder for the DeregisterWorkspaceDirectory
operation.
See DeregisterWorkspaceDirectory
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeAccount
operation.
See DescribeAccount
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeAccountModifications
operation.
See DescribeAccountModifications
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeClientProperties
operation.
See DescribeClientProperties
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeConnectionAliases
operation.
See DescribeConnectionAliases
for more information about the
operation and its arguments.
pub fn describe_connection_alias_permissions(
&self
) -> DescribeConnectionAliasPermissions<C, M, R>
pub fn describe_connection_alias_permissions(
&self
) -> DescribeConnectionAliasPermissions<C, M, R>
Constructs a fluent builder for the DescribeConnectionAliasPermissions
operation.
See DescribeConnectionAliasPermissions
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeIpGroups
operation.
See DescribeIpGroups
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeTags
operation.
See DescribeTags
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeWorkspaceBundles
operation.
See DescribeWorkspaceBundles
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeWorkspaceDirectories
operation.
See DescribeWorkspaceDirectories
for more information about the
operation and its arguments.
pub fn describe_workspace_image_permissions(
&self
) -> DescribeWorkspaceImagePermissions<C, M, R>
pub fn describe_workspace_image_permissions(
&self
) -> DescribeWorkspaceImagePermissions<C, M, R>
Constructs a fluent builder for the DescribeWorkspaceImagePermissions
operation.
See DescribeWorkspaceImagePermissions
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeWorkspaceImages
operation.
See DescribeWorkspaceImages
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeWorkspaces
operation.
See DescribeWorkspaces
for more information about the
operation and its arguments.
pub fn describe_workspaces_connection_status(
&self
) -> DescribeWorkspacesConnectionStatus<C, M, R>
pub fn describe_workspaces_connection_status(
&self
) -> DescribeWorkspacesConnectionStatus<C, M, R>
Constructs a fluent builder for the DescribeWorkspacesConnectionStatus
operation.
See DescribeWorkspacesConnectionStatus
for more information about the
operation and its arguments.
Constructs a fluent builder for the DescribeWorkspaceSnapshots
operation.
See DescribeWorkspaceSnapshots
for more information about the
operation and its arguments.
Constructs a fluent builder for the DisassociateConnectionAlias
operation.
See DisassociateConnectionAlias
for more information about the
operation and its arguments.
Constructs a fluent builder for the DisassociateIpGroups
operation.
See DisassociateIpGroups
for more information about the
operation and its arguments.
Constructs a fluent builder for the ImportWorkspaceImage
operation.
See ImportWorkspaceImage
for more information about the
operation and its arguments.
pub fn list_available_management_cidr_ranges(
&self
) -> ListAvailableManagementCidrRanges<C, M, R>
pub fn list_available_management_cidr_ranges(
&self
) -> ListAvailableManagementCidrRanges<C, M, R>
Constructs a fluent builder for the ListAvailableManagementCidrRanges
operation.
See ListAvailableManagementCidrRanges
for more information about the
operation and its arguments.
Constructs a fluent builder for the MigrateWorkspace
operation.
See MigrateWorkspace
for more information about the
operation and its arguments.
Constructs a fluent builder for the ModifyAccount
operation.
See ModifyAccount
for more information about the
operation and its arguments.
Constructs a fluent builder for the ModifyClientProperties
operation.
See ModifyClientProperties
for more information about the
operation and its arguments.
Constructs a fluent builder for the ModifySelfservicePermissions
operation.
See ModifySelfservicePermissions
for more information about the
operation and its arguments.
Constructs a fluent builder for the ModifyWorkspaceAccessProperties
operation.
See ModifyWorkspaceAccessProperties
for more information about the
operation and its arguments.
pub fn modify_workspace_creation_properties(
&self
) -> ModifyWorkspaceCreationProperties<C, M, R>
pub fn modify_workspace_creation_properties(
&self
) -> ModifyWorkspaceCreationProperties<C, M, R>
Constructs a fluent builder for the ModifyWorkspaceCreationProperties
operation.
See ModifyWorkspaceCreationProperties
for more information about the
operation and its arguments.
Constructs a fluent builder for the ModifyWorkspaceProperties
operation.
See ModifyWorkspaceProperties
for more information about the
operation and its arguments.
Constructs a fluent builder for the ModifyWorkspaceState
operation.
See ModifyWorkspaceState
for more information about the
operation and its arguments.
Constructs a fluent builder for the RebootWorkspaces
operation.
See RebootWorkspaces
for more information about the
operation and its arguments.
Constructs a fluent builder for the RebuildWorkspaces
operation.
See RebuildWorkspaces
for more information about the
operation and its arguments.
Constructs a fluent builder for the RegisterWorkspaceDirectory
operation.
See RegisterWorkspaceDirectory
for more information about the
operation and its arguments.
Constructs a fluent builder for the RestoreWorkspace
operation.
See RestoreWorkspace
for more information about the
operation and its arguments.
Constructs a fluent builder for the RevokeIpRules
operation.
See RevokeIpRules
for more information about the
operation and its arguments.
Constructs a fluent builder for the StartWorkspaces
operation.
See StartWorkspaces
for more information about the
operation and its arguments.
Constructs a fluent builder for the StopWorkspaces
operation.
See StopWorkspaces
for more information about the
operation and its arguments.
Constructs a fluent builder for the TerminateWorkspaces
operation.
See TerminateWorkspaces
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateConnectionAliasPermission
operation.
See UpdateConnectionAliasPermission
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateRulesOfIpGroup
operation.
See UpdateRulesOfIpGroup
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateWorkspaceBundle
operation.
See UpdateWorkspaceBundle
for more information about the
operation and its arguments.
Constructs a fluent builder for the UpdateWorkspaceImagePermission
operation.
See UpdateWorkspaceImagePermission
for more information about the
operation and its arguments.
Creates a client with the given service config and connector override.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for Client<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for Client<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more