| 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 |
Network.AWS.CloudHSM.DescribeHSM
Description
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
See: AWS API Reference for DescribeHSM.
- describeHSM :: DescribeHSM
- data DescribeHSM
- dhsmHSMSerialNumber :: Lens' DescribeHSM (Maybe Text)
- dhsmHSMARN :: Lens' DescribeHSM (Maybe Text)
- describeHSMResponse :: Int -> DescribeHSMResponse
- data DescribeHSMResponse
- desrsIAMRoleARN :: Lens' DescribeHSMResponse (Maybe Text)
- desrsEniId :: Lens' DescribeHSMResponse (Maybe Text)
- desrsSubscriptionEndDate :: Lens' DescribeHSMResponse (Maybe Text)
- desrsVPCId :: Lens' DescribeHSMResponse (Maybe Text)
- desrsSSHKeyLastUpdated :: Lens' DescribeHSMResponse (Maybe Text)
- desrsServerCertURI :: Lens' DescribeHSMResponse (Maybe Text)
- desrsSubscriptionType :: Lens' DescribeHSMResponse (Maybe SubscriptionType)
- desrsStatusDetails :: Lens' DescribeHSMResponse (Maybe Text)
- desrsSSHPublicKey :: Lens' DescribeHSMResponse (Maybe Text)
- desrsSubnetId :: Lens' DescribeHSMResponse (Maybe Text)
- desrsPartitions :: Lens' DescribeHSMResponse [Text]
- desrsAvailabilityZone :: Lens' DescribeHSMResponse (Maybe Text)
- desrsSubscriptionStartDate :: Lens' DescribeHSMResponse (Maybe Text)
- desrsServerCertLastUpdated :: Lens' DescribeHSMResponse (Maybe Text)
- desrsSoftwareVersion :: Lens' DescribeHSMResponse (Maybe Text)
- desrsSerialNumber :: Lens' DescribeHSMResponse (Maybe Text)
- desrsVendorName :: Lens' DescribeHSMResponse (Maybe Text)
- desrsHSMARN :: Lens' DescribeHSMResponse (Maybe Text)
- desrsEniIP :: Lens' DescribeHSMResponse (Maybe Text)
- desrsHSMType :: Lens' DescribeHSMResponse (Maybe Text)
- desrsStatus :: Lens' DescribeHSMResponse Int
Creating a Request
describeHSM :: DescribeHSM Source
Creates a value of DescribeHSM with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeHSM Source
Contains the inputs for the DescribeHsm action.
See: describeHSM smart constructor.
Instances
Request Lenses
dhsmHSMSerialNumber :: Lens' DescribeHSM (Maybe Text) Source
The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.
dhsmHSMARN :: Lens' DescribeHSM (Maybe Text) Source
The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.
Destructuring the Response
Arguments
| :: Int | |
| -> DescribeHSMResponse |
Creates a value of DescribeHSMResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
desrsIAMRoleARNdesrsEniIddesrsSubscriptionEndDatedesrsVPCIddesrsSSHKeyLastUpdateddesrsServerCertURIdesrsSubscriptionTypedesrsStatusDetailsdesrsSSHPublicKeydesrsSubnetIddesrsPartitionsdesrsAvailabilityZonedesrsSubscriptionStartDatedesrsServerCertLastUpdateddesrsSoftwareVersiondesrsSerialNumberdesrsVendorNamedesrsHSMARNdesrsEniIPdesrsHSMTypedesrsStatus
data DescribeHSMResponse Source
Contains the output of the DescribeHsm action.
See: describeHSMResponse smart constructor.
Response Lenses
desrsIAMRoleARN :: Lens' DescribeHSMResponse (Maybe Text) Source
The ARN of the IAM role assigned to the HSM.
desrsEniId :: Lens' DescribeHSMResponse (Maybe Text) Source
The identifier of the elastic network interface (ENI) attached to the HSM.
desrsSubscriptionEndDate :: Lens' DescribeHSMResponse (Maybe Text) Source
The subscription end date.
desrsVPCId :: Lens' DescribeHSMResponse (Maybe Text) Source
The identifier of the VPC that the HSM is in.
desrsSSHKeyLastUpdated :: Lens' DescribeHSMResponse (Maybe Text) Source
The date and time the SSH key was last updated.
desrsServerCertURI :: Lens' DescribeHSMResponse (Maybe Text) Source
The URI of the certificate server.
desrsSubscriptionType :: Lens' DescribeHSMResponse (Maybe SubscriptionType) Source
The subscription type.
desrsStatusDetails :: Lens' DescribeHSMResponse (Maybe Text) Source
Contains additional information about the status of the HSM.
desrsSSHPublicKey :: Lens' DescribeHSMResponse (Maybe Text) Source
The public SSH key.
desrsSubnetId :: Lens' DescribeHSMResponse (Maybe Text) Source
The identifier of the subnet the HSM is in.
desrsPartitions :: Lens' DescribeHSMResponse [Text] Source
The list of partitions on the HSM.
desrsAvailabilityZone :: Lens' DescribeHSMResponse (Maybe Text) Source
The Availability Zone that the HSM is in.
desrsSubscriptionStartDate :: Lens' DescribeHSMResponse (Maybe Text) Source
The subscription start date.
desrsServerCertLastUpdated :: Lens' DescribeHSMResponse (Maybe Text) Source
The date and time the server certificate was last updated.
desrsSoftwareVersion :: Lens' DescribeHSMResponse (Maybe Text) Source
The HSM software version.
desrsSerialNumber :: Lens' DescribeHSMResponse (Maybe Text) Source
The serial number of the HSM.
desrsVendorName :: Lens' DescribeHSMResponse (Maybe Text) Source
The name of the HSM vendor.
desrsHSMARN :: Lens' DescribeHSMResponse (Maybe Text) Source
The ARN of the HSM.
desrsEniIP :: Lens' DescribeHSMResponse (Maybe Text) Source
The IP address assigned to the HSM's ENI.
desrsHSMType :: Lens' DescribeHSMResponse (Maybe Text) Source
The HSM model type.
desrsStatus :: Lens' DescribeHSMResponse Int Source
The response status code.