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.
Modifies an existing high-availability partition group.
Synopsis
- data ModifyHapg = ModifyHapg' {}
- newModifyHapg :: Text -> ModifyHapg
- modifyHapg_partitionSerialList :: Lens' ModifyHapg (Maybe [Text])
- modifyHapg_label :: Lens' ModifyHapg (Maybe Text)
- modifyHapg_hapgArn :: Lens' ModifyHapg Text
- data ModifyHapgResponse = ModifyHapgResponse' {
- hapgArn :: Maybe Text
- httpStatus :: Int
- newModifyHapgResponse :: Int -> ModifyHapgResponse
- modifyHapgResponse_hapgArn :: Lens' ModifyHapgResponse (Maybe Text)
- modifyHapgResponse_httpStatus :: Lens' ModifyHapgResponse Int
Creating a Request
data ModifyHapg Source #
See: newModifyHapg
smart constructor.
Instances
Create a value of ModifyHapg
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:partitionSerialList:ModifyHapg'
, modifyHapg_partitionSerialList
- The list of partition serial numbers to make members of the
high-availability partition group.
$sel:label:ModifyHapg'
, modifyHapg_label
- The new label for the high-availability partition group.
$sel:hapgArn:ModifyHapg'
, modifyHapg_hapgArn
- The ARN of the high-availability partition group to modify.
Request Lenses
modifyHapg_partitionSerialList :: Lens' ModifyHapg (Maybe [Text]) Source #
The list of partition serial numbers to make members of the high-availability partition group.
modifyHapg_label :: Lens' ModifyHapg (Maybe Text) Source #
The new label for the high-availability partition group.
modifyHapg_hapgArn :: Lens' ModifyHapg Text Source #
The ARN of the high-availability partition group to modify.
Destructuring the Response
data ModifyHapgResponse Source #
See: newModifyHapgResponse
smart constructor.
ModifyHapgResponse' | |
|
Instances
newModifyHapgResponse Source #
Create a value of ModifyHapgResponse
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:ModifyHapg'
, modifyHapgResponse_hapgArn
- The ARN of the high-availability partition group.
$sel:httpStatus:ModifyHapgResponse'
, modifyHapgResponse_httpStatus
- The response's http status code.
Response Lenses
modifyHapgResponse_hapgArn :: Lens' ModifyHapgResponse (Maybe Text) Source #
The ARN of the high-availability partition group.
modifyHapgResponse_httpStatus :: Lens' ModifyHapgResponse Int Source #
The response's http status code.