UpdateWorkspaceBundle - Amazon WorkSpaces Service


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.

Request Syntax

{ "BundleId": "string", "ImageId": "string" }

Request Parameters

The request accepts the following data in JSON format.


The identifier of the bundle.

Type: String

Pattern: ^wsb-[0-9a-z]{8,63}$

Required: No


The identifier of the image.

Type: String

Pattern: wsi-[0-9a-z]{9,63}$

Required: No

Response Elements

If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.


For information about the errors that are common to all actions, see Common Errors.


The user is not authorized to access a resource.

HTTP Status Code: 400


One or more parameter values are not valid.

HTTP Status Code: 400


This operation is not supported.

HTTP Status Code: 400


The resource could not be found.

HTTP Status Code: 400


The specified resource is not available.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: