Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DescribeHsm = DescribeHsm' {}
- newDescribeHsm :: DescribeHsm
- describeHsm_hsmSerialNumber :: Lens' DescribeHsm (Maybe Text)
- describeHsm_hsmArn :: Lens' DescribeHsm (Maybe Text)
- data DescribeHsmResponse = DescribeHsmResponse' {
- status :: Maybe HsmStatus
- iamRoleArn :: Maybe Text
- eniId :: Maybe Text
- vpcId :: Maybe Text
- sshKeyLastUpdated :: Maybe Text
- subscriptionEndDate :: Maybe Text
- serverCertUri :: Maybe Text
- subscriptionType :: Maybe SubscriptionType
- sshPublicKey :: Maybe Text
- subnetId :: Maybe Text
- statusDetails :: Maybe Text
- partitions :: Maybe [Text]
- subscriptionStartDate :: Maybe Text
- availabilityZone :: Maybe Text
- serverCertLastUpdated :: Maybe Text
- softwareVersion :: Maybe Text
- vendorName :: Maybe Text
- serialNumber :: Maybe Text
- hsmArn :: Maybe Text
- eniIp :: Maybe Text
- hsmType :: Maybe Text
- httpStatus :: Int
- newDescribeHsmResponse :: Int -> DescribeHsmResponse
- describeHsmResponse_status :: Lens' DescribeHsmResponse (Maybe HsmStatus)
- describeHsmResponse_iamRoleArn :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_eniId :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_vpcId :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_sshKeyLastUpdated :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_subscriptionEndDate :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_serverCertUri :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_subscriptionType :: Lens' DescribeHsmResponse (Maybe SubscriptionType)
- describeHsmResponse_sshPublicKey :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_subnetId :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_statusDetails :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_partitions :: Lens' DescribeHsmResponse (Maybe [Text])
- describeHsmResponse_subscriptionStartDate :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_availabilityZone :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_serverCertLastUpdated :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_softwareVersion :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_vendorName :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_serialNumber :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_hsmArn :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_eniIp :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_hsmType :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_httpStatus :: Lens' DescribeHsmResponse Int
Creating a Request
data DescribeHsm Source #
Contains the inputs for the DescribeHsm operation.
See: newDescribeHsm
smart constructor.
Instances
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.
DescribeHsmResponse' | |
|
Instances
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_status :: Lens' DescribeHsmResponse (Maybe HsmStatus) Source #
The status of the HSM.
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_subscriptionEndDate :: Lens' DescribeHsmResponse (Maybe Text) Source #
The subscription end date.
describeHsmResponse_serverCertUri :: Lens' DescribeHsmResponse (Maybe Text) Source #
The URI of the certificate server.
describeHsmResponse_subscriptionType :: Lens' DescribeHsmResponse (Maybe SubscriptionType) Source #
Undocumented member.
describeHsmResponse_sshPublicKey :: Lens' DescribeHsmResponse (Maybe Text) Source #
The public SSH key.
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_subscriptionStartDate :: Lens' DescribeHsmResponse (Maybe Text) Source #
The subscription start date.
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_softwareVersion :: Lens' DescribeHsmResponse (Maybe Text) Source #
The HSM software version.
describeHsmResponse_vendorName :: Lens' DescribeHsmResponse (Maybe Text) Source #
The name of the HSM vendor.
describeHsmResponse_serialNumber :: Lens' DescribeHsmResponse (Maybe Text) Source #
The serial number of the HSM.
describeHsmResponse_hsmArn :: Lens' DescribeHsmResponse (Maybe Text) Source #
The ARN of the HSM.
describeHsmResponse_eniIp :: Lens' DescribeHsmResponse (Maybe Text) Source #
The IP address assigned to the HSM's ENI.
describeHsmResponse_hsmType :: Lens' DescribeHsmResponse (Maybe Text) Source #
The HSM model type.
describeHsmResponse_httpStatus :: Lens' DescribeHsmResponse Int Source #
The response's http status code.