Copyright | (c) 2013-2017 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 |
Language | Haskell2010 |
Creates a stack.
- createStack :: Text -> CreateStack
- data CreateStack
- csStorageConnectors :: Lens' CreateStack [StorageConnector]
- 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
:: 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:
csStorageConnectors
- The storage connectors to enable.csDisplayName
- The stack name displayed to end users.csDescription
- The description displayed to end users.csName
- The name of the stack.
data CreateStack Source #
See: createStack
smart constructor.
Request Lenses
csStorageConnectors :: Lens' CreateStack [StorageConnector] Source #
The storage connectors to enable.
csDisplayName :: Lens' CreateStack (Maybe Text) Source #
The stack name displayed to end users.
csDescription :: Lens' CreateStack (Maybe Text) Source #
The description displayed to end users.
Destructuring the Response
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
- Information about the stack.csrsResponseStatus
- -- | The response status code.
data CreateStackResponse Source #
See: createStackResponse
smart constructor.
Response Lenses
csrsResponseStatus :: Lens' CreateStackResponse Int Source #
- - | The response status code.