| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WorkSpaces.UpdateWorkspaceBundle
Description
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.
Synopsis
- data UpdateWorkspaceBundle = UpdateWorkspaceBundle' {}
- newUpdateWorkspaceBundle :: UpdateWorkspaceBundle
- updateWorkspaceBundle_bundleId :: Lens' UpdateWorkspaceBundle (Maybe Text)
- updateWorkspaceBundle_imageId :: Lens' UpdateWorkspaceBundle (Maybe Text)
- data UpdateWorkspaceBundleResponse = UpdateWorkspaceBundleResponse' {
- httpStatus :: Int
- newUpdateWorkspaceBundleResponse :: Int -> UpdateWorkspaceBundleResponse
- updateWorkspaceBundleResponse_httpStatus :: Lens' UpdateWorkspaceBundleResponse Int
Creating a Request
data UpdateWorkspaceBundle Source #
See: newUpdateWorkspaceBundle smart constructor.
Constructors
| UpdateWorkspaceBundle' | |
Instances
newUpdateWorkspaceBundle :: UpdateWorkspaceBundle Source #
Create a value of UpdateWorkspaceBundle with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateWorkspaceBundle, updateWorkspaceBundle_bundleId - The identifier of the bundle.
UpdateWorkspaceBundle, updateWorkspaceBundle_imageId - The identifier of the image.
Request Lenses
updateWorkspaceBundle_bundleId :: Lens' UpdateWorkspaceBundle (Maybe Text) Source #
The identifier of the bundle.
updateWorkspaceBundle_imageId :: Lens' UpdateWorkspaceBundle (Maybe Text) Source #
The identifier of the image.
Destructuring the Response
data UpdateWorkspaceBundleResponse Source #
See: newUpdateWorkspaceBundleResponse smart constructor.
Constructors
| UpdateWorkspaceBundleResponse' | |
Fields
| |
Instances
newUpdateWorkspaceBundleResponse Source #
Create a value of UpdateWorkspaceBundleResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateWorkspaceBundleResponse', updateWorkspaceBundleResponse_httpStatus - The response's http status code.
Response Lenses
updateWorkspaceBundleResponse_httpStatus :: Lens' UpdateWorkspaceBundleResponse Int Source #
The response's http status code.