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 |
Creates an app block.
App blocks are an Amazon AppStream 2.0 resource that stores the details about the virtual hard disk in an S3 bucket. It also stores the setup script with details about how to mount the virtual hard disk. The virtual hard disk includes the application binaries and other files necessary to launch your applications. Multiple applications can be assigned to a single app block.
This is only supported for Elastic fleets.
Synopsis
- data CreateAppBlock = CreateAppBlock' {}
- newCreateAppBlock :: Text -> S3Location -> ScriptDetails -> CreateAppBlock
- createAppBlock_description :: Lens' CreateAppBlock (Maybe Text)
- createAppBlock_displayName :: Lens' CreateAppBlock (Maybe Text)
- createAppBlock_tags :: Lens' CreateAppBlock (Maybe (HashMap Text Text))
- createAppBlock_name :: Lens' CreateAppBlock Text
- createAppBlock_sourceS3Location :: Lens' CreateAppBlock S3Location
- createAppBlock_setupScriptDetails :: Lens' CreateAppBlock ScriptDetails
- data CreateAppBlockResponse = CreateAppBlockResponse' {
- appBlock :: Maybe AppBlock
- httpStatus :: Int
- newCreateAppBlockResponse :: Int -> CreateAppBlockResponse
- createAppBlockResponse_appBlock :: Lens' CreateAppBlockResponse (Maybe AppBlock)
- createAppBlockResponse_httpStatus :: Lens' CreateAppBlockResponse Int
Creating a Request
data CreateAppBlock Source #
See: newCreateAppBlock
smart constructor.
CreateAppBlock' | |
|
Instances
Create a value of CreateAppBlock
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:
CreateAppBlock
, createAppBlock_description
- The description of the app block.
CreateAppBlock
, createAppBlock_displayName
- The display name of the app block. This is not displayed to the user.
$sel:tags:CreateAppBlock'
, createAppBlock_tags
- The tags assigned to the app block.
CreateAppBlock
, createAppBlock_name
- The name of the app block.
CreateAppBlock
, createAppBlock_sourceS3Location
- The source S3 location of the app block.
CreateAppBlock
, createAppBlock_setupScriptDetails
- The setup script details of the app block.
Request Lenses
createAppBlock_description :: Lens' CreateAppBlock (Maybe Text) Source #
The description of the app block.
createAppBlock_displayName :: Lens' CreateAppBlock (Maybe Text) Source #
The display name of the app block. This is not displayed to the user.
createAppBlock_tags :: Lens' CreateAppBlock (Maybe (HashMap Text Text)) Source #
The tags assigned to the app block.
createAppBlock_name :: Lens' CreateAppBlock Text Source #
The name of the app block.
createAppBlock_sourceS3Location :: Lens' CreateAppBlock S3Location Source #
The source S3 location of the app block.
createAppBlock_setupScriptDetails :: Lens' CreateAppBlock ScriptDetails Source #
The setup script details of the app block.
Destructuring the Response
data CreateAppBlockResponse Source #
See: newCreateAppBlockResponse
smart constructor.
CreateAppBlockResponse' | |
|
Instances
newCreateAppBlockResponse Source #
Create a value of CreateAppBlockResponse
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:appBlock:CreateAppBlockResponse'
, createAppBlockResponse_appBlock
- The app block.
$sel:httpStatus:CreateAppBlockResponse'
, createAppBlockResponse_httpStatus
- The response's http status code.
Response Lenses
createAppBlockResponse_appBlock :: Lens' CreateAppBlockResponse (Maybe AppBlock) Source #
The app block.
createAppBlockResponse_httpStatus :: Lens' CreateAppBlockResponse Int Source #
The response's http status code.