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 |
Modifies an HSM.
See: AWS API Reference for ModifyHSM.
- 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:
Contains the inputs for the ModifyHsm action.
See: modifyHSM
smart constructor.
Request Lenses
mhSubnetId :: Lens' ModifyHSM (Maybe Text) Source
The new identifier of the subnet that the HSM is in.
mhSyslogIP :: Lens' ModifyHSM (Maybe Text) Source
The new IP address for the syslog monitoring server.
mhEniIP :: Lens' ModifyHSM (Maybe Text) Source
The new IP address for the elastic network interface attached to the HSM.
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 action.
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.