Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Deletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To find these values, use DescribeClusters
.
- deleteHSM :: Text -> DeleteHSM
- data DeleteHSM
- dhEniId :: Lens' DeleteHSM (Maybe Text)
- dhHSMId :: Lens' DeleteHSM (Maybe Text)
- dhEniIP :: Lens' DeleteHSM (Maybe Text)
- dhClusterId :: Lens' DeleteHSM Text
- deleteHSMResponse :: Int -> DeleteHSMResponse
- data DeleteHSMResponse
- dhrsHSMId :: Lens' DeleteHSMResponse (Maybe Text)
- dhrsResponseStatus :: Lens' DeleteHSMResponse Int
Creating a Request
Creates a value of DeleteHSM
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dhEniId
- The identifier (ID) of the elastic network interface (ENI) of the HSM that you are deleting.dhHSMId
- The identifier (ID) of the HSM that you are deleting.dhEniIP
- The IP address of the elastic network interface (ENI) of the HSM that you are deleting.dhClusterId
- The identifier (ID) of the cluster that contains the HSM that you are deleting.
See: deleteHSM
smart constructor.
Request Lenses
dhEniId :: Lens' DeleteHSM (Maybe Text) Source #
The identifier (ID) of the elastic network interface (ENI) of the HSM that you are deleting.
dhHSMId :: Lens' DeleteHSM (Maybe Text) Source #
The identifier (ID) of the HSM that you are deleting.
dhEniIP :: Lens' DeleteHSM (Maybe Text) Source #
The IP address of the elastic network interface (ENI) of the HSM that you are deleting.
dhClusterId :: Lens' DeleteHSM Text Source #
The identifier (ID) of the cluster that contains the HSM that you are deleting.
Destructuring the Response
Creates a value of DeleteHSMResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dhrsHSMId
- The identifier (ID) of the HSM that was deleted.dhrsResponseStatus
- -- | The response status code.
data DeleteHSMResponse Source #
See: deleteHSMResponse
smart constructor.
Response Lenses
dhrsHSMId :: Lens' DeleteHSMResponse (Maybe Text) Source #
The identifier (ID) of the HSM that was deleted.
dhrsResponseStatus :: Lens' DeleteHSMResponse Int Source #
- - | The response status code.