amazonka-cloudhsm-2.0: Amazon CloudHSM SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • hsmArn :: Maybe Text

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

  • hsmSerialNumber :: Maybe Text

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

Instances

Instances details
ToJSON DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.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

AWSRequest DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Associated Types

type AWSResponse DescribeHsm #

Generic DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Associated Types

type Rep DescribeHsm :: Type -> Type #

Read DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Show DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

NFData DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Methods

rnf :: DescribeHsm -> () #

Eq DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Hashable DescribeHsm Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

type AWSResponse 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" "amazonka-cloudhsm-2.0-AR9j2lWCpfn9LR8RFi06vA" 'False) (C1 ('MetaCons "DescribeHsm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hsmArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hsmSerialNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

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:

DescribeHsm, describeHsm_hsmArn - The ARN of the HSM. Either the HsmArn or the SerialNumber parameter must be specified.

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

Request Lenses

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

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

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

The serial number of the HSM. Either the HsmArn or the HsmSerialNumber 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
Generic DescribeHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Associated Types

type Rep DescribeHsmResponse :: Type -> Type #

Read DescribeHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Show DescribeHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

NFData DescribeHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

Methods

rnf :: DescribeHsmResponse -> () #

Eq DescribeHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

type Rep DescribeHsmResponse Source # 
Instance details

Defined in Amazonka.CloudHSM.DescribeHsm

type Rep DescribeHsmResponse = D1 ('MetaData "DescribeHsmResponse" "Amazonka.CloudHSM.DescribeHsm" "amazonka-cloudhsm-2.0-AR9j2lWCpfn9LR8RFi06vA" 'False) (C1 ('MetaCons "DescribeHsmResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eniId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "eniIp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "hsmArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "hsmType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "iamRoleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "partitions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "serialNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "serverCertLastUpdated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serverCertUri") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "softwareVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "sshKeyLastUpdated") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sshPublicKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe HsmStatus)) :*: (S1 ('MetaSel ('Just "statusDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subnetId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "subscriptionEndDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "subscriptionStartDate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subscriptionType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SubscriptionType)))) :*: (S1 ('MetaSel ('Just "vendorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "vpcId") '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:availabilityZone:DescribeHsmResponse', describeHsmResponse_availabilityZone - The Availability Zone that the HSM is in.

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

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

DescribeHsm, describeHsmResponse_hsmArn - The ARN of the HSM.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Response Lenses

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

The Availability Zone that the HSM is in.

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

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

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

The IP address assigned to the HSM's ENI.

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

The ARN of the IAM role assigned to the HSM.

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

The list of partitions on the HSM.

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

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

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

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

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

Contains additional information about the status of the HSM.

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

The identifier of the subnet that the HSM is in.

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

The identifier of the VPC that the HSM is in.