Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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_hsmArn :: Lens' DescribeHsm (Maybe Text)
- describeHsm_hsmSerialNumber :: Lens' DescribeHsm (Maybe Text)
- data DescribeHsmResponse = DescribeHsmResponse' {
- availabilityZone :: Maybe Text
- eniId :: Maybe Text
- eniIp :: Maybe Text
- hsmArn :: Maybe Text
- hsmType :: Maybe Text
- iamRoleArn :: Maybe Text
- partitions :: Maybe [Text]
- serialNumber :: Maybe Text
- serverCertLastUpdated :: Maybe Text
- serverCertUri :: Maybe Text
- softwareVersion :: Maybe Text
- sshKeyLastUpdated :: Maybe Text
- sshPublicKey :: Maybe Text
- status :: Maybe HsmStatus
- statusDetails :: Maybe Text
- subnetId :: Maybe Text
- subscriptionEndDate :: Maybe Text
- subscriptionStartDate :: Maybe Text
- subscriptionType :: Maybe SubscriptionType
- vendorName :: Maybe Text
- vpcId :: Maybe Text
- httpStatus :: Int
- newDescribeHsmResponse :: Int -> DescribeHsmResponse
- describeHsmResponse_availabilityZone :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_eniId :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_eniIp :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_hsmArn :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_hsmType :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_iamRoleArn :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_partitions :: Lens' DescribeHsmResponse (Maybe [Text])
- describeHsmResponse_serialNumber :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_serverCertLastUpdated :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_serverCertUri :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_softwareVersion :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_sshKeyLastUpdated :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_sshPublicKey :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_status :: Lens' DescribeHsmResponse (Maybe HsmStatus)
- describeHsmResponse_statusDetails :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_subnetId :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_subscriptionEndDate :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_subscriptionStartDate :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_subscriptionType :: Lens' DescribeHsmResponse (Maybe SubscriptionType)
- describeHsmResponse_vendorName :: Lens' DescribeHsmResponse (Maybe Text)
- describeHsmResponse_vpcId :: 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:
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.
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: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_hsmArn :: Lens' DescribeHsmResponse (Maybe Text) Source #
The ARN of the HSM.
describeHsmResponse_hsmType :: Lens' DescribeHsmResponse (Maybe Text) Source #
The HSM model type.
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_serialNumber :: Lens' DescribeHsmResponse (Maybe Text) Source #
The serial number of the HSM.
describeHsmResponse_serverCertLastUpdated :: Lens' DescribeHsmResponse (Maybe Text) Source #
The date and time that the server certificate was last updated.
describeHsmResponse_serverCertUri :: Lens' DescribeHsmResponse (Maybe Text) Source #
The URI of the certificate server.
describeHsmResponse_softwareVersion :: Lens' DescribeHsmResponse (Maybe Text) Source #
The HSM software version.
describeHsmResponse_sshKeyLastUpdated :: Lens' DescribeHsmResponse (Maybe Text) Source #
The date and time that the SSH key was last updated.
describeHsmResponse_sshPublicKey :: Lens' DescribeHsmResponse (Maybe Text) Source #
The public SSH key.
describeHsmResponse_status :: Lens' DescribeHsmResponse (Maybe HsmStatus) Source #
The status of the HSM.
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_subscriptionEndDate :: Lens' DescribeHsmResponse (Maybe Text) Source #
The subscription end date.
describeHsmResponse_subscriptionStartDate :: Lens' DescribeHsmResponse (Maybe Text) Source #
The subscription start date.
describeHsmResponse_subscriptionType :: Lens' DescribeHsmResponse (Maybe SubscriptionType) Source #
Undocumented member.
describeHsmResponse_vendorName :: Lens' DescribeHsmResponse (Maybe Text) Source #
The name of the HSM vendor.
describeHsmResponse_vpcId :: Lens' DescribeHsmResponse (Maybe Text) Source #
The identifier of the VPC that the HSM is in.
describeHsmResponse_httpStatus :: Lens' DescribeHsmResponse Int Source #
The response's http status code.