| Copyright | (c) 2013-2015 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.CloudHSM.CreateHAPG
Description
Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.
See: AWS API Reference for CreateHAPG.
Creating a Request
Arguments
| :: Text | |
| -> CreateHAPG |
Creates a value of CreateHAPG with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateHAPG Source
Contains the inputs for the CreateHapgRequest action.
See: createHAPG smart constructor.
Request Lenses
chLabel :: Lens' CreateHAPG Text Source
The label of the new high-availability partition group.
Destructuring the Response
Arguments
| :: Int | |
| -> CreateHAPGResponse |
Creates a value of CreateHAPGResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateHAPGResponse Source
Contains the output of the CreateHAPartitionGroup action.
See: createHAPGResponse smart constructor.
Response Lenses
chrsHAPGARN :: Lens' CreateHAPGResponse (Maybe Text) Source
The ARN of the high-availability partition group.
chrsStatus :: Lens' CreateHAPGResponse Int Source
The response status code.