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.CloudHSMV2
Description
Derived from API version 2017-04-28
of the AWS service descriptions, licensed under Apache 2.0.
For more information about AWS CloudHSM, see AWS CloudHSM and the AWS CloudHSM User Guide.
Synopsis
- defaultService :: Service
- _CloudHsmAccessDeniedException :: AsError a => Fold a ServiceError
- _CloudHsmInternalFailureException :: AsError a => Fold a ServiceError
- _CloudHsmInvalidRequestException :: AsError a => Fold a ServiceError
- _CloudHsmResourceNotFoundException :: AsError a => Fold a ServiceError
- _CloudHsmServiceException :: AsError a => Fold a ServiceError
- _CloudHsmTagException :: AsError a => Fold a ServiceError
- data CopyBackupToRegion = CopyBackupToRegion' (Maybe [Tag]) Text Text
- newCopyBackupToRegion :: Text -> Text -> CopyBackupToRegion
- data CopyBackupToRegionResponse = CopyBackupToRegionResponse' (Maybe DestinationBackup) Int
- newCopyBackupToRegionResponse :: Int -> CopyBackupToRegionResponse
- data CreateCluster = CreateCluster' (Maybe BackupRetentionPolicy) (Maybe Text) (Maybe [Tag]) Text (NonEmpty Text)
- newCreateCluster :: Text -> NonEmpty Text -> CreateCluster
- data CreateClusterResponse = CreateClusterResponse' (Maybe Cluster) Int
- newCreateClusterResponse :: Int -> CreateClusterResponse
- data CreateHsm = CreateHsm' (Maybe Text) Text Text
- newCreateHsm :: Text -> Text -> CreateHsm
- data CreateHsmResponse = CreateHsmResponse' (Maybe Hsm) Int
- newCreateHsmResponse :: Int -> CreateHsmResponse
- data DeleteBackup = DeleteBackup' Text
- newDeleteBackup :: Text -> DeleteBackup
- data DeleteBackupResponse = DeleteBackupResponse' (Maybe Backup) Int
- newDeleteBackupResponse :: Int -> DeleteBackupResponse
- data DeleteCluster = DeleteCluster' Text
- newDeleteCluster :: Text -> DeleteCluster
- data DeleteClusterResponse = DeleteClusterResponse' (Maybe Cluster) Int
- newDeleteClusterResponse :: Int -> DeleteClusterResponse
- data DeleteHsm = DeleteHsm' (Maybe Text) (Maybe Text) (Maybe Text) Text
- newDeleteHsm :: Text -> DeleteHsm
- data DeleteHsmResponse = DeleteHsmResponse' (Maybe Text) Int
- newDeleteHsmResponse :: Int -> DeleteHsmResponse
- data DescribeBackups = DescribeBackups' (Maybe (HashMap Text [Text])) (Maybe Natural) (Maybe Text) (Maybe Bool)
- newDescribeBackups :: DescribeBackups
- data DescribeBackupsResponse = DescribeBackupsResponse' (Maybe [Backup]) (Maybe Text) Int
- newDescribeBackupsResponse :: Int -> DescribeBackupsResponse
- data DescribeClusters = DescribeClusters' (Maybe (HashMap Text [Text])) (Maybe Natural) (Maybe Text)
- newDescribeClusters :: DescribeClusters
- data DescribeClustersResponse = DescribeClustersResponse' (Maybe [Cluster]) (Maybe Text) Int
- newDescribeClustersResponse :: Int -> DescribeClustersResponse
- data InitializeCluster = InitializeCluster' Text Text Text
- newInitializeCluster :: Text -> Text -> Text -> InitializeCluster
- data InitializeClusterResponse = InitializeClusterResponse' (Maybe ClusterState) (Maybe Text) Int
- newInitializeClusterResponse :: Int -> InitializeClusterResponse
- data ListTags = ListTags' (Maybe Natural) (Maybe Text) Text
- newListTags :: Text -> ListTags
- data ListTagsResponse = ListTagsResponse' (Maybe Text) Int [Tag]
- newListTagsResponse :: Int -> ListTagsResponse
- data ModifyBackupAttributes = ModifyBackupAttributes' Text Bool
- newModifyBackupAttributes :: Text -> Bool -> ModifyBackupAttributes
- data ModifyBackupAttributesResponse = ModifyBackupAttributesResponse' (Maybe Backup) Int
- newModifyBackupAttributesResponse :: Int -> ModifyBackupAttributesResponse
- data ModifyCluster = ModifyCluster' BackupRetentionPolicy Text
- newModifyCluster :: BackupRetentionPolicy -> Text -> ModifyCluster
- data ModifyClusterResponse = ModifyClusterResponse' (Maybe Cluster) Int
- newModifyClusterResponse :: Int -> ModifyClusterResponse
- data RestoreBackup = RestoreBackup' Text
- newRestoreBackup :: Text -> RestoreBackup
- data RestoreBackupResponse = RestoreBackupResponse' (Maybe Backup) Int
- newRestoreBackupResponse :: Int -> RestoreBackupResponse
- data TagResource = TagResource' Text [Tag]
- newTagResource :: Text -> TagResource
- data TagResourceResponse = TagResourceResponse' Int
- newTagResourceResponse :: Int -> TagResourceResponse
- data UntagResource = UntagResource' Text (NonEmpty Text)
- newUntagResource :: Text -> NonEmpty Text -> UntagResource
- data UntagResourceResponse = UntagResourceResponse' Int
- newUntagResourceResponse :: Int -> UntagResourceResponse
- newtype BackupPolicy where
- BackupPolicy' { }
- pattern BackupPolicy_DEFAULT :: BackupPolicy
- newtype BackupRetentionType where
- newtype BackupState where
- BackupState' { }
- pattern BackupState_CREATE_IN_PROGRESS :: BackupState
- pattern BackupState_DELETED :: BackupState
- pattern BackupState_PENDING_DELETION :: BackupState
- pattern BackupState_READY :: BackupState
- newtype ClusterState where
- ClusterState' { }
- pattern ClusterState_ACTIVE :: ClusterState
- pattern ClusterState_CREATE_IN_PROGRESS :: ClusterState
- pattern ClusterState_DEGRADED :: ClusterState
- pattern ClusterState_DELETED :: ClusterState
- pattern ClusterState_DELETE_IN_PROGRESS :: ClusterState
- pattern ClusterState_INITIALIZED :: ClusterState
- pattern ClusterState_INITIALIZE_IN_PROGRESS :: ClusterState
- pattern ClusterState_UNINITIALIZED :: ClusterState
- pattern ClusterState_UPDATE_IN_PROGRESS :: ClusterState
- newtype HsmState where
- HsmState' {
- fromHsmState :: Text
- pattern HsmState_ACTIVE :: HsmState
- pattern HsmState_CREATE_IN_PROGRESS :: HsmState
- pattern HsmState_DEGRADED :: HsmState
- pattern HsmState_DELETED :: HsmState
- pattern HsmState_DELETE_IN_PROGRESS :: HsmState
- HsmState' {
- data Backup = Backup' (Maybe BackupState) (Maybe Text) (Maybe POSIX) (Maybe POSIX) (Maybe POSIX) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [Tag]) Text
- newBackup :: Text -> Backup
- data BackupRetentionPolicy = BackupRetentionPolicy' (Maybe BackupRetentionType) (Maybe Text)
- newBackupRetentionPolicy :: BackupRetentionPolicy
- data Certificates = Certificates' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text)
- newCertificates :: Certificates
- data Cluster = Cluster' (Maybe BackupPolicy) (Maybe BackupRetentionPolicy) (Maybe Certificates) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe [Hsm]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ClusterState) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe [Tag]) (Maybe Text)
- newCluster :: Cluster
- data DestinationBackup = DestinationBackup' (Maybe POSIX) (Maybe Text) (Maybe Text) (Maybe Text)
- newDestinationBackup :: DestinationBackup
- data Hsm = Hsm' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe HsmState) (Maybe Text) (Maybe Text) Text
- newHsm :: Text -> Hsm
- data Tag = Tag' Text Text
- newTag :: Text -> Text -> Tag
Service Configuration
defaultService :: Service Source #
API version 2017-04-28
of the Amazon CloudHSM V2 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 CloudHSMV2
.
CloudHsmAccessDeniedException
_CloudHsmAccessDeniedException :: AsError a => Fold a ServiceError Source #
The request was rejected because the requester does not have permission to perform the requested operation.
CloudHsmInternalFailureException
_CloudHsmInternalFailureException :: AsError a => Fold a ServiceError Source #
The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
CloudHsmInvalidRequestException
_CloudHsmInvalidRequestException :: AsError a => Fold a ServiceError Source #
The request was rejected because it is not a valid request.
CloudHsmResourceNotFoundException
_CloudHsmResourceNotFoundException :: AsError a => Fold a ServiceError Source #
The request was rejected because it refers to a resource that cannot be found.
CloudHsmServiceException
_CloudHsmServiceException :: AsError a => Fold a ServiceError Source #
The request was rejected because an error occurred.
CloudHsmTagException
_CloudHsmTagException :: AsError a => Fold a ServiceError Source #
The request was rejected because of a tagging failure. Verify the tag conditions in all applicable policies, and then retry the request.
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.
CopyBackupToRegion
data CopyBackupToRegion Source #
See: newCopyBackupToRegion
smart constructor.
Constructors
CopyBackupToRegion' (Maybe [Tag]) Text Text |
Instances
newCopyBackupToRegion Source #
Arguments
:: Text | |
-> Text | |
-> CopyBackupToRegion |
Create a value of CopyBackupToRegion
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:
CopyBackupToRegion
, copyBackupToRegion_tagList
- Tags to apply to the destination backup during creation. If you specify
tags, only these tags will be applied to the destination backup. If you
do not specify tags, the service copies tags from the source backup to
the destination backup.
$sel:destinationRegion:CopyBackupToRegion'
, copyBackupToRegion_destinationRegion
- The AWS region that will contain your copied CloudHSM cluster backup.
CopyBackupToRegion
, copyBackupToRegion_backupId
- The ID of the backup that will be copied to the destination region.
data CopyBackupToRegionResponse Source #
See: newCopyBackupToRegionResponse
smart constructor.
Constructors
CopyBackupToRegionResponse' (Maybe DestinationBackup) Int |
Instances
newCopyBackupToRegionResponse Source #
Create a value of CopyBackupToRegionResponse
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:destinationBackup:CopyBackupToRegionResponse'
, copyBackupToRegionResponse_destinationBackup
- Information on the backup that will be copied to the destination region,
including CreateTimestamp, SourceBackup, SourceCluster, and Source
Region. CreateTimestamp of the destination backup will be the same as
that of the source backup.
You will need to use the sourceBackupID
returned in this operation to
use the DescribeBackups operation on the backup that will be copied to
the destination region.
$sel:httpStatus:CopyBackupToRegionResponse'
, copyBackupToRegionResponse_httpStatus
- The response's http status code.
CreateCluster
data CreateCluster Source #
See: newCreateCluster
smart constructor.
Constructors
CreateCluster' (Maybe BackupRetentionPolicy) (Maybe Text) (Maybe [Tag]) Text (NonEmpty Text) |
Instances
Arguments
:: Text | |
-> NonEmpty Text | |
-> CreateCluster |
Create a value of CreateCluster
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:
CreateCluster
, createCluster_backupRetentionPolicy
- A policy that defines how the service retains backups.
CreateCluster
, createCluster_sourceBackupId
- The identifier (ID) of the cluster backup to restore. Use this value to
restore the cluster from a backup instead of creating a new cluster. To
find the backup ID, use DescribeBackups.
CreateCluster
, createCluster_tagList
- Tags to apply to the CloudHSM cluster during creation.
CreateCluster
, createCluster_hsmType
- The type of HSM to use in the cluster. Currently the only allowed value
is hsm1.medium
.
$sel:subnetIds:CreateCluster'
, createCluster_subnetIds
- The identifiers (IDs) of the subnets where you are creating the cluster.
You must specify at least one subnet. If you specify multiple subnets,
they must meet the following criteria:
- All subnets must be in the same virtual private cloud (VPC).
- You can specify only one subnet per Availability Zone.
data CreateClusterResponse Source #
See: newCreateClusterResponse
smart constructor.
Constructors
CreateClusterResponse' (Maybe Cluster) Int |
Instances
newCreateClusterResponse Source #
Create a value of CreateClusterResponse
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:cluster:CreateClusterResponse'
, createClusterResponse_cluster
- Information about the cluster that was created.
$sel:httpStatus:CreateClusterResponse'
, createClusterResponse_httpStatus
- The response's http status code.
CreateHsm
See: newCreateHsm
smart constructor.
Constructors
CreateHsm' (Maybe Text) Text Text |
Instances
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:ipAddress:CreateHsm'
, createHsm_ipAddress
- The HSM's IP address. If you specify an IP address, use an available
address from the subnet that maps to the Availability Zone where you are
creating the HSM. If you don't specify an IP address, one is chosen for
you from that subnet.
CreateHsm
, createHsm_clusterId
- The identifier (ID) of the HSM's cluster. To find the cluster ID, use
DescribeClusters.
CreateHsm
, createHsm_availabilityZone
- The Availability Zone where you are creating the HSM. To find the
cluster's Availability Zones, use DescribeClusters.
data CreateHsmResponse Source #
See: newCreateHsmResponse
smart constructor.
Constructors
CreateHsmResponse' (Maybe Hsm) 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:hsm:CreateHsmResponse'
, createHsmResponse_hsm
- Information about the HSM that was created.
$sel:httpStatus:CreateHsmResponse'
, createHsmResponse_httpStatus
- The response's http status code.
DeleteBackup
data DeleteBackup Source #
See: newDeleteBackup
smart constructor.
Constructors
DeleteBackup' Text |
Instances
Arguments
:: Text | |
-> DeleteBackup |
Create a value of DeleteBackup
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:
DeleteBackup
, deleteBackup_backupId
- The ID of the backup to be deleted. To find the ID of a backup, use the
DescribeBackups operation.
data DeleteBackupResponse Source #
See: newDeleteBackupResponse
smart constructor.
Constructors
DeleteBackupResponse' (Maybe Backup) Int |
Instances
newDeleteBackupResponse Source #
Arguments
:: Int | |
-> DeleteBackupResponse |
Create a value of DeleteBackupResponse
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:backup:DeleteBackupResponse'
, deleteBackupResponse_backup
- Information on the Backup
object deleted.
$sel:httpStatus:DeleteBackupResponse'
, deleteBackupResponse_httpStatus
- The response's http status code.
DeleteCluster
data DeleteCluster Source #
See: newDeleteCluster
smart constructor.
Constructors
DeleteCluster' Text |
Instances
Arguments
:: Text | |
-> DeleteCluster |
Create a value of DeleteCluster
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:
DeleteCluster
, deleteCluster_clusterId
- The identifier (ID) of the cluster that you are deleting. To find the
cluster ID, use DescribeClusters.
data DeleteClusterResponse Source #
See: newDeleteClusterResponse
smart constructor.
Constructors
DeleteClusterResponse' (Maybe Cluster) Int |
Instances
newDeleteClusterResponse Source #
Create a value of DeleteClusterResponse
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:cluster:DeleteClusterResponse'
, deleteClusterResponse_cluster
- Information about the cluster that was deleted.
$sel:httpStatus:DeleteClusterResponse'
, deleteClusterResponse_httpStatus
- The response's http status code.
DeleteHsm
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:
DeleteHsm
, deleteHsm_eniId
- The identifier (ID) of the elastic network interface (ENI) of the HSM
that you are deleting.
DeleteHsm
, deleteHsm_eniIp
- The IP address of the elastic network interface (ENI) of the HSM that
you are deleting.
DeleteHsm
, deleteHsm_hsmId
- The identifier (ID) of the HSM that you are deleting.
DeleteHsm
, deleteHsm_clusterId
- The identifier (ID) of the cluster that contains the HSM that you are
deleting.
data DeleteHsmResponse Source #
See: newDeleteHsmResponse
smart constructor.
Constructors
DeleteHsmResponse' (Maybe Text) Int |
Instances
Arguments
:: Int | |
-> 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:
DeleteHsm
, deleteHsmResponse_hsmId
- The identifier (ID) of the HSM that was deleted.
$sel:httpStatus:DeleteHsmResponse'
, deleteHsmResponse_httpStatus
- The response's http status code.
DescribeBackups (Paginated)
data DescribeBackups Source #
See: newDescribeBackups
smart constructor.
Constructors
DescribeBackups' (Maybe (HashMap Text [Text])) (Maybe Natural) (Maybe Text) (Maybe Bool) |
Instances
newDescribeBackups :: DescribeBackups Source #
Create a value of DescribeBackups
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:filters:DescribeBackups'
, describeBackups_filters
- One or more filters to limit the items returned in the response.
Use the backupIds
filter to return only the specified backups. Specify
backups by their backup identifier (ID).
Use the sourceBackupIds
filter to return only the backups created from
a source backup. The sourceBackupID
of a source backup is returned by
the CopyBackupToRegion operation.
Use the clusterIds
filter to return only the backups for the specified
clusters. Specify clusters by their cluster identifier (ID).
Use the states
filter to return only backups that match the specified
state.
Use the neverExpires
filter to return backups filtered by the value in
the neverExpires
parameter. True
returns all backups exempt from the
backup retention policy. False
returns all backups with a backup
retention policy defined at the cluster.
$sel:maxResults:DescribeBackups'
, describeBackups_maxResults
- The maximum number of backups to return in the response. When there are
more backups than the number you specify, the response contains a
NextToken
value.
DescribeBackups
, describeBackups_nextToken
- The NextToken
value that you received in the previous response. Use
this value to get more backups.
$sel:sortAscending:DescribeBackups'
, describeBackups_sortAscending
- Designates whether or not to sort the return backups by ascending
chronological order of generation.
data DescribeBackupsResponse Source #
See: newDescribeBackupsResponse
smart constructor.
Instances
newDescribeBackupsResponse Source #
Create a value of DescribeBackupsResponse
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:backups:DescribeBackupsResponse'
, describeBackupsResponse_backups
- A list of backups.
DescribeBackups
, describeBackupsResponse_nextToken
- An opaque string that indicates that the response contains only a subset
of backups. Use this value in a subsequent DescribeBackups
request to
get more backups.
$sel:httpStatus:DescribeBackupsResponse'
, describeBackupsResponse_httpStatus
- The response's http status code.
DescribeClusters (Paginated)
data DescribeClusters Source #
See: newDescribeClusters
smart constructor.
Instances
newDescribeClusters :: DescribeClusters Source #
Create a value of DescribeClusters
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:filters:DescribeClusters'
, describeClusters_filters
- One or more filters to limit the items returned in the response.
Use the clusterIds
filter to return only the specified clusters.
Specify clusters by their cluster identifier (ID).
Use the vpcIds
filter to return only the clusters in the specified
virtual private clouds (VPCs). Specify VPCs by their VPC identifier
(ID).
Use the states
filter to return only clusters that match the specified
state.
$sel:maxResults:DescribeClusters'
, describeClusters_maxResults
- The maximum number of clusters to return in the response. When there are
more clusters than the number you specify, the response contains a
NextToken
value.
DescribeClusters
, describeClusters_nextToken
- The NextToken
value that you received in the previous response. Use
this value to get more clusters.
data DescribeClustersResponse Source #
See: newDescribeClustersResponse
smart constructor.
Instances
newDescribeClustersResponse Source #
Create a value of DescribeClustersResponse
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:clusters:DescribeClustersResponse'
, describeClustersResponse_clusters
- A list of clusters.
DescribeClusters
, describeClustersResponse_nextToken
- An opaque string that indicates that the response contains only a subset
of clusters. Use this value in a subsequent DescribeClusters
request
to get more clusters.
$sel:httpStatus:DescribeClustersResponse'
, describeClustersResponse_httpStatus
- The response's http status code.
InitializeCluster
data InitializeCluster Source #
See: newInitializeCluster
smart constructor.
Constructors
InitializeCluster' Text Text Text |
Instances
Arguments
:: Text | |
-> Text | |
-> Text | |
-> InitializeCluster |
Create a value of InitializeCluster
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:
InitializeCluster
, initializeCluster_clusterId
- The identifier (ID) of the cluster that you are claiming. To find the
cluster ID, use DescribeClusters.
$sel:signedCert:InitializeCluster'
, initializeCluster_signedCert
- The cluster certificate issued (signed) by your issuing certificate
authority (CA). The certificate must be in PEM format and can contain a
maximum of 5000 characters.
$sel:trustAnchor:InitializeCluster'
, initializeCluster_trustAnchor
- The issuing certificate of the issuing certificate authority (CA) that
issued (signed) the cluster certificate. You must use a self-signed
certificate. The certificate used to sign the HSM CSR must be directly
available, and thus must be the root certificate. The certificate must
be in PEM format and can contain a maximum of 5000 characters.
data InitializeClusterResponse Source #
See: newInitializeClusterResponse
smart constructor.
Constructors
InitializeClusterResponse' (Maybe ClusterState) (Maybe Text) Int |
Instances
newInitializeClusterResponse Source #
Create a value of InitializeClusterResponse
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:
InitializeClusterResponse
, initializeClusterResponse_state
- The cluster's state.
InitializeClusterResponse
, initializeClusterResponse_stateMessage
- A description of the cluster's state.
$sel:httpStatus:InitializeClusterResponse'
, initializeClusterResponse_httpStatus
- The response's http status code.
ListTags (Paginated)
See: newListTags
smart constructor.
Instances
Create a value of ListTags
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:maxResults:ListTags'
, listTags_maxResults
- The maximum number of tags to return in the response. When there are
more tags than the number you specify, the response contains a
NextToken
value.
ListTags
, listTags_nextToken
- The NextToken
value that you received in the previous response. Use
this value to get more tags.
$sel:resourceId:ListTags'
, listTags_resourceId
- The cluster identifier (ID) for the cluster whose tags you are getting.
To find the cluster ID, use DescribeClusters.
data ListTagsResponse Source #
See: newListTagsResponse
smart constructor.
Constructors
ListTagsResponse' (Maybe Text) Int [Tag] |
Instances
Arguments
:: Int | |
-> ListTagsResponse |
Create a value of ListTagsResponse
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:
ListTags
, listTagsResponse_nextToken
- An opaque string that indicates that the response contains only a subset
of tags. Use this value in a subsequent ListTags
request to get more
tags.
$sel:httpStatus:ListTagsResponse'
, listTagsResponse_httpStatus
- The response's http status code.
ListTagsResponse
, listTagsResponse_tagList
- A list of tags.
ModifyBackupAttributes
data ModifyBackupAttributes Source #
See: newModifyBackupAttributes
smart constructor.
Constructors
ModifyBackupAttributes' Text Bool |
Instances
newModifyBackupAttributes Source #
Create a value of ModifyBackupAttributes
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:
ModifyBackupAttributes
, modifyBackupAttributes_backupId
- The identifier (ID) of the backup to modify. To find the ID of a backup,
use the DescribeBackups operation.
ModifyBackupAttributes
, modifyBackupAttributes_neverExpires
- Specifies whether the service should exempt a backup from the retention
policy for the cluster. True
exempts a backup from the retention
policy. False
means the service applies the backup retention policy
defined at the cluster.
data ModifyBackupAttributesResponse Source #
See: newModifyBackupAttributesResponse
smart constructor.
Constructors
ModifyBackupAttributesResponse' (Maybe Backup) Int |
Instances
newModifyBackupAttributesResponse Source #
Create a value of ModifyBackupAttributesResponse
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:backup:ModifyBackupAttributesResponse'
, modifyBackupAttributesResponse_backup
- Undocumented member.
$sel:httpStatus:ModifyBackupAttributesResponse'
, modifyBackupAttributesResponse_httpStatus
- The response's http status code.
ModifyCluster
data ModifyCluster Source #
See: newModifyCluster
smart constructor.
Constructors
ModifyCluster' BackupRetentionPolicy Text |
Instances
Arguments
:: BackupRetentionPolicy | |
-> Text | |
-> ModifyCluster |
Create a value of ModifyCluster
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:
ModifyCluster
, modifyCluster_backupRetentionPolicy
- A policy that defines how the service retains backups.
ModifyCluster
, modifyCluster_clusterId
- The identifier (ID) of the cluster that you want to modify. To find the
cluster ID, use DescribeClusters.
data ModifyClusterResponse Source #
See: newModifyClusterResponse
smart constructor.
Constructors
ModifyClusterResponse' (Maybe Cluster) Int |
Instances
newModifyClusterResponse Source #
Create a value of ModifyClusterResponse
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:cluster:ModifyClusterResponse'
, modifyClusterResponse_cluster
- Undocumented member.
$sel:httpStatus:ModifyClusterResponse'
, modifyClusterResponse_httpStatus
- The response's http status code.
RestoreBackup
data RestoreBackup Source #
See: newRestoreBackup
smart constructor.
Constructors
RestoreBackup' Text |
Instances
Arguments
:: Text | |
-> RestoreBackup |
Create a value of RestoreBackup
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:
RestoreBackup
, restoreBackup_backupId
- The ID of the backup to be restored. To find the ID of a backup, use the
DescribeBackups operation.
data RestoreBackupResponse Source #
See: newRestoreBackupResponse
smart constructor.
Constructors
RestoreBackupResponse' (Maybe Backup) Int |
Instances
newRestoreBackupResponse Source #
Create a value of RestoreBackupResponse
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:backup:RestoreBackupResponse'
, restoreBackupResponse_backup
- Information on the Backup
object created.
$sel:httpStatus:RestoreBackupResponse'
, restoreBackupResponse_httpStatus
- The response's http status code.
TagResource
data TagResource Source #
See: newTagResource
smart constructor.
Constructors
TagResource' Text [Tag] |
Instances
Arguments
:: Text | |
-> TagResource |
Create a value of TagResource
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:resourceId:TagResource'
, tagResource_resourceId
- The cluster identifier (ID) for the cluster that you are tagging. To
find the cluster ID, use DescribeClusters.
TagResource
, tagResource_tagList
- A list of one or more tags.
data TagResourceResponse Source #
See: newTagResourceResponse
smart constructor.
Constructors
TagResourceResponse' Int |
Instances
newTagResourceResponse Source #
Arguments
:: Int | |
-> TagResourceResponse |
Create a value of TagResourceResponse
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:TagResourceResponse'
, tagResourceResponse_httpStatus
- The response's http status code.
UntagResource
data UntagResource Source #
See: newUntagResource
smart constructor.
Constructors
UntagResource' Text (NonEmpty Text) |
Instances
Arguments
:: Text | |
-> NonEmpty Text | |
-> UntagResource |
Create a value of UntagResource
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:resourceId:UntagResource'
, untagResource_resourceId
- The cluster identifier (ID) for the cluster whose tags you are removing.
To find the cluster ID, use DescribeClusters.
$sel:tagKeyList:UntagResource'
, untagResource_tagKeyList
- A list of one or more tag keys for the tags that you are removing.
Specify only the tag keys, not the tag values.
data UntagResourceResponse Source #
See: newUntagResourceResponse
smart constructor.
Constructors
UntagResourceResponse' Int |
Instances
newUntagResourceResponse Source #
Create a value of UntagResourceResponse
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:UntagResourceResponse'
, untagResourceResponse_httpStatus
- The response's http status code.
Types
BackupPolicy
newtype BackupPolicy Source #
Constructors
BackupPolicy' | |
Fields |
Bundled Patterns
pattern BackupPolicy_DEFAULT :: BackupPolicy |
Instances
BackupRetentionType
newtype BackupRetentionType Source #
Constructors
BackupRetentionType' | |
Fields |
Bundled Patterns
pattern BackupRetentionType_DAYS :: BackupRetentionType |
Instances
BackupState
newtype BackupState Source #
Constructors
BackupState' | |
Fields |
Bundled Patterns
pattern BackupState_CREATE_IN_PROGRESS :: BackupState | |
pattern BackupState_DELETED :: BackupState | |
pattern BackupState_PENDING_DELETION :: BackupState | |
pattern BackupState_READY :: BackupState |
Instances
ClusterState
newtype ClusterState Source #
Constructors
ClusterState' | |
Fields |
Bundled Patterns
pattern ClusterState_ACTIVE :: ClusterState | |
pattern ClusterState_CREATE_IN_PROGRESS :: ClusterState | |
pattern ClusterState_DEGRADED :: ClusterState | |
pattern ClusterState_DELETED :: ClusterState | |
pattern ClusterState_DELETE_IN_PROGRESS :: ClusterState | |
pattern ClusterState_INITIALIZED :: ClusterState | |
pattern ClusterState_INITIALIZE_IN_PROGRESS :: ClusterState | |
pattern ClusterState_UNINITIALIZED :: ClusterState | |
pattern ClusterState_UPDATE_IN_PROGRESS :: ClusterState |
Instances
HsmState
Constructors
HsmState' | |
Fields
|
Bundled Patterns
pattern HsmState_ACTIVE :: HsmState | |
pattern HsmState_CREATE_IN_PROGRESS :: HsmState | |
pattern HsmState_DEGRADED :: HsmState | |
pattern HsmState_DELETED :: HsmState | |
pattern HsmState_DELETE_IN_PROGRESS :: HsmState |
Instances
Backup
Contains information about a backup of an AWS CloudHSM cluster. All
backup objects contain the BackupId
, BackupState
, ClusterId
, and
CreateTimestamp
parameters. Backups that were copied into a
destination region additionally contain the CopyTimestamp
,
SourceBackup
, SourceCluster
, and SourceRegion
parameters. A backup
that is pending deletion will include the DeleteTimestamp
parameter.
See: newBackup
smart constructor.
Constructors
Backup' (Maybe BackupState) (Maybe Text) (Maybe POSIX) (Maybe POSIX) (Maybe POSIX) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe [Tag]) Text |
Instances
Create a value of Backup
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:backupState:Backup'
, backup_backupState
- The state of the backup.
$sel:clusterId:Backup'
, backup_clusterId
- The identifier (ID) of the cluster that was backed up.
$sel:copyTimestamp:Backup'
, backup_copyTimestamp
- The date and time when the backup was copied from a source backup.
$sel:createTimestamp:Backup'
, backup_createTimestamp
- The date and time when the backup was created.
$sel:deleteTimestamp:Backup'
, backup_deleteTimestamp
- The date and time when the backup will be permanently deleted.
$sel:neverExpires:Backup'
, backup_neverExpires
- Specifies whether the service should exempt a backup from the retention
policy for the cluster. True
exempts a backup from the retention
policy. False
means the service applies the backup retention policy
defined at the cluster.
$sel:sourceBackup:Backup'
, backup_sourceBackup
- The identifier (ID) of the source backup from which the new backup was
copied.
$sel:sourceCluster:Backup'
, backup_sourceCluster
- The identifier (ID) of the cluster containing the source backup from
which the new backup was copied.
$sel:sourceRegion:Backup'
, backup_sourceRegion
- The AWS Region that contains the source backup from which the new backup
was copied.
$sel:tagList:Backup'
, backup_tagList
- The list of tags for the backup.
$sel:backupId:Backup'
, backup_backupId
- The identifier (ID) of the backup.
BackupRetentionPolicy
data BackupRetentionPolicy Source #
A policy that defines the number of days to retain backups.
See: newBackupRetentionPolicy
smart constructor.
Constructors
BackupRetentionPolicy' (Maybe BackupRetentionType) (Maybe Text) |
Instances
newBackupRetentionPolicy :: BackupRetentionPolicy Source #
Create a value of BackupRetentionPolicy
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:type':BackupRetentionPolicy'
, backupRetentionPolicy_type
- The type of backup retention policy. For the DAYS
type, the value is
the number of days to retain backups.
$sel:value:BackupRetentionPolicy'
, backupRetentionPolicy_value
- Use a value between 7 - 379.
Certificates
data Certificates Source #
Contains one or more certificates or a certificate signing request (CSR).
See: newCertificates
smart constructor.
Instances
newCertificates :: Certificates Source #
Create a value of Certificates
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:awsHardwareCertificate:Certificates'
, certificates_awsHardwareCertificate
- The HSM hardware certificate issued (signed) by AWS CloudHSM.
$sel:clusterCertificate:Certificates'
, certificates_clusterCertificate
- The cluster certificate issued (signed) by the issuing certificate
authority (CA) of the cluster's owner.
$sel:clusterCsr:Certificates'
, certificates_clusterCsr
- The cluster's certificate signing request (CSR). The CSR exists only
when the cluster's state is UNINITIALIZED
.
$sel:hsmCertificate:Certificates'
, certificates_hsmCertificate
- The HSM certificate issued (signed) by the HSM hardware.
$sel:manufacturerHardwareCertificate:Certificates'
, certificates_manufacturerHardwareCertificate
- The HSM hardware certificate issued (signed) by the hardware
manufacturer.
Cluster
Contains information about an AWS CloudHSM cluster.
See: newCluster
smart constructor.
Constructors
Cluster' (Maybe BackupPolicy) (Maybe BackupRetentionPolicy) (Maybe Certificates) (Maybe Text) (Maybe POSIX) (Maybe Text) (Maybe [Hsm]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe ClusterState) (Maybe Text) (Maybe (HashMap Text Text)) (Maybe [Tag]) (Maybe Text) |
Instances
newCluster :: Cluster Source #
Create a value of Cluster
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:backupPolicy:Cluster'
, cluster_backupPolicy
- The cluster's backup policy.
$sel:backupRetentionPolicy:Cluster'
, cluster_backupRetentionPolicy
- A policy that defines how the service retains backups.
$sel:certificates:Cluster'
, cluster_certificates
- Contains one or more certificates or a certificate signing request
(CSR).
Cluster
, cluster_clusterId
- The cluster's identifier (ID).
$sel:createTimestamp:Cluster'
, cluster_createTimestamp
- The date and time when the cluster was created.
$sel:hsmType:Cluster'
, cluster_hsmType
- The type of HSM that the cluster contains.
$sel:hsms:Cluster'
, cluster_hsms
- Contains information about the HSMs in the cluster.
$sel:preCoPassword:Cluster'
, cluster_preCoPassword
- The default password for the cluster's Pre-Crypto Officer (PRECO) user.
$sel:securityGroup:Cluster'
, cluster_securityGroup
- The identifier (ID) of the cluster's security group.
$sel:sourceBackupId:Cluster'
, cluster_sourceBackupId
- The identifier (ID) of the backup used to create the cluster. This value
exists only when the cluster was created from a backup.
Cluster
, cluster_state
- The cluster's state.
Cluster
, cluster_stateMessage
- A description of the cluster's state.
$sel:subnetMapping:Cluster'
, cluster_subnetMapping
- A map from availability zone to the cluster’s subnet in that
availability zone.
$sel:tagList:Cluster'
, cluster_tagList
- The list of tags for the cluster.
$sel:vpcId:Cluster'
, cluster_vpcId
- The identifier (ID) of the virtual private cloud (VPC) that contains the
cluster.
DestinationBackup
data DestinationBackup Source #
Contains information about the backup that will be copied and created by the CopyBackupToRegion operation.
See: newDestinationBackup
smart constructor.
Instances
newDestinationBackup :: DestinationBackup Source #
Create a value of DestinationBackup
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:createTimestamp:DestinationBackup'
, destinationBackup_createTimestamp
- The date and time when both the source backup was created.
$sel:sourceBackup:DestinationBackup'
, destinationBackup_sourceBackup
- The identifier (ID) of the source backup from which the new backup was
copied.
$sel:sourceCluster:DestinationBackup'
, destinationBackup_sourceCluster
- The identifier (ID) of the cluster containing the source backup from
which the new backup was copied.
$sel:sourceRegion:DestinationBackup'
, destinationBackup_sourceRegion
- The AWS region that contains the source backup from which the new backup
was copied.
Hsm
Contains information about a hardware security module (HSM) in an AWS CloudHSM cluster.
See: newHsm
smart constructor.
Constructors
Hsm' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe HsmState) (Maybe Text) (Maybe Text) Text |
Instances
Create a value of Hsm
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:Hsm'
, hsm_availabilityZone
- The Availability Zone that contains the HSM.
$sel:clusterId:Hsm'
, hsm_clusterId
- The identifier (ID) of the cluster that contains the HSM.
$sel:eniId:Hsm'
, hsm_eniId
- The identifier (ID) of the HSM's elastic network interface (ENI).
$sel:eniIp:Hsm'
, hsm_eniIp
- The IP address of the HSM's elastic network interface (ENI).
$sel:state:Hsm'
, hsm_state
- The HSM's state.
$sel:stateMessage:Hsm'
, hsm_stateMessage
- A description of the HSM's state.
$sel:subnetId:Hsm'
, hsm_subnetId
- The subnet that contains the HSM's elastic network interface (ENI).
$sel:hsmId:Hsm'
, hsm_hsmId
- The HSM's identifier (ID).
Tag
Contains a tag. A tag is a key-value pair.
See: newTag
smart constructor.
Instances
FromJSON Tag Source # | |
ToJSON Tag Source # | |
Defined in Amazonka.CloudHSMV2.Types.Tag | |
Generic Tag Source # | |
Read Tag Source # | |
Show Tag Source # | |
NFData Tag Source # | |
Defined in Amazonka.CloudHSMV2.Types.Tag | |
Eq Tag Source # | |
Hashable Tag Source # | |
Defined in Amazonka.CloudHSMV2.Types.Tag | |
type Rep Tag Source # | |
Defined in Amazonka.CloudHSMV2.Types.Tag type Rep Tag = D1 ('MetaData "Tag" "Amazonka.CloudHSMV2.Types.Tag" "amazonka-cloudhsmv2-2.0-JPONnjzt63Q1wP3HCntyXZ" '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.