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 |
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
- _InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError
- _CloudHsmServiceException :: AsError a => Getting (First ServiceError) a ServiceError
- _CloudHsmInternalException :: AsError a => Getting (First ServiceError) a ServiceError
- data DeleteHapg = DeleteHapg' Text
- newDeleteHapg :: Text -> DeleteHapg
- data DeleteHapgResponse = DeleteHapgResponse' Int Text
- newDeleteHapgResponse :: Int -> Text -> DeleteHapgResponse
- data ListHapgs = ListHapgs' (Maybe Text)
- newListHapgs :: ListHapgs
- data ListHapgsResponse = ListHapgsResponse' (Maybe Text) Int [Text]
- newListHapgsResponse :: Int -> ListHapgsResponse
- data ModifyLunaClient = ModifyLunaClient' Text Text
- newModifyLunaClient :: Text -> Text -> ModifyLunaClient
- data ModifyLunaClientResponse = ModifyLunaClientResponse' (Maybe Text) Int
- newModifyLunaClientResponse :: Int -> ModifyLunaClientResponse
- data ListHsms = ListHsms' (Maybe Text)
- newListHsms :: ListHsms
- data ListHsmsResponse = ListHsmsResponse' (Maybe Text) (Maybe [Text]) Int
- newListHsmsResponse :: Int -> ListHsmsResponse
- 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 ListTagsForResource = ListTagsForResource' Text
- newListTagsForResource :: Text -> ListTagsForResource
- data ListTagsForResourceResponse = ListTagsForResourceResponse' Int [Tag]
- newListTagsForResourceResponse :: Int -> ListTagsForResourceResponse
- 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 RemoveTagsFromResource = RemoveTagsFromResource' Text [Text]
- newRemoveTagsFromResource :: Text -> RemoveTagsFromResource
- data RemoveTagsFromResourceResponse = RemoveTagsFromResourceResponse' Int Text
- newRemoveTagsFromResourceResponse :: Int -> Text -> RemoveTagsFromResourceResponse
- data DescribeHapg = DescribeHapg' Text
- newDescribeHapg :: Text -> DescribeHapg
- data DescribeHapgResponse = DescribeHapgResponse' (Maybe CloudHsmObjectState) (Maybe Text) (Maybe [Text]) (Maybe [Text]) (Maybe Text) (Maybe [Text]) (Maybe [Text]) (Maybe Text) (Maybe Text) Int
- newDescribeHapgResponse :: Int -> DescribeHapgResponse
- data CreateLunaClient = CreateLunaClient' (Maybe Text) Text
- newCreateLunaClient :: Text -> CreateLunaClient
- data CreateLunaClientResponse = CreateLunaClientResponse' (Maybe Text) Int
- newCreateLunaClientResponse :: Int -> CreateLunaClientResponse
- data ListLunaClients = ListLunaClients' (Maybe Text)
- newListLunaClients :: ListLunaClients
- data ListLunaClientsResponse = ListLunaClientsResponse' (Maybe Text) Int [Text]
- newListLunaClientsResponse :: Int -> ListLunaClientsResponse
- data AddTagsToResource = AddTagsToResource' Text [Tag]
- newAddTagsToResource :: Text -> AddTagsToResource
- data AddTagsToResourceResponse = AddTagsToResourceResponse' Int Text
- newAddTagsToResourceResponse :: Int -> Text -> AddTagsToResourceResponse
- data GetConfig = GetConfig' Text ClientVersion [Text]
- newGetConfig :: Text -> ClientVersion -> GetConfig
- data GetConfigResponse = GetConfigResponse' (Maybe Text) (Maybe Text) (Maybe Text) Int
- newGetConfigResponse :: Int -> GetConfigResponse
- data DeleteHsm = DeleteHsm' Text
- newDeleteHsm :: Text -> DeleteHsm
- data DeleteHsmResponse = DeleteHsmResponse' Int Text
- newDeleteHsmResponse :: Int -> Text -> DeleteHsmResponse
- data DescribeHsm = DescribeHsm' (Maybe Text) (Maybe Text)
- newDescribeHsm :: DescribeHsm
- data DescribeHsmResponse = DescribeHsmResponse' (Maybe HsmStatus) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe SubscriptionType) (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) Int
- newDescribeHsmResponse :: Int -> DescribeHsmResponse
- data ModifyHapg = ModifyHapg' (Maybe [Text]) (Maybe Text) Text
- newModifyHapg :: Text -> ModifyHapg
- data ModifyHapgResponse = ModifyHapgResponse' (Maybe Text) Int
- newModifyHapgResponse :: Int -> ModifyHapgResponse
- data DeleteLunaClient = DeleteLunaClient' Text
- newDeleteLunaClient :: Text -> DeleteLunaClient
- data DeleteLunaClientResponse = DeleteLunaClientResponse' Int Text
- newDeleteLunaClientResponse :: Int -> Text -> DeleteLunaClientResponse
- 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 ListAvailableZones = ListAvailableZones' {
- newListAvailableZones :: ListAvailableZones
- data ListAvailableZonesResponse = ListAvailableZonesResponse' (Maybe [Text]) Int
- newListAvailableZonesResponse :: Int -> ListAvailableZonesResponse
- 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
.
InvalidRequestException
_InvalidRequestException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Indicates that one or more of the request parameters are not valid.
CloudHsmServiceException
_CloudHsmServiceException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Indicates that an exception occurred in the AWS CloudHSM service.
CloudHsmInternalException
_CloudHsmInternalException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Indicates that an internal error occurred.
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.
DeleteHapg
data DeleteHapg Source #
Contains the inputs for the DeleteHapg action.
See: newDeleteHapg
smart constructor.
Instances
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.
Instances
newDeleteHapgResponse Source #
:: 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.
ListHapgs (Paginated)
See: newListHapgs
smart constructor.
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:
$sel:nextToken: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.
Instances
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:
$sel:nextToken: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.
ModifyLunaClient
data ModifyLunaClient Source #
See: newModifyLunaClient
smart constructor.
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:
$sel:clientArn: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.
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:
$sel:clientArn:ModifyLunaClient'
, modifyLunaClientResponse_clientArn
- The ARN of the client.
$sel:httpStatus:ModifyLunaClientResponse'
, modifyLunaClientResponse_httpStatus
- The response's http status code.
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:
$sel:nextToken: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
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:nextToken:ListHsms'
, listHsmsResponse_nextToken
- If not null, more results are available. Pass this value to ListHsms
to retrieve the next set of items.
$sel:hsmList:ListHsmsResponse'
, listHsmsResponse_hsmList
- The list of ARNs that identify the HSMs.
$sel:httpStatus:ListHsmsResponse'
, listHsmsResponse_httpStatus
- The response's http status code.
DescribeLunaClient
data DescribeLunaClient Source #
See: newDescribeLunaClient
smart constructor.
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:
$sel:clientArn:DescribeLunaClient'
, describeLunaClient_clientArn
- The ARN of the client.
$sel:certificateFingerprint:DescribeLunaClient'
, describeLunaClient_certificateFingerprint
- The certificate fingerprint.
data DescribeLunaClientResponse Source #
See: newDescribeLunaClientResponse
smart constructor.
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:clientArn:DescribeLunaClient'
, describeLunaClientResponse_clientArn
- The ARN of the client.
$sel:lastModifiedTimestamp:DescribeLunaClientResponse'
, describeLunaClientResponse_lastModifiedTimestamp
- The date and time the client was last modified.
$sel:certificateFingerprint:DescribeLunaClient'
, describeLunaClientResponse_certificateFingerprint
- The certificate fingerprint.
$sel:certificate:DescribeLunaClientResponse'
, describeLunaClientResponse_certificate
- The certificate installed on the HSMs used by this client.
$sel:label:DescribeLunaClientResponse'
, describeLunaClientResponse_label
- The label of the client.
$sel:httpStatus:DescribeLunaClientResponse'
, describeLunaClientResponse_httpStatus
- The response's http status code.
ListTagsForResource
data ListTagsForResource Source #
See: newListTagsForResource
smart constructor.
Instances
newListTagsForResource Source #
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.
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.
CreateHapg
data CreateHapg Source #
Contains the inputs for the CreateHapgRequest action.
See: newCreateHapg
smart constructor.
Instances
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.
Instances
newCreateHapgResponse Source #
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.
Instances
:: 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:syslogIp:CreateHsm'
, createHsm_syslogIp
- The IP address for the syslog monitoring server. The AWS CloudHSM
service only supports one syslog monitoring server.
$sel:externalId:CreateHsm'
, createHsm_externalId
- The external ID from IamRoleArn
, if present.
$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: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.
Instances
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.
RemoveTagsFromResource
data RemoveTagsFromResource Source #
See: newRemoveTagsFromResource
smart constructor.
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.
Instances
Eq RemoveTagsFromResourceResponse Source # | |
Read RemoveTagsFromResourceResponse Source # | |
Show RemoveTagsFromResourceResponse Source # | |
Defined in Amazonka.CloudHSM.RemoveTagsFromResource | |
Generic RemoveTagsFromResourceResponse Source # | |
NFData RemoveTagsFromResourceResponse Source # | |
Defined in Amazonka.CloudHSM.RemoveTagsFromResource rnf :: RemoveTagsFromResourceResponse -> () # | |
type Rep RemoveTagsFromResourceResponse Source # | |
Defined in Amazonka.CloudHSM.RemoveTagsFromResource type Rep RemoveTagsFromResourceResponse = D1 ('MetaData "RemoveTagsFromResourceResponse" "Amazonka.CloudHSM.RemoveTagsFromResource" "libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm" 'False) (C1 ('MetaCons "RemoveTagsFromResourceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) |
newRemoveTagsFromResourceResponse Source #
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.
DescribeHapg
data DescribeHapg Source #
Contains the inputs for the DescribeHapg action.
See: newDescribeHapg
smart constructor.
Instances
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:
$sel:hapgArn: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.
DescribeHapgResponse' (Maybe CloudHsmObjectState) (Maybe Text) (Maybe [Text]) (Maybe [Text]) (Maybe Text) (Maybe [Text]) (Maybe [Text]) (Maybe Text) (Maybe Text) Int |
Instances
newDescribeHapgResponse Source #
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:
$sel:state:DescribeHapgResponse'
, describeHapgResponse_state
- The state of the high-availability partition group.
$sel:lastModifiedTimestamp:DescribeHapgResponse'
, describeHapgResponse_lastModifiedTimestamp
- The date and time the high-availability partition group was last
modified.
$sel:hsmsPendingRegistration:DescribeHapgResponse'
, describeHapgResponse_hsmsPendingRegistration
-
$sel:hsmsPendingDeletion:DescribeHapgResponse'
, describeHapgResponse_hsmsPendingDeletion
-
$sel:hapgSerial:DescribeHapgResponse'
, describeHapgResponse_hapgSerial
- The serial number of the high-availability partition group.
$sel:hsmsLastActionFailed:DescribeHapgResponse'
, describeHapgResponse_hsmsLastActionFailed
-
$sel:partitionSerialList:DescribeHapgResponse'
, describeHapgResponse_partitionSerialList
- The list of partition serial numbers that belong to the
high-availability partition group.
$sel:hapgArn:DescribeHapg'
, describeHapgResponse_hapgArn
- The ARN of the high-availability partition group.
$sel:label:DescribeHapgResponse'
, describeHapgResponse_label
- The label for the high-availability partition group.
$sel:httpStatus:DescribeHapgResponse'
, describeHapgResponse_httpStatus
- The response's http status code.
CreateLunaClient
data CreateLunaClient Source #
Contains the inputs for the CreateLunaClient action.
See: newCreateLunaClient
smart constructor.
Instances
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.
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.
ListLunaClients (Paginated)
data ListLunaClients Source #
See: newListLunaClients
smart constructor.
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:
$sel:nextToken: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.
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:
$sel:nextToken: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.
AddTagsToResource
data AddTagsToResource Source #
See: newAddTagsToResource
smart constructor.
Instances
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.
Instances
newAddTagsToResourceResponse Source #
:: 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.
GetConfig
See: newGetConfig
smart constructor.
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
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:configFile:GetConfigResponse'
, getConfigResponse_configFile
- The chrystoki.conf configuration file.
$sel:configCred:GetConfigResponse'
, getConfigResponse_configCred
- The certificate file containing the server.pem files of the HSMs.
$sel:configType:GetConfigResponse'
, getConfigResponse_configType
- The type of credentials.
$sel:httpStatus:GetConfigResponse'
, getConfigResponse_httpStatus
- The response's http status code.
DeleteHsm
Contains the inputs for the DeleteHsm operation.
See: newDeleteHsm
smart constructor.
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.
Instances
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.
DescribeHsm
data DescribeHsm Source #
Contains the inputs for the DescribeHsm operation.
See: newDescribeHsm
smart constructor.
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:
$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.
data DescribeHsmResponse Source #
Contains the output of the DescribeHsm operation.
See: newDescribeHsmResponse
smart constructor.
DescribeHsmResponse' (Maybe HsmStatus) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe SubscriptionType) (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) Int |
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.
ModifyHapg
data ModifyHapg Source #
See: newModifyHapg
smart constructor.
Instances
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:partitionSerialList:ModifyHapg'
, modifyHapg_partitionSerialList
- The list of partition serial numbers to make members of the
high-availability partition group.
$sel:label:ModifyHapg'
, modifyHapg_label
- The new label for the high-availability partition group.
$sel:hapgArn:ModifyHapg'
, modifyHapg_hapgArn
- The ARN of the high-availability partition group to modify.
data ModifyHapgResponse Source #
See: newModifyHapgResponse
smart constructor.
Instances
newModifyHapgResponse Source #
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:
$sel:hapgArn:ModifyHapg'
, modifyHapgResponse_hapgArn
- The ARN of the high-availability partition group.
$sel:httpStatus:ModifyHapgResponse'
, modifyHapgResponse_httpStatus
- The response's http status code.
DeleteLunaClient
data DeleteLunaClient Source #
See: newDeleteLunaClient
smart constructor.
Instances
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.
Instances
newDeleteLunaClientResponse Source #
:: 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.
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: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.
$sel:externalId:ModifyHsm'
, modifyHsm_externalId
- The new external ID.
$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:hsmArn:ModifyHsm'
, modifyHsm_hsmArn
- The ARN of the HSM to modify.
data ModifyHsmResponse Source #
Contains the output of the ModifyHsm operation.
See: newModifyHsmResponse
smart constructor.
Instances
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:
$sel:hsmArn:ModifyHsm'
, modifyHsmResponse_hsmArn
- The ARN of the HSM.
$sel:httpStatus:ModifyHsmResponse'
, modifyHsmResponse_httpStatus
- The response's http status code.
ListAvailableZones
data ListAvailableZones Source #
Contains the inputs for the ListAvailableZones action.
See: newListAvailableZones
smart constructor.
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.
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.
Types
ClientVersion
newtype ClientVersion Source #
pattern ClientVersion_ :: ClientVersion |
Instances
CloudHsmObjectState
newtype CloudHsmObjectState Source #
pattern CloudHsmObjectState_DEGRADED :: CloudHsmObjectState | |
pattern CloudHsmObjectState_READY :: CloudHsmObjectState | |
pattern CloudHsmObjectState_UPDATING :: CloudHsmObjectState |
Instances
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 |
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.
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
Eq Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
Generic Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag | |
Hashable Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag | |
ToJSON Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag | |
FromJSON Tag Source # | |
type Rep Tag Source # | |
Defined in Amazonka.CloudHSM.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CloudHSM.Types.Tag" "libZSservicesZSamazonka-cloudhsmZSamazonka-cloudhsm" '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.