| 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.
data CreateStack Source #
See: createStack smart constructor.
Instances
Request Lenses
csDisplayName :: Lens' CreateStack (Maybe Text) Source #
The name displayed to end users on the AppStream 2.0 portal.
csDescription :: Lens' CreateStack (Maybe Text) Source #
The description displayed to end users on the AppStream 2.0 portal.
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 Source #
See: createStackResponse smart constructor.
Response Lenses
csrsResponseStatus :: Lens' CreateStackResponse Int Source #
- - | The response status code.