amazonka-cloudhsm-1.2.0.2: Amazon CloudHSM SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudHSM.DescribeHSM

Contents

Description

Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.

See: AWS API Reference for DescribeHSM.

Synopsis

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:

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

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.

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.

desrsStatusDetails :: Lens' DescribeHSMResponse (Maybe Text) Source

Contains additional information about the status of the HSM.

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.

desrsServerCertLastUpdated :: Lens' DescribeHSMResponse (Maybe Text) Source

The date and time the server certificate was last updated.

desrsSerialNumber :: Lens' DescribeHSMResponse (Maybe Text) Source

The serial number of the HSM.

desrsVendorName :: Lens' DescribeHSMResponse (Maybe Text) Source

The name of the HSM vendor.

desrsEniIP :: Lens' DescribeHSMResponse (Maybe Text) Source

The IP address assigned to the HSM's ENI.

desrsStatus :: Lens' DescribeHSMResponse Int Source

The response status code.