AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to UpdateWorkspaceBundleAsync.

Namespace: Amazon.WorkSpaces
Assembly: AWSSDK.WorkSpaces.dll
Version: 3.x.y.z

Syntax

C#
public abstract UpdateWorkspaceBundleResponse UpdateWorkspaceBundle(
         UpdateWorkspaceBundleRequest request
)

Parameters

request
Type: Amazon.WorkSpaces.Model.UpdateWorkspaceBundleRequest

Container for the necessary parameters to execute the UpdateWorkspaceBundle service method.

Return Value


The response from the UpdateWorkspaceBundle service method, as returned by WorkSpaces.

Exceptions

ExceptionCondition
AccessDeniedException The user is not authorized to access a resource.
InvalidParameterValuesException One or more parameter values are not valid.
OperationNotSupportedException This operation is not supported.
ResourceNotFoundException The resource could not be found.
ResourceUnavailableException The specified resource is not available.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also