WorkSpaces / Client / update_workspace_bundle

update_workspace_bundle#

WorkSpaces.Client.update_workspace_bundle(**kwargs)#

Updates a WorkSpace bundle with a new image. For more information about updating WorkSpace bundles, see Update a Custom WorkSpaces Bundle.

Warning

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.

See also: AWS API Documentation

Request Syntax

response = client.update_workspace_bundle(
    BundleId='string',
    ImageId='string'
)
Parameters:
  • BundleId (string) – The identifier of the bundle.

  • ImageId (string) – The identifier of the image.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • WorkSpaces.Client.exceptions.AccessDeniedException

  • WorkSpaces.Client.exceptions.InvalidParameterValuesException

  • WorkSpaces.Client.exceptions.ResourceNotFoundException

  • WorkSpaces.Client.exceptions.ResourceUnavailableException

  • WorkSpaces.Client.exceptions.OperationNotSupportedException