Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates the specified WorkSpace bundle. For more information about creating WorkSpace bundles, see Create a Custom WorkSpaces Image and Bundle.
Synopsis
- data CreateWorkspaceBundle = CreateWorkspaceBundle' {}
- newCreateWorkspaceBundle :: Text -> Text -> Text -> ComputeType -> UserStorage -> CreateWorkspaceBundle
- createWorkspaceBundle_rootStorage :: Lens' CreateWorkspaceBundle (Maybe RootStorage)
- createWorkspaceBundle_tags :: Lens' CreateWorkspaceBundle (Maybe [Tag])
- createWorkspaceBundle_bundleName :: Lens' CreateWorkspaceBundle Text
- createWorkspaceBundle_bundleDescription :: Lens' CreateWorkspaceBundle Text
- createWorkspaceBundle_imageId :: Lens' CreateWorkspaceBundle Text
- createWorkspaceBundle_computeType :: Lens' CreateWorkspaceBundle ComputeType
- createWorkspaceBundle_userStorage :: Lens' CreateWorkspaceBundle UserStorage
- data CreateWorkspaceBundleResponse = CreateWorkspaceBundleResponse' {}
- newCreateWorkspaceBundleResponse :: Int -> CreateWorkspaceBundleResponse
- createWorkspaceBundleResponse_workspaceBundle :: Lens' CreateWorkspaceBundleResponse (Maybe WorkspaceBundle)
- createWorkspaceBundleResponse_httpStatus :: Lens' CreateWorkspaceBundleResponse Int
Creating a Request
data CreateWorkspaceBundle Source #
See: newCreateWorkspaceBundle
smart constructor.
CreateWorkspaceBundle' | |
|
Instances
newCreateWorkspaceBundle Source #
:: Text | |
-> Text | |
-> Text | |
-> ComputeType | |
-> UserStorage | |
-> CreateWorkspaceBundle |
Create a value of CreateWorkspaceBundle
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:rootStorage:CreateWorkspaceBundle'
, createWorkspaceBundle_rootStorage
- Undocumented member.
$sel:tags:CreateWorkspaceBundle'
, createWorkspaceBundle_tags
- The tags associated with the bundle.
To add tags at the same time when you're creating the bundle, you must
create an IAM policy that grants your IAM user permissions to use
workspaces:CreateTags
.
$sel:bundleName:CreateWorkspaceBundle'
, createWorkspaceBundle_bundleName
- The name of the bundle.
$sel:bundleDescription:CreateWorkspaceBundle'
, createWorkspaceBundle_bundleDescription
- The description of the bundle.
$sel:imageId:CreateWorkspaceBundle'
, createWorkspaceBundle_imageId
- The identifier of the image that is used to create the bundle.
$sel:computeType:CreateWorkspaceBundle'
, createWorkspaceBundle_computeType
- Undocumented member.
$sel:userStorage:CreateWorkspaceBundle'
, createWorkspaceBundle_userStorage
- Undocumented member.
Request Lenses
createWorkspaceBundle_rootStorage :: Lens' CreateWorkspaceBundle (Maybe RootStorage) Source #
Undocumented member.
createWorkspaceBundle_tags :: Lens' CreateWorkspaceBundle (Maybe [Tag]) Source #
The tags associated with the bundle.
To add tags at the same time when you're creating the bundle, you must
create an IAM policy that grants your IAM user permissions to use
workspaces:CreateTags
.
createWorkspaceBundle_bundleName :: Lens' CreateWorkspaceBundle Text Source #
The name of the bundle.
createWorkspaceBundle_bundleDescription :: Lens' CreateWorkspaceBundle Text Source #
The description of the bundle.
createWorkspaceBundle_imageId :: Lens' CreateWorkspaceBundle Text Source #
The identifier of the image that is used to create the bundle.
createWorkspaceBundle_computeType :: Lens' CreateWorkspaceBundle ComputeType Source #
Undocumented member.
createWorkspaceBundle_userStorage :: Lens' CreateWorkspaceBundle UserStorage Source #
Undocumented member.
Destructuring the Response
data CreateWorkspaceBundleResponse Source #
See: newCreateWorkspaceBundleResponse
smart constructor.
CreateWorkspaceBundleResponse' | |
|
Instances
newCreateWorkspaceBundleResponse Source #
Create a value of CreateWorkspaceBundleResponse
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:workspaceBundle:CreateWorkspaceBundleResponse'
, createWorkspaceBundleResponse_workspaceBundle
- Undocumented member.
$sel:httpStatus:CreateWorkspaceBundleResponse'
, createWorkspaceBundleResponse_httpStatus
- The response's http status code.
Response Lenses
createWorkspaceBundleResponse_workspaceBundle :: Lens' CreateWorkspaceBundleResponse (Maybe WorkspaceBundle) Source #
Undocumented member.
createWorkspaceBundleResponse_httpStatus :: Lens' CreateWorkspaceBundleResponse Int Source #
The response's http status code.