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

Amazonka.CloudHSM.DescribeHsm

Description

This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

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

Synopsis

Creating a Request

data DescribeHsm Source #

Contains the inputs for the DescribeHsm operation.

See: newDescribeHsm smart constructor.

Constructors

DescribeHsm' 

Fields

  • hsmSerialNumber :: Maybe Text

    The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.

  • hsmArn :: Maybe Text

    The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.

Instances

Instances details
Eq DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Read DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Show DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Generic DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Associated Types

type Rep DescribeHsm :: Type -> Type #

NFData DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Methods

rnf :: DescribeHsm -> () #

Hashable DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

ToJSON DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

AWSRequest DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Associated Types

type AWSResponse DescribeHsm #

ToHeaders DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Methods

toHeaders :: DescribeHsm -> [Header] #

ToPath DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

ToQuery DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

type Rep DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

type Rep DescribeHsm = D1 ('MetaData "DescribeHsm" "Amazonka.CloudHSM.DescribeHsm" "libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm" 'False) (C1 ('MetaCons "DescribeHsm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hsmSerialNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hsmArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

newDescribeHsm :: DescribeHsm Source #

Create a value of DescribeHsm with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:hsmSerialNumber:DescribeHsm', describeHsm_hsmSerialNumber - The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.

$sel:hsmArn:DescribeHsm', describeHsm_hsmArn - The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.

Request Lenses

describeHsm_hsmSerialNumber :: Lens' DescribeHsm (Maybe Text) Source #

The serial number of the HSM. Either the HsmArn or the HsmSerialNumber parameter must be specified.

describeHsm_hsmArn :: Lens' DescribeHsm (Maybe Text) Source #

The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.

Destructuring the Response

data DescribeHsmResponse Source #

Contains the output of the DescribeHsm operation.

See: newDescribeHsmResponse smart constructor.

Constructors

DescribeHsmResponse' 

Fields

Instances

Instances details
Eq DescribeHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Read DescribeHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Show DescribeHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Generic DescribeHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Associated Types

type Rep DescribeHsmResponse :: Type -> Type #

NFData DescribeHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Methods

rnf :: DescribeHsmResponse -> () #

type Rep DescribeHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

type Rep DescribeHsmResponse = D1 ('MetaData "DescribeHsmResponse" "Amazonka.CloudHSM.DescribeHsm" "libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm" 'False) (C1 ('MetaCons "DescribeHsmResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HsmStatus)) :*: S1 ('MetaSel ('Just "iamRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "eniId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "vpcId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sshKeyLastUpdated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "subscriptionEndDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serverCertUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subscriptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SubscriptionType)))) :*: (S1 ('MetaSel ('Just "sshPublicKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "subnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "statusDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "partitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "subscriptionStartDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serverCertLastUpdated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "softwareVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "vendorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serialNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hsmArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "eniIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "hsmType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))))

newDescribeHsmResponse Source #

Create a value of DescribeHsmResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:status:DescribeHsmResponse', describeHsmResponse_status - The status of the HSM.

$sel:iamRoleArn:DescribeHsmResponse', describeHsmResponse_iamRoleArn - The ARN of the IAM role assigned to the HSM.

$sel:eniId:DescribeHsmResponse', describeHsmResponse_eniId - The identifier of the elastic network interface (ENI) attached to the HSM.

$sel:vpcId:DescribeHsmResponse', describeHsmResponse_vpcId - The identifier of the VPC that the HSM is in.

$sel:sshKeyLastUpdated:DescribeHsmResponse', describeHsmResponse_sshKeyLastUpdated - The date and time that the SSH key was last updated.

$sel:subscriptionEndDate:DescribeHsmResponse', describeHsmResponse_subscriptionEndDate - The subscription end date.

$sel:serverCertUri:DescribeHsmResponse', describeHsmResponse_serverCertUri - The URI of the certificate server.

$sel:subscriptionType:DescribeHsmResponse', describeHsmResponse_subscriptionType - Undocumented member.

$sel:sshPublicKey:DescribeHsmResponse', describeHsmResponse_sshPublicKey - The public SSH key.

$sel:subnetId:DescribeHsmResponse', describeHsmResponse_subnetId - The identifier of the subnet that the HSM is in.

$sel:statusDetails:DescribeHsmResponse', describeHsmResponse_statusDetails - Contains additional information about the status of the HSM.

$sel:partitions:DescribeHsmResponse', describeHsmResponse_partitions - The list of partitions on the HSM.

$sel:subscriptionStartDate:DescribeHsmResponse', describeHsmResponse_subscriptionStartDate - The subscription start date.

$sel:availabilityZone:DescribeHsmResponse', describeHsmResponse_availabilityZone - The Availability Zone that the HSM is in.

$sel:serverCertLastUpdated:DescribeHsmResponse', describeHsmResponse_serverCertLastUpdated - The date and time that the server certificate was last updated.

$sel:softwareVersion:DescribeHsmResponse', describeHsmResponse_softwareVersion - The HSM software version.

$sel:vendorName:DescribeHsmResponse', describeHsmResponse_vendorName - The name of the HSM vendor.

$sel:serialNumber:DescribeHsmResponse', describeHsmResponse_serialNumber - The serial number of the HSM.

$sel:hsmArn:DescribeHsm', describeHsmResponse_hsmArn - The ARN of the HSM.

$sel:eniIp:DescribeHsmResponse', describeHsmResponse_eniIp - The IP address assigned to the HSM's ENI.

$sel:hsmType:DescribeHsmResponse', describeHsmResponse_hsmType - The HSM model type.

$sel:httpStatus:DescribeHsmResponse', describeHsmResponse_httpStatus - The response's http status code.

Response Lenses

describeHsmResponse_iamRoleArn :: Lens' DescribeHsmResponse (Maybe Text) Source #

The ARN of the IAM role assigned to the HSM.

describeHsmResponse_eniId :: Lens' DescribeHsmResponse (Maybe Text) Source #

The identifier of the elastic network interface (ENI) attached to the HSM.

describeHsmResponse_vpcId :: Lens' DescribeHsmResponse (Maybe Text) Source #

The identifier of the VPC that the HSM is in.

describeHsmResponse_sshKeyLastUpdated :: Lens' DescribeHsmResponse (Maybe Text) Source #

The date and time that the SSH key was last updated.

describeHsmResponse_subnetId :: Lens' DescribeHsmResponse (Maybe Text) Source #

The identifier of the subnet that the HSM is in.

describeHsmResponse_statusDetails :: Lens' DescribeHsmResponse (Maybe Text) Source #

Contains additional information about the status of the HSM.

describeHsmResponse_partitions :: Lens' DescribeHsmResponse (Maybe [Text]) Source #

The list of partitions on the HSM.

describeHsmResponse_availabilityZone :: Lens' DescribeHsmResponse (Maybe Text) Source #

The Availability Zone that the HSM is in.

describeHsmResponse_serverCertLastUpdated :: Lens' DescribeHsmResponse (Maybe Text) Source #

The date and time that the server certificate was last updated.

describeHsmResponse_eniIp :: Lens' DescribeHsmResponse (Maybe Text) Source #

The IP address assigned to the HSM's ENI.