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 |
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
- desrsStatus :: Lens' DescribeHSMResponse (Maybe HSMStatus)
- desrsIAMRoleARN :: Lens' DescribeHSMResponse (Maybe Text)
- desrsEniId :: Lens' DescribeHSMResponse (Maybe Text)
- desrsVPCId :: Lens' DescribeHSMResponse (Maybe Text)
- desrsSSHKeyLastUpdated :: Lens' DescribeHSMResponse (Maybe Text)
- desrsSubscriptionEndDate :: Lens' DescribeHSMResponse (Maybe Text)
- desrsServerCertURI :: Lens' DescribeHSMResponse (Maybe Text)
- desrsSubscriptionType :: Lens' DescribeHSMResponse (Maybe SubscriptionType)
- desrsSSHPublicKey :: Lens' DescribeHSMResponse (Maybe Text)
- desrsSubnetId :: Lens' DescribeHSMResponse (Maybe Text)
- desrsStatusDetails :: Lens' DescribeHSMResponse (Maybe Text)
- desrsPartitions :: Lens' DescribeHSMResponse [Text]
- desrsSubscriptionStartDate :: Lens' DescribeHSMResponse (Maybe Text)
- desrsAvailabilityZone :: Lens' DescribeHSMResponse (Maybe Text)
- desrsServerCertLastUpdated :: Lens' DescribeHSMResponse (Maybe Text)
- desrsSoftwareVersion :: Lens' DescribeHSMResponse (Maybe Text)
- desrsVendorName :: Lens' DescribeHSMResponse (Maybe Text)
- desrsSerialNumber :: Lens' DescribeHSMResponse (Maybe Text)
- desrsHSMARN :: Lens' DescribeHSMResponse (Maybe Text)
- desrsEniIP :: Lens' DescribeHSMResponse (Maybe Text)
- desrsHSMType :: Lens' DescribeHSMResponse (Maybe Text)
- desrsResponseStatus :: 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.
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
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:
desrsStatus
desrsIAMRoleARN
desrsEniId
desrsVPCId
desrsSSHKeyLastUpdated
desrsSubscriptionEndDate
desrsServerCertURI
desrsSubscriptionType
desrsSSHPublicKey
desrsSubnetId
desrsStatusDetails
desrsPartitions
desrsSubscriptionStartDate
desrsAvailabilityZone
desrsServerCertLastUpdated
desrsSoftwareVersion
desrsVendorName
desrsSerialNumber
desrsHSMARN
desrsEniIP
desrsHSMType
desrsResponseStatus
data DescribeHSMResponse Source
Contains the output of the DescribeHsm action.
See: describeHSMResponse
smart constructor.
Response Lenses
desrsStatus :: Lens' DescribeHSMResponse (Maybe HSMStatus) Source
The status of the HSM.
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.
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.
desrsSubscriptionEndDate :: Lens' DescribeHSMResponse (Maybe Text) Source
The subscription end date.
desrsServerCertURI :: Lens' DescribeHSMResponse (Maybe Text) Source
The URI of the certificate server.
desrsSubscriptionType :: Lens' DescribeHSMResponse (Maybe SubscriptionType) Source
The subscription type.
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.
desrsStatusDetails :: Lens' DescribeHSMResponse (Maybe Text) Source
Contains additional information about the status of the HSM.
desrsPartitions :: Lens' DescribeHSMResponse [Text] Source
The list of partitions on the HSM.
desrsSubscriptionStartDate :: Lens' DescribeHSMResponse (Maybe Text) Source
The subscription start date.
desrsAvailabilityZone :: Lens' DescribeHSMResponse (Maybe Text) Source
The Availability Zone that the HSM is in.
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.
desrsVendorName :: Lens' DescribeHSMResponse (Maybe Text) Source
The name of the HSM vendor.
desrsSerialNumber :: Lens' DescribeHSMResponse (Maybe Text) Source
The serial number of the HSM.
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.
desrsResponseStatus :: Lens' DescribeHSMResponse Int Source
The response status code.