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 HSM.
This operation can result in the HSM being offline for up to 15 minutes while the AWS CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure that your AWS CloudHSM service is configured for high availability, and consider executing this operation during a maintenance window.
Synopsis
- data ModifyHsm = ModifyHsm' {}
- newModifyHsm :: Text -> ModifyHsm
- modifyHsm_iamRoleArn :: Lens' ModifyHsm (Maybe Text)
- modifyHsm_subnetId :: Lens' ModifyHsm (Maybe Text)
- modifyHsm_syslogIp :: Lens' ModifyHsm (Maybe Text)
- modifyHsm_externalId :: Lens' ModifyHsm (Maybe Text)
- modifyHsm_eniIp :: Lens' ModifyHsm (Maybe Text)
- modifyHsm_hsmArn :: Lens' ModifyHsm Text
- data ModifyHsmResponse = ModifyHsmResponse' {
- hsmArn :: Maybe Text
- httpStatus :: Int
- newModifyHsmResponse :: Int -> ModifyHsmResponse
- modifyHsmResponse_hsmArn :: Lens' ModifyHsmResponse (Maybe Text)
- modifyHsmResponse_httpStatus :: Lens' ModifyHsmResponse Int
Creating a Request
Contains the inputs for the ModifyHsm operation.
See: newModifyHsm
smart constructor.
ModifyHsm' | |
|
Instances
Create a value of ModifyHsm
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:iamRoleArn:ModifyHsm'
, modifyHsm_iamRoleArn
- The new IAM role ARN.
$sel:subnetId:ModifyHsm'
, modifyHsm_subnetId
- The new identifier of the subnet that the HSM is in. The new subnet must
be in the same Availability Zone as the current subnet.
$sel:syslogIp:ModifyHsm'
, modifyHsm_syslogIp
- The new IP address for the syslog monitoring server. The AWS CloudHSM
service only supports one syslog monitoring server.
$sel:externalId:ModifyHsm'
, modifyHsm_externalId
- The new external ID.
$sel:eniIp:ModifyHsm'
, modifyHsm_eniIp
- The new IP address for the elastic network interface (ENI) attached to
the HSM.
If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
$sel:hsmArn:ModifyHsm'
, modifyHsm_hsmArn
- The ARN of the HSM to modify.
Request Lenses
modifyHsm_subnetId :: Lens' ModifyHsm (Maybe Text) Source #
The new identifier of the subnet that the HSM is in. The new subnet must be in the same Availability Zone as the current subnet.
modifyHsm_syslogIp :: Lens' ModifyHsm (Maybe Text) Source #
The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
modifyHsm_eniIp :: Lens' ModifyHsm (Maybe Text) Source #
The new IP address for the elastic network interface (ENI) attached to the HSM.
If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
Destructuring the Response
data ModifyHsmResponse Source #
Contains the output of the ModifyHsm operation.
See: newModifyHsmResponse
smart constructor.
ModifyHsmResponse' | |
|
Instances
Create a value of ModifyHsmResponse
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:hsmArn:ModifyHsm'
, modifyHsmResponse_hsmArn
- The ARN of the HSM.
$sel:httpStatus:ModifyHsmResponse'
, modifyHsmResponse_httpStatus
- The response's http status code.
Response Lenses
modifyHsmResponse_hsmArn :: Lens' ModifyHsmResponse (Maybe Text) Source #
The ARN of the HSM.
modifyHsmResponse_httpStatus :: Lens' ModifyHsmResponse Int Source #
The response's http status code.