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 a stack to start streaming applications to users. A stack consists of an associated fleet, user access policies, and storage configurations.
Synopsis
- data CreateStack = CreateStack' {
- userSettings :: Maybe (NonEmpty UserSetting)
- applicationSettings :: Maybe ApplicationSettings
- feedbackURL :: Maybe Text
- storageConnectors :: Maybe [StorageConnector]
- accessEndpoints :: Maybe (NonEmpty AccessEndpoint)
- displayName :: Maybe Text
- embedHostDomains :: Maybe (NonEmpty Text)
- description :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- redirectURL :: Maybe Text
- name :: Text
- newCreateStack :: Text -> CreateStack
- createStack_userSettings :: Lens' CreateStack (Maybe (NonEmpty UserSetting))
- createStack_applicationSettings :: Lens' CreateStack (Maybe ApplicationSettings)
- createStack_feedbackURL :: Lens' CreateStack (Maybe Text)
- createStack_storageConnectors :: Lens' CreateStack (Maybe [StorageConnector])
- createStack_accessEndpoints :: Lens' CreateStack (Maybe (NonEmpty AccessEndpoint))
- createStack_displayName :: Lens' CreateStack (Maybe Text)
- createStack_embedHostDomains :: Lens' CreateStack (Maybe (NonEmpty Text))
- createStack_description :: Lens' CreateStack (Maybe Text)
- createStack_tags :: Lens' CreateStack (Maybe (HashMap Text Text))
- createStack_redirectURL :: Lens' CreateStack (Maybe Text)
- createStack_name :: Lens' CreateStack Text
- data CreateStackResponse = CreateStackResponse' {
- stack :: Maybe Stack
- httpStatus :: Int
- newCreateStackResponse :: Int -> CreateStackResponse
- createStackResponse_stack :: Lens' CreateStackResponse (Maybe Stack)
- createStackResponse_httpStatus :: Lens' CreateStackResponse Int
Creating a Request
data CreateStack Source #
See: newCreateStack
smart constructor.
CreateStack' | |
|
Instances
Create a value of CreateStack
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:userSettings:CreateStack'
, createStack_userSettings
- The actions that are enabled or disabled for users during their
streaming sessions. By default, these actions are enabled.
$sel:applicationSettings:CreateStack'
, createStack_applicationSettings
- The persistent application settings for users of a stack. When these
settings are enabled, changes that users make to applications and
Windows settings are automatically saved after each session and applied
to the next session.
$sel:feedbackURL:CreateStack'
, createStack_feedbackURL
- The URL that users are redirected to after they click the Send Feedback
link. If no URL is specified, no Send Feedback link is displayed.
$sel:storageConnectors:CreateStack'
, createStack_storageConnectors
- The storage connectors to enable.
$sel:accessEndpoints:CreateStack'
, createStack_accessEndpoints
- The list of interface VPC endpoint (interface endpoint) objects. Users
of the stack can connect to AppStream 2.0 only through the specified
endpoints.
$sel:displayName:CreateStack'
, createStack_displayName
- The stack name to display.
$sel:embedHostDomains:CreateStack'
, createStack_embedHostDomains
- The domains where AppStream 2.0 streaming sessions can be embedded in an
iframe. You must approve the domains that you want to host embedded
AppStream 2.0 streaming sessions.
$sel:description:CreateStack'
, createStack_description
- The description to display.
$sel:tags:CreateStack'
, createStack_tags
- The tags to associate with the stack. A tag is a key-value pair, and the
value is optional. For example, Environment=Test. If you do not specify
a value, Environment=.
If you do not specify a value, the value is set to an empty string.
Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:
_ . : / = + \ - @
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
$sel:redirectURL:CreateStack'
, createStack_redirectURL
- The URL that users are redirected to after their streaming session ends.
$sel:name:CreateStack'
, createStack_name
- The name of the stack.
Request Lenses
createStack_userSettings :: Lens' CreateStack (Maybe (NonEmpty UserSetting)) Source #
The actions that are enabled or disabled for users during their streaming sessions. By default, these actions are enabled.
createStack_applicationSettings :: Lens' CreateStack (Maybe ApplicationSettings) Source #
The persistent application settings for users of a stack. When these settings are enabled, changes that users make to applications and Windows settings are automatically saved after each session and applied to the next session.
createStack_feedbackURL :: Lens' CreateStack (Maybe Text) Source #
The URL that users are redirected to after they click the Send Feedback link. If no URL is specified, no Send Feedback link is displayed.
createStack_storageConnectors :: Lens' CreateStack (Maybe [StorageConnector]) Source #
The storage connectors to enable.
createStack_accessEndpoints :: Lens' CreateStack (Maybe (NonEmpty AccessEndpoint)) Source #
The list of interface VPC endpoint (interface endpoint) objects. Users of the stack can connect to AppStream 2.0 only through the specified endpoints.
createStack_displayName :: Lens' CreateStack (Maybe Text) Source #
The stack name to display.
createStack_embedHostDomains :: Lens' CreateStack (Maybe (NonEmpty Text)) Source #
The domains where AppStream 2.0 streaming sessions can be embedded in an iframe. You must approve the domains that you want to host embedded AppStream 2.0 streaming sessions.
createStack_description :: Lens' CreateStack (Maybe Text) Source #
The description to display.
createStack_tags :: Lens' CreateStack (Maybe (HashMap Text Text)) Source #
The tags to associate with the stack. A tag is a key-value pair, and the value is optional. For example, Environment=Test. If you do not specify a value, Environment=.
If you do not specify a value, the value is set to an empty string.
Generally allowed characters are: letters, numbers, and spaces representable in UTF-8, and the following special characters:
_ . : / = + \ - @
For more information about tags, see Tagging Your Resources in the Amazon AppStream 2.0 Administration Guide.
createStack_redirectURL :: Lens' CreateStack (Maybe Text) Source #
The URL that users are redirected to after their streaming session ends.
createStack_name :: Lens' CreateStack Text Source #
The name of the stack.
Destructuring the Response
data CreateStackResponse Source #
See: newCreateStackResponse
smart constructor.
CreateStackResponse' | |
|
Instances
newCreateStackResponse Source #
Create a value of CreateStackResponse
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:stack:CreateStackResponse'
, createStackResponse_stack
- Information about the stack.
$sel:httpStatus:CreateStackResponse'
, createStackResponse_httpStatus
- The response's http status code.
Response Lenses
createStackResponse_stack :: Lens' CreateStackResponse (Maybe Stack) Source #
Information about the stack.
createStackResponse_httpStatus :: Lens' CreateStackResponse Int Source #
The response's http status code.