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 |
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.
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.
UpdateWorkspaceBundleResponse' | |
|
Instances
Generic UpdateWorkspaceBundleResponse Source # | |
Read UpdateWorkspaceBundleResponse Source # | |
Show UpdateWorkspaceBundleResponse Source # | |
Defined in Amazonka.WorkSpaces.UpdateWorkspaceBundle showsPrec :: Int -> UpdateWorkspaceBundleResponse -> ShowS # show :: UpdateWorkspaceBundleResponse -> String # showList :: [UpdateWorkspaceBundleResponse] -> ShowS # | |
NFData UpdateWorkspaceBundleResponse Source # | |
Defined in Amazonka.WorkSpaces.UpdateWorkspaceBundle rnf :: UpdateWorkspaceBundleResponse -> () # | |
Eq UpdateWorkspaceBundleResponse Source # | |
type Rep UpdateWorkspaceBundleResponse Source # | |
Defined in Amazonka.WorkSpaces.UpdateWorkspaceBundle type Rep UpdateWorkspaceBundleResponse = D1 ('MetaData "UpdateWorkspaceBundleResponse" "Amazonka.WorkSpaces.UpdateWorkspaceBundle" "amazonka-workspaces-2.0-EI6zVIh1dgfFziJEJ0Fxkv" 'False) (C1 ('MetaCons "UpdateWorkspaceBundleResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.