Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.AppStream.CreateStack
Description
Create a new stack.
- createStack :: Text -> CreateStack
- data CreateStack
- csDisplayName :: Lens' CreateStack (Maybe Text)
- csDescription :: Lens' CreateStack (Maybe Text)
- csName :: Lens' CreateStack Text
- createStackResponse :: Int -> CreateStackResponse
- data CreateStackResponse
- csrsStack :: Lens' CreateStackResponse (Maybe Stack)
- csrsResponseStatus :: Lens' CreateStackResponse Int
Creating a Request
Arguments
:: Text | |
-> CreateStack |
Creates a value of CreateStack
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csDisplayName
- The name displayed to end users on the AppStream 2.0 portal.csDescription
- The description displayed to end users on the AppStream 2.0 portal.csName
- The unique identifier for this stack.
Request Lenses
csDisplayName :: Lens' CreateStack (Maybe Text) #
The name displayed to end users on the AppStream 2.0 portal.
csDescription :: Lens' CreateStack (Maybe Text) #
The description displayed to end users on the AppStream 2.0 portal.
csName :: Lens' CreateStack Text #
The unique identifier for this stack.
Destructuring the Response
Arguments
:: Int | |
-> CreateStackResponse |
Creates a value of CreateStackResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
csrsStack
- The details for the created stack.csrsResponseStatus
- -- | The response status code.
data CreateStackResponse #
See: createStackResponse
smart constructor.
Response Lenses
csrsResponseStatus :: Lens' CreateStackResponse Int #
- - | The response status code.