| 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 |
Amazonka.CloudHSM
Description
Derived from API version 2014-05-30 of the AWS service descriptions, licensed under Apache 2.0.
AWS CloudHSM Service
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.
Synopsis
- defaultService :: Service
- _CloudHsmInternalException :: AsError a => Fold a ServiceError
- _CloudHsmServiceException :: AsError a => Fold a ServiceError
- _InvalidRequestException :: AsError a => Fold a ServiceError
- data AddTagsToResource = AddTagsToResource' Text [Tag]
- newAddTagsToResource :: Text -> AddTagsToResource
- data AddTagsToResourceResponse = AddTagsToResourceResponse' Int Text
- newAddTagsToResourceResponse :: Int -> Text -> AddTagsToResourceResponse
- data CreateHapg = CreateHapg' Text
- newCreateHapg :: Text -> CreateHapg
- data CreateHapgResponse = CreateHapgResponse' (Maybe Text) Int
- newCreateHapgResponse :: Int -> CreateHapgResponse
- data CreateHsm = CreateHsm' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text SubscriptionType
- newCreateHsm :: Text -> Text -> Text -> SubscriptionType -> CreateHsm
- data CreateHsmResponse = CreateHsmResponse' (Maybe Text) Int
- newCreateHsmResponse :: Int -> CreateHsmResponse
- data CreateLunaClient = CreateLunaClient' (Maybe Text) Text
- newCreateLunaClient :: Text -> CreateLunaClient
- data CreateLunaClientResponse = CreateLunaClientResponse' (Maybe Text) Int
- newCreateLunaClientResponse :: Int -> CreateLunaClientResponse
- data DeleteHapg = DeleteHapg' Text
- newDeleteHapg :: Text -> DeleteHapg
- data DeleteHapgResponse = DeleteHapgResponse' Int Text
- newDeleteHapgResponse :: Int -> Text -> DeleteHapgResponse
- data DeleteHsm = DeleteHsm' Text
- newDeleteHsm :: Text -> DeleteHsm
- data DeleteHsmResponse = DeleteHsmResponse' Int Text
- newDeleteHsmResponse :: Int -> Text -> DeleteHsmResponse
- data DeleteLunaClient = DeleteLunaClient' Text
- newDeleteLunaClient :: Text -> DeleteLunaClient
- data DeleteLunaClientResponse = DeleteLunaClientResponse' Int Text
- newDeleteLunaClientResponse :: Int -> Text -> DeleteLunaClientResponse
- data DescribeHapg = DescribeHapg' Text
- newDescribeHapg :: Text -> DescribeHapg
- data DescribeHapgResponse = DescribeHapgResponse' (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe CloudHsmObjectState) Int
- newDescribeHapgResponse :: Int -> DescribeHapgResponse
- data DescribeHsm = DescribeHsm' (Maybe Text) (Maybe Text)
- newDescribeHsm :: DescribeHsm
- data DescribeHsmResponse = DescribeHsmResponse' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe HsmStatus) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe SubscriptionType) (Maybe Text) (Maybe Text) Int
- newDescribeHsmResponse :: Int -> DescribeHsmResponse
- data DescribeLunaClient = DescribeLunaClient' (Maybe Text) (Maybe Text)
- newDescribeLunaClient :: DescribeLunaClient
- data DescribeLunaClientResponse = DescribeLunaClientResponse' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Int
- newDescribeLunaClientResponse :: Int -> DescribeLunaClientResponse
- data GetConfig = GetConfig' Text ClientVersion [Text]
- newGetConfig :: Text -> ClientVersion -> GetConfig
- data GetConfigResponse = GetConfigResponse' (Maybe Text) (Maybe Text) (Maybe Text) Int
- newGetConfigResponse :: Int -> GetConfigResponse
- data ListAvailableZones = ListAvailableZones' {
- newListAvailableZones :: ListAvailableZones
- data ListAvailableZonesResponse = ListAvailableZonesResponse' (Maybe [Text]) Int
- newListAvailableZonesResponse :: Int -> ListAvailableZonesResponse
- data ListHapgs = ListHapgs' (Maybe Text)
- newListHapgs :: ListHapgs
- data ListHapgsResponse = ListHapgsResponse' (Maybe Text) Int [Text]
- newListHapgsResponse :: Int -> ListHapgsResponse
- data ListHsms = ListHsms' (Maybe Text)
- newListHsms :: ListHsms
- data ListHsmsResponse = ListHsmsResponse' (Maybe [Text]) (Maybe Text) Int
- newListHsmsResponse :: Int -> ListHsmsResponse
- data ListLunaClients = ListLunaClients' (Maybe Text)
- newListLunaClients :: ListLunaClients
- data ListLunaClientsResponse = ListLunaClientsResponse' (Maybe Text) Int [Text]
- newListLunaClientsResponse :: Int -> ListLunaClientsResponse
- data ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' Int [Tag]
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- data ModifyHapg = ModifyHapg' (Maybe Text) (Maybe [Text]) Text
- newModifyHapg :: Text -> ModifyHapg
- data ModifyHapgResponse = ModifyHapgResponse' (Maybe Text) Int
- newModifyHapgResponse :: Int -> ModifyHapgResponse
- data ModifyHsm = ModifyHsm' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text
- newModifyHsm :: Text -> ModifyHsm
- data ModifyHsmResponse = ModifyHsmResponse' (Maybe Text) Int
- newModifyHsmResponse :: Int -> ModifyHsmResponse
- data ModifyLunaClient = ModifyLunaClient' Text Text
- newModifyLunaClient :: Text -> Text -> ModifyLunaClient
- data ModifyLunaClientResponse = ModifyLunaClientResponse' (Maybe Text) Int
- newModifyLunaClientResponse :: Int -> ModifyLunaClientResponse
- data RemoveTagsFromResource = RemoveTagsFromResource' Text [Text]
- newRemoveTagsFromResource :: Text -> RemoveTagsFromResource
- data RemoveTagsFromResourceResponse = RemoveTagsFromResourceResponse' Int Text
- newRemoveTagsFromResourceResponse :: Int -> Text -> RemoveTagsFromResourceResponse
- newtype ClientVersion where
- ClientVersion' { }
- pattern ClientVersion_ :: ClientVersion
- newtype CloudHsmObjectState where
- newtype HsmStatus where
- HsmStatus' { }
- pattern HsmStatus_DEGRADED :: HsmStatus
- pattern HsmStatus_PENDING :: HsmStatus
- pattern HsmStatus_RUNNING :: HsmStatus
- pattern HsmStatus_SUSPENDED :: HsmStatus
- pattern HsmStatus_TERMINATED :: HsmStatus
- pattern HsmStatus_TERMINATING :: HsmStatus
- pattern HsmStatus_UPDATING :: HsmStatus
- newtype SubscriptionType where
- SubscriptionType' { }
- pattern SubscriptionType_PRODUCTION :: SubscriptionType
- data Tag = Tag' Text Text
- newTag :: Text -> Text -> Tag
Service Configuration
defaultService :: Service Source #
API version 2014-05-30 of the Amazon CloudHSM SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by CloudHSM.
CloudHsmInternalException
_CloudHsmInternalException :: AsError a => Fold a ServiceError Source #
Indicates that an internal error occurred.
CloudHsmServiceException
_CloudHsmServiceException :: AsError a => Fold a ServiceError Source #
Indicates that an exception occurred in the AWS CloudHSM service.
InvalidRequestException
_InvalidRequestException :: AsError a => Fold a ServiceError Source #
Indicates that one or more of the request parameters are not valid.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait specification is fulfilled. The Wait specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
AddTagsToResource
data AddTagsToResource Source #
See: newAddTagsToResource smart constructor.
Constructors
| AddTagsToResource' Text [Tag] |
Instances
Arguments
| :: Text | |
| -> AddTagsToResource |
Create a value of AddTagsToResource 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:resourceArn:AddTagsToResource', addTagsToResource_resourceArn - The Amazon Resource Name (ARN) of the AWS CloudHSM resource to tag.
$sel:tagList:AddTagsToResource', addTagsToResource_tagList - One or more tags.
data AddTagsToResourceResponse Source #
See: newAddTagsToResourceResponse smart constructor.
Constructors
| AddTagsToResourceResponse' Int Text |
Instances
newAddTagsToResourceResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> AddTagsToResourceResponse |
Create a value of AddTagsToResourceResponse 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:httpStatus:AddTagsToResourceResponse', addTagsToResourceResponse_httpStatus - The response's http status code.
$sel:status:AddTagsToResourceResponse', addTagsToResourceResponse_status - The status of the operation.
CreateHapg
data CreateHapg Source #
Contains the inputs for the CreateHapgRequest action.
See: newCreateHapg smart constructor.
Constructors
| CreateHapg' Text |
Instances
Arguments
| :: Text | |
| -> CreateHapg |
Create a value of CreateHapg 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:label:CreateHapg', createHapg_label - The label of the new high-availability partition group.
data CreateHapgResponse Source #
Contains the output of the CreateHAPartitionGroup action.
See: newCreateHapgResponse smart constructor.
Constructors
| CreateHapgResponse' (Maybe Text) Int |
Instances
newCreateHapgResponse Source #
Arguments
| :: Int | |
| -> CreateHapgResponse |
Create a value of CreateHapgResponse 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:hapgArn:CreateHapgResponse', createHapgResponse_hapgArn - The ARN of the high-availability partition group.
$sel:httpStatus:CreateHapgResponse', createHapgResponse_httpStatus - The response's http status code.
CreateHsm
Contains the inputs for the CreateHsm operation.
See: newCreateHsm smart constructor.
Constructors
| CreateHsm' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text SubscriptionType |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> SubscriptionType | |
| -> CreateHsm |
Create a value of CreateHsm 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:clientToken:CreateHsm', createHsm_clientToken - A user-defined token to ensure idempotence. Subsequent calls to this
operation with the same token will be ignored.
$sel:eniIp:CreateHsm', createHsm_eniIp - The IP address to assign to the HSM's ENI.
If an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the subnet.
$sel:externalId:CreateHsm', createHsm_externalId - The external ID from IamRoleArn, if present.
$sel:syslogIp:CreateHsm', createHsm_syslogIp - The IP address for the syslog monitoring server. The AWS CloudHSM
service only supports one syslog monitoring server.
$sel:subnetId:CreateHsm', createHsm_subnetId - The identifier of the subnet in your VPC in which to place the HSM.
$sel:sshKey:CreateHsm', createHsm_sshKey - The SSH public key to install on the HSM.
$sel:iamRoleArn:CreateHsm', createHsm_iamRoleArn - The ARN of an IAM role to enable the AWS CloudHSM service to allocate an
ENI on your behalf.
$sel:subscriptionType:CreateHsm', createHsm_subscriptionType - Undocumented member.
data CreateHsmResponse Source #
Contains the output of the CreateHsm operation.
See: newCreateHsmResponse smart constructor.
Constructors
| CreateHsmResponse' (Maybe Text) Int |
Instances
Arguments
| :: Int | |
| -> CreateHsmResponse |
Create a value of CreateHsmResponse 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:hsmArn:CreateHsmResponse', createHsmResponse_hsmArn - The ARN of the HSM.
$sel:httpStatus:CreateHsmResponse', createHsmResponse_httpStatus - The response's http status code.
CreateLunaClient
data CreateLunaClient Source #
Contains the inputs for the CreateLunaClient action.
See: newCreateLunaClient smart constructor.
Constructors
| CreateLunaClient' (Maybe Text) Text |
Instances
Arguments
| :: Text | |
| -> CreateLunaClient |
Create a value of CreateLunaClient 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:label:CreateLunaClient', createLunaClient_label - The label for the client.
$sel:certificate:CreateLunaClient', createLunaClient_certificate - The contents of a Base64-Encoded X.509 v3 certificate to be installed on
the HSMs used by this client.
data CreateLunaClientResponse Source #
Contains the output of the CreateLunaClient action.
See: newCreateLunaClientResponse smart constructor.
Constructors
| CreateLunaClientResponse' (Maybe Text) Int |
Instances
newCreateLunaClientResponse Source #
Create a value of CreateLunaClientResponse 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:clientArn:CreateLunaClientResponse', createLunaClientResponse_clientArn - The ARN of the client.
$sel:httpStatus:CreateLunaClientResponse', createLunaClientResponse_httpStatus - The response's http status code.
DeleteHapg
data DeleteHapg Source #
Contains the inputs for the DeleteHapg action.
See: newDeleteHapg smart constructor.
Constructors
| DeleteHapg' Text |
Instances
Arguments
| :: Text | |
| -> DeleteHapg |
Create a value of DeleteHapg 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:hapgArn:DeleteHapg', deleteHapg_hapgArn - The ARN of the high-availability partition group to delete.
data DeleteHapgResponse Source #
Contains the output of the DeleteHapg action.
See: newDeleteHapgResponse smart constructor.
Constructors
| DeleteHapgResponse' Int Text |
Instances
newDeleteHapgResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> DeleteHapgResponse |
Create a value of DeleteHapgResponse 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:httpStatus:DeleteHapgResponse', deleteHapgResponse_httpStatus - The response's http status code.
$sel:status:DeleteHapgResponse', deleteHapgResponse_status - The status of the action.
DeleteHsm
Contains the inputs for the DeleteHsm operation.
See: newDeleteHsm smart constructor.
Constructors
| DeleteHsm' Text |
Instances
Create a value of DeleteHsm 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:hsmArn:DeleteHsm', deleteHsm_hsmArn - The ARN of the HSM to delete.
data DeleteHsmResponse Source #
Contains the output of the DeleteHsm operation.
See: newDeleteHsmResponse smart constructor.
Constructors
| DeleteHsmResponse' Int Text |
Instances
Arguments
| :: Int | |
| -> Text | |
| -> DeleteHsmResponse |
Create a value of DeleteHsmResponse 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:httpStatus:DeleteHsmResponse', deleteHsmResponse_httpStatus - The response's http status code.
$sel:status:DeleteHsmResponse', deleteHsmResponse_status - The status of the operation.
DeleteLunaClient
data DeleteLunaClient Source #
See: newDeleteLunaClient smart constructor.
Constructors
| DeleteLunaClient' Text |
Instances
Arguments
| :: Text | |
| -> DeleteLunaClient |
Create a value of DeleteLunaClient 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:clientArn:DeleteLunaClient', deleteLunaClient_clientArn - The ARN of the client to delete.
data DeleteLunaClientResponse Source #
See: newDeleteLunaClientResponse smart constructor.
Constructors
| DeleteLunaClientResponse' Int Text |
Instances
newDeleteLunaClientResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> DeleteLunaClientResponse |
Create a value of DeleteLunaClientResponse 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:httpStatus:DeleteLunaClientResponse', deleteLunaClientResponse_httpStatus - The response's http status code.
$sel:status:DeleteLunaClientResponse', deleteLunaClientResponse_status - The status of the action.
DescribeHapg
data DescribeHapg Source #
Contains the inputs for the DescribeHapg action.
See: newDescribeHapg smart constructor.
Constructors
| DescribeHapg' Text |
Instances
Arguments
| :: Text | |
| -> DescribeHapg |
Create a value of DescribeHapg 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:
DescribeHapg, describeHapg_hapgArn - The ARN of the high-availability partition group to describe.
data DescribeHapgResponse Source #
Contains the output of the DescribeHapg action.
See: newDescribeHapgResponse smart constructor.
Constructors
| DescribeHapgResponse' (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe [Text]) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe CloudHsmObjectState) Int |
Instances
newDescribeHapgResponse Source #
Arguments
| :: Int | |
| -> DescribeHapgResponse |
Create a value of DescribeHapgResponse 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:
DescribeHapg, describeHapgResponse_hapgArn - The ARN of the high-availability partition group.
$sel:hapgSerial:DescribeHapgResponse', describeHapgResponse_hapgSerial - The serial number of the high-availability partition group.
$sel:hsmsLastActionFailed:DescribeHapgResponse', describeHapgResponse_hsmsLastActionFailed -
$sel:hsmsPendingDeletion:DescribeHapgResponse', describeHapgResponse_hsmsPendingDeletion -
$sel:hsmsPendingRegistration:DescribeHapgResponse', describeHapgResponse_hsmsPendingRegistration -
$sel:label:DescribeHapgResponse', describeHapgResponse_label - The label for the high-availability partition group.
$sel:lastModifiedTimestamp:DescribeHapgResponse', describeHapgResponse_lastModifiedTimestamp - The date and time the high-availability partition group was last
modified.
$sel:partitionSerialList:DescribeHapgResponse', describeHapgResponse_partitionSerialList - The list of partition serial numbers that belong to the
high-availability partition group.
$sel:state:DescribeHapgResponse', describeHapgResponse_state - The state of the high-availability partition group.
$sel:httpStatus:DescribeHapgResponse', describeHapgResponse_httpStatus - The response's http status code.
DescribeHsm
data DescribeHsm Source #
Contains the inputs for the DescribeHsm operation.
See: newDescribeHsm smart constructor.
Constructors
| DescribeHsm' (Maybe Text) (Maybe Text) |
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.
data DescribeHsmResponse Source #
Contains the output of the DescribeHsm operation.
See: newDescribeHsmResponse smart constructor.
Constructors
| DescribeHsmResponse' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe HsmStatus) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe SubscriptionType) (Maybe Text) (Maybe Text) Int |
Instances
newDescribeHsmResponse Source #
Arguments
| :: Int | |
| -> DescribeHsmResponse |
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.
DescribeLunaClient
data DescribeLunaClient Source #
See: newDescribeLunaClient smart constructor.
Constructors
| DescribeLunaClient' (Maybe Text) (Maybe Text) |
Instances
newDescribeLunaClient :: DescribeLunaClient Source #
Create a value of DescribeLunaClient 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:
DescribeLunaClient, describeLunaClient_certificateFingerprint - The certificate fingerprint.
DescribeLunaClient, describeLunaClient_clientArn - The ARN of the client.
data DescribeLunaClientResponse Source #
See: newDescribeLunaClientResponse smart constructor.
Constructors
| DescribeLunaClientResponse' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Int |
Instances
newDescribeLunaClientResponse Source #
Create a value of DescribeLunaClientResponse 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:certificate:DescribeLunaClientResponse', describeLunaClientResponse_certificate - The certificate installed on the HSMs used by this client.
DescribeLunaClient, describeLunaClientResponse_certificateFingerprint - The certificate fingerprint.
DescribeLunaClient, describeLunaClientResponse_clientArn - The ARN of the client.
$sel:label:DescribeLunaClientResponse', describeLunaClientResponse_label - The label of the client.
$sel:lastModifiedTimestamp:DescribeLunaClientResponse', describeLunaClientResponse_lastModifiedTimestamp - The date and time the client was last modified.
$sel:httpStatus:DescribeLunaClientResponse', describeLunaClientResponse_httpStatus - The response's http status code.
GetConfig
See: newGetConfig smart constructor.
Constructors
| GetConfig' Text ClientVersion [Text] |
Instances
Create a value of GetConfig 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:clientArn:GetConfig', getConfig_clientArn - The ARN of the client.
$sel:clientVersion:GetConfig', getConfig_clientVersion - The client version.
$sel:hapgList:GetConfig', getConfig_hapgList - A list of ARNs that identify the high-availability partition groups that
are associated with the client.
data GetConfigResponse Source #
See: newGetConfigResponse smart constructor.
Instances
Arguments
| :: Int | |
| -> GetConfigResponse |
Create a value of GetConfigResponse 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:configCred:GetConfigResponse', getConfigResponse_configCred - The certificate file containing the server.pem files of the HSMs.
$sel:configFile:GetConfigResponse', getConfigResponse_configFile - The chrystoki.conf configuration file.
$sel:configType:GetConfigResponse', getConfigResponse_configType - The type of credentials.
$sel:httpStatus:GetConfigResponse', getConfigResponse_httpStatus - The response's http status code.
ListAvailableZones
data ListAvailableZones Source #
Contains the inputs for the ListAvailableZones action.
See: newListAvailableZones smart constructor.
Constructors
| ListAvailableZones' | |
Instances
newListAvailableZones :: ListAvailableZones Source #
Create a value of ListAvailableZones with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data ListAvailableZonesResponse Source #
See: newListAvailableZonesResponse smart constructor.
Constructors
| ListAvailableZonesResponse' (Maybe [Text]) Int |
Instances
newListAvailableZonesResponse Source #
Create a value of ListAvailableZonesResponse 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:aZList:ListAvailableZonesResponse', listAvailableZonesResponse_aZList - The list of Availability Zones that have available AWS CloudHSM
capacity.
$sel:httpStatus:ListAvailableZonesResponse', listAvailableZonesResponse_httpStatus - The response's http status code.
ListHapgs (Paginated)
See: newListHapgs smart constructor.
Constructors
| ListHapgs' (Maybe Text) |
Instances
newListHapgs :: ListHapgs Source #
Create a value of ListHapgs 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:
ListHapgs, listHapgs_nextToken - The NextToken value from a previous call to ListHapgs. Pass null if
this is the first call.
data ListHapgsResponse Source #
See: newListHapgsResponse smart constructor.
Constructors
| ListHapgsResponse' (Maybe Text) Int [Text] |
Instances
Arguments
| :: Int | |
| -> ListHapgsResponse |
Create a value of ListHapgsResponse 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:
ListHapgs, listHapgsResponse_nextToken - If not null, more results are available. Pass this value to ListHapgs
to retrieve the next set of items.
$sel:httpStatus:ListHapgsResponse', listHapgsResponse_httpStatus - The response's http status code.
$sel:hapgList:ListHapgsResponse', listHapgsResponse_hapgList - The list of high-availability partition groups.
ListHsms (Paginated)
See: newListHsms smart constructor.
Instances
newListHsms :: ListHsms Source #
Create a value of ListHsms 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:
ListHsms, listHsms_nextToken - The NextToken value from a previous call to ListHsms. Pass null if
this is the first call.
data ListHsmsResponse Source #
Contains the output of the ListHsms operation.
See: newListHsmsResponse smart constructor.
Instances
Arguments
| :: Int | |
| -> ListHsmsResponse |
Create a value of ListHsmsResponse 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:hsmList:ListHsmsResponse', listHsmsResponse_hsmList - The list of ARNs that identify the HSMs.
ListHsms, listHsmsResponse_nextToken - If not null, more results are available. Pass this value to ListHsms
to retrieve the next set of items.
$sel:httpStatus:ListHsmsResponse', listHsmsResponse_httpStatus - The response's http status code.
ListLunaClients (Paginated)
data ListLunaClients Source #
See: newListLunaClients smart constructor.
Constructors
| ListLunaClients' (Maybe Text) |
Instances
newListLunaClients :: ListLunaClients Source #
Create a value of ListLunaClients 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:
ListLunaClients, listLunaClients_nextToken - The NextToken value from a previous call to ListLunaClients. Pass
null if this is the first call.
data ListLunaClientsResponse Source #
See: newListLunaClientsResponse smart constructor.
Constructors
| ListLunaClientsResponse' (Maybe Text) Int [Text] |
Instances
newListLunaClientsResponse Source #
Create a value of ListLunaClientsResponse 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:
ListLunaClients, listLunaClientsResponse_nextToken - If not null, more results are available. Pass this to ListLunaClients
to retrieve the next set of items.
$sel:httpStatus:ListLunaClientsResponse', listLunaClientsResponse_httpStatus - The response's http status code.
$sel:clientList:ListLunaClientsResponse', listLunaClientsResponse_clientList - The list of clients.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource smart constructor.
Constructors
| ListTagsForResource' Text |
Instances
newListTagsForResource Source #
Arguments
| :: Text | |
| -> ListTagsForResource |
Create a value of ListTagsForResource 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:resourceArn:ListTagsForResource', listTagsForResource_resourceArn - The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
data ListTagsForResourceResponse Source #
See: newListTagsForResourceResponse smart constructor.
Constructors
| ListTagsForResourceResponse' Int [Tag] |
Instances
newListTagsForResourceResponse Source #
Create a value of ListTagsForResourceResponse 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:httpStatus:ListTagsForResourceResponse', listTagsForResourceResponse_httpStatus - The response's http status code.
$sel:tagList:ListTagsForResourceResponse', listTagsForResourceResponse_tagList - One or more tags.
ModifyHapg
data ModifyHapg Source #
See: newModifyHapg smart constructor.
Instances
Arguments
| :: Text | |
| -> ModifyHapg |
Create a value of ModifyHapg 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:label:ModifyHapg', modifyHapg_label - The new label for the high-availability partition group.
$sel:partitionSerialList:ModifyHapg', modifyHapg_partitionSerialList - The list of partition serial numbers to make members of the
high-availability partition group.
ModifyHapg, modifyHapg_hapgArn - The ARN of the high-availability partition group to modify.
data ModifyHapgResponse Source #
See: newModifyHapgResponse smart constructor.
Constructors
| ModifyHapgResponse' (Maybe Text) Int |
Instances
newModifyHapgResponse Source #
Arguments
| :: Int | |
| -> ModifyHapgResponse |
Create a value of ModifyHapgResponse 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:
ModifyHapg, modifyHapgResponse_hapgArn - The ARN of the high-availability partition group.
$sel:httpStatus:ModifyHapgResponse', modifyHapgResponse_httpStatus - The response's http status code.
ModifyHsm
Contains the inputs for the ModifyHsm operation.
See: newModifyHsm smart constructor.
Instances
Create a value of ModifyHsm 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:eniIp:ModifyHsm', modifyHsm_eniIp - The new IP address for the elastic network interface (ENI) attached to
the HSM.
If the HSM is moved to a different subnet, and an IP address is not specified, an IP address will be randomly chosen from the CIDR range of the new subnet.
$sel:externalId:ModifyHsm', modifyHsm_externalId - The new external ID.
$sel:iamRoleArn:ModifyHsm', modifyHsm_iamRoleArn - The new IAM role ARN.
$sel:subnetId:ModifyHsm', modifyHsm_subnetId - The new identifier of the subnet that the HSM is in. The new subnet must
be in the same Availability Zone as the current subnet.
$sel:syslogIp:ModifyHsm', modifyHsm_syslogIp - The new IP address for the syslog monitoring server. The AWS CloudHSM
service only supports one syslog monitoring server.
ModifyHsm, modifyHsm_hsmArn - The ARN of the HSM to modify.
data ModifyHsmResponse Source #
Contains the output of the ModifyHsm operation.
See: newModifyHsmResponse smart constructor.
Constructors
| ModifyHsmResponse' (Maybe Text) Int |
Instances
Arguments
| :: Int | |
| -> ModifyHsmResponse |
Create a value of ModifyHsmResponse 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:
ModifyHsm, modifyHsmResponse_hsmArn - The ARN of the HSM.
$sel:httpStatus:ModifyHsmResponse', modifyHsmResponse_httpStatus - The response's http status code.
ModifyLunaClient
data ModifyLunaClient Source #
See: newModifyLunaClient smart constructor.
Constructors
| ModifyLunaClient' Text Text |
Instances
Create a value of ModifyLunaClient 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:
ModifyLunaClient, modifyLunaClient_clientArn - The ARN of the client.
$sel:certificate:ModifyLunaClient', modifyLunaClient_certificate - The new certificate for the client.
data ModifyLunaClientResponse Source #
See: newModifyLunaClientResponse smart constructor.
Constructors
| ModifyLunaClientResponse' (Maybe Text) Int |
Instances
newModifyLunaClientResponse Source #
Create a value of ModifyLunaClientResponse 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:
ModifyLunaClient, modifyLunaClientResponse_clientArn - The ARN of the client.
$sel:httpStatus:ModifyLunaClientResponse', modifyLunaClientResponse_httpStatus - The response's http status code.
RemoveTagsFromResource
data RemoveTagsFromResource Source #
See: newRemoveTagsFromResource smart constructor.
Constructors
| RemoveTagsFromResource' Text [Text] |
Instances
newRemoveTagsFromResource Source #
Create a value of RemoveTagsFromResource 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:resourceArn:RemoveTagsFromResource', removeTagsFromResource_resourceArn - The Amazon Resource Name (ARN) of the AWS CloudHSM resource.
$sel:tagKeyList:RemoveTagsFromResource', removeTagsFromResource_tagKeyList - The tag key or keys to remove.
Specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.
data RemoveTagsFromResourceResponse Source #
See: newRemoveTagsFromResourceResponse smart constructor.
Constructors
| RemoveTagsFromResourceResponse' Int Text |
Instances
newRemoveTagsFromResourceResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> RemoveTagsFromResourceResponse |
Create a value of RemoveTagsFromResourceResponse 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:httpStatus:RemoveTagsFromResourceResponse', removeTagsFromResourceResponse_httpStatus - The response's http status code.
$sel:status:RemoveTagsFromResourceResponse', removeTagsFromResourceResponse_status - The status of the operation.
Types
ClientVersion
newtype ClientVersion Source #
Constructors
| ClientVersion' | |
Fields | |
Bundled Patterns
| pattern ClientVersion_ :: ClientVersion |
Instances
CloudHsmObjectState
newtype CloudHsmObjectState Source #
Constructors
| CloudHsmObjectState' | |
Fields | |
Bundled Patterns
| pattern CloudHsmObjectState_DEGRADED :: CloudHsmObjectState | |
| pattern CloudHsmObjectState_READY :: CloudHsmObjectState | |
| pattern CloudHsmObjectState_UPDATING :: CloudHsmObjectState |
Instances
HsmStatus
Constructors
| HsmStatus' | |
Fields | |
Bundled Patterns
| pattern HsmStatus_DEGRADED :: HsmStatus | |
| pattern HsmStatus_PENDING :: HsmStatus | |
| pattern HsmStatus_RUNNING :: HsmStatus | |
| pattern HsmStatus_SUSPENDED :: HsmStatus | |
| pattern HsmStatus_TERMINATED :: HsmStatus | |
| pattern HsmStatus_TERMINATING :: HsmStatus | |
| pattern HsmStatus_UPDATING :: HsmStatus |
Instances
SubscriptionType
newtype SubscriptionType Source #
Specifies the type of subscription for the HSM.
- PRODUCTION - The HSM is being used in a production environment.
- TRIAL - The HSM is being used in a product trial.
Constructors
| SubscriptionType' | |
Fields | |
Bundled Patterns
| pattern SubscriptionType_PRODUCTION :: SubscriptionType |
Instances
Tag
A key-value pair that identifies or specifies metadata about an AWS CloudHSM resource.
See: newTag smart constructor.
Instances
| FromJSON Tag Source # | |
| ToJSON Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag | |
| Generic Tag Source # | |
| Read Tag Source # | |
| Show Tag Source # | |
| NFData Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag | |
| Eq Tag Source # | |
| Hashable Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag | |
| type Rep Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CloudHSM.Types.Tag" "amazonka-cloudhsm-2.0-AR9j2lWCpfn9LR8RFi06vA" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |
Create a value of Tag 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:key:Tag', tag_key - The key of the tag.
$sel:value:Tag', tag_value - The value of the tag.