Copyright | (c) 2013-2016 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 |
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.
- modifyHSM :: Text -> ModifyHSM
- data ModifyHSM
- mhIAMRoleARN :: Lens' ModifyHSM (Maybe Text)
- mhSubnetId :: Lens' ModifyHSM (Maybe Text)
- mhSyslogIP :: Lens' ModifyHSM (Maybe Text)
- mhExternalId :: Lens' ModifyHSM (Maybe Text)
- mhEniIP :: Lens' ModifyHSM (Maybe Text)
- mhHSMARN :: Lens' ModifyHSM Text
- modifyHSMResponse :: Int -> ModifyHSMResponse
- data ModifyHSMResponse
- mhsmrsHSMARN :: Lens' ModifyHSMResponse (Maybe Text)
- mhsmrsResponseStatus :: Lens' ModifyHSMResponse Int
Creating a Request
Creates a value of ModifyHSM
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Request Lenses
mhSubnetId :: 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.
mhSyslogIP :: Lens' ModifyHSM (Maybe Text) Source #
The new IP address for the syslog monitoring server. The AWS CloudHSM service only supports one syslog monitoring server.
mhEniIP :: 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
Creates a value of ModifyHSMResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ModifyHSMResponse Source #
Contains the output of the ModifyHsm operation.
See: modifyHSMResponse
smart constructor.
Response Lenses
mhsmrsHSMARN :: Lens' ModifyHSMResponse (Maybe Text) Source #
The ARN of the HSM.
mhsmrsResponseStatus :: Lens' ModifyHSMResponse Int Source #
The response status code.