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 |
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.
Synopsis
- data CreateHapg = CreateHapg' {}
- newCreateHapg :: Text -> CreateHapg
- createHapg_label :: Lens' CreateHapg Text
- data CreateHapgResponse = CreateHapgResponse' {
- hapgArn :: Maybe Text
- httpStatus :: Int
- newCreateHapgResponse :: Int -> CreateHapgResponse
- createHapgResponse_hapgArn :: Lens' CreateHapgResponse (Maybe Text)
- createHapgResponse_httpStatus :: Lens' CreateHapgResponse Int
Creating a Request
data CreateHapg Source #
Contains the inputs for the CreateHapgRequest action.
See: newCreateHapg
smart constructor.
Instances
Create a value of CreateHapg
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:label:CreateHapg'
, createHapg_label
- The label of the new high-availability partition group.
Request Lenses
createHapg_label :: Lens' CreateHapg Text Source #
The label of the new high-availability partition group.
Destructuring the Response
data CreateHapgResponse Source #
Contains the output of the CreateHAPartitionGroup action.
See: newCreateHapgResponse
smart constructor.
CreateHapgResponse' | |
|
Instances
newCreateHapgResponse Source #
Create a value of CreateHapgResponse
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:hapgArn:CreateHapgResponse'
, createHapgResponse_hapgArn
- The ARN of the high-availability partition group.
$sel:httpStatus:CreateHapgResponse'
, createHapgResponse_httpStatus
- The response's http status code.
Response Lenses
createHapgResponse_hapgArn :: Lens' CreateHapgResponse (Maybe Text) Source #
The ARN of the high-availability partition group.
createHapgResponse_httpStatus :: Lens' CreateHapgResponse Int Source #
The response's http status code.