import { CloudHSMV2Client } from "./CloudHSMV2Client"; import { CopyBackupToRegionInput } from "./types/CopyBackupToRegionInput"; import { CopyBackupToRegionOutput } from "./types/CopyBackupToRegionOutput"; import { CreateClusterInput } from "./types/CreateClusterInput"; import { CreateClusterOutput } from "./types/CreateClusterOutput"; import { CreateHsmInput } from "./types/CreateHsmInput"; import { CreateHsmOutput } from "./types/CreateHsmOutput"; import { DeleteBackupInput } from "./types/DeleteBackupInput"; import { DeleteBackupOutput } from "./types/DeleteBackupOutput"; import { DeleteClusterInput } from "./types/DeleteClusterInput"; import { DeleteClusterOutput } from "./types/DeleteClusterOutput"; import { DeleteHsmInput } from "./types/DeleteHsmInput"; import { DeleteHsmOutput } from "./types/DeleteHsmOutput"; import { DescribeBackupsInput } from "./types/DescribeBackupsInput"; import { DescribeBackupsOutput } from "./types/DescribeBackupsOutput"; import { DescribeClustersInput } from "./types/DescribeClustersInput"; import { DescribeClustersOutput } from "./types/DescribeClustersOutput"; import { InitializeClusterInput } from "./types/InitializeClusterInput"; import { InitializeClusterOutput } from "./types/InitializeClusterOutput"; import { ListTagsInput } from "./types/ListTagsInput"; import { ListTagsOutput } from "./types/ListTagsOutput"; import { RestoreBackupInput } from "./types/RestoreBackupInput"; import { RestoreBackupOutput } from "./types/RestoreBackupOutput"; import { TagResourceInput } from "./types/TagResourceInput"; import { TagResourceOutput } from "./types/TagResourceOutput"; import { UntagResourceInput } from "./types/UntagResourceInput"; import { UntagResourceOutput } from "./types/UntagResourceOutput"; export declare class CloudHSMV2 extends CloudHSMV2Client { /** *
Copy an AWS CloudHSM cluster backup to a different region.
* * This operation may fail with one of the following errors: * - {CloudHsmInternalFailureException}The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
* - {CloudHsmServiceException}The request was rejected because an error occurred.
* - {CloudHsmResourceNotFoundException}The request was rejected because it refers to a resource that cannot be found.
* - {CloudHsmInvalidRequestException}The request was rejected because it is not a valid request.
* - {CloudHsmAccessDeniedException}The request was rejected because the requester does not have permission to perform the requested operation.
* - {Error} An error originating from the SDK or customizations rather than the service */ copyBackupToRegion(args: CopyBackupToRegionInput): PromiseCreates a new AWS CloudHSM cluster.
* * This operation may fail with one of the following errors: * - {CloudHsmInternalFailureException}The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
* - {CloudHsmServiceException}The request was rejected because an error occurred.
* - {CloudHsmResourceNotFoundException}The request was rejected because it refers to a resource that cannot be found.
* - {CloudHsmInvalidRequestException}The request was rejected because it is not a valid request.
* - {CloudHsmAccessDeniedException}The request was rejected because the requester does not have permission to perform the requested operation.
* - {Error} An error originating from the SDK or customizations rather than the service */ createCluster(args: CreateClusterInput): PromiseCreates a new hardware security module (HSM) in the specified AWS CloudHSM cluster.
* * This operation may fail with one of the following errors: * - {CloudHsmInternalFailureException}The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
* - {CloudHsmServiceException}The request was rejected because an error occurred.
* - {CloudHsmInvalidRequestException}The request was rejected because it is not a valid request.
* - {CloudHsmResourceNotFoundException}The request was rejected because it refers to a resource that cannot be found.
* - {CloudHsmAccessDeniedException}The request was rejected because the requester does not have permission to perform the requested operation.
* - {Error} An error originating from the SDK or customizations rather than the service */ createHsm(args: CreateHsmInput): PromiseDeletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request. For more information on restoring a backup, see RestoreBackup
* * This operation may fail with one of the following errors: * - {CloudHsmInternalFailureException}The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
* - {CloudHsmServiceException}The request was rejected because an error occurred.
* - {CloudHsmResourceNotFoundException}The request was rejected because it refers to a resource that cannot be found.
* - {CloudHsmInvalidRequestException}The request was rejected because it is not a valid request.
* - {CloudHsmAccessDeniedException}The request was rejected because the requester does not have permission to perform the requested operation.
* - {Error} An error originating from the SDK or customizations rather than the service */ deleteBackup(args: DeleteBackupInput): PromiseDeletes the specified AWS CloudHSM cluster. Before you can delete a cluster, you must delete all HSMs in the cluster. To see if the cluster contains any HSMs, use DescribeClusters. To delete an HSM, use DeleteHsm.
* * This operation may fail with one of the following errors: * - {CloudHsmInternalFailureException}The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
* - {CloudHsmServiceException}The request was rejected because an error occurred.
* - {CloudHsmResourceNotFoundException}The request was rejected because it refers to a resource that cannot be found.
* - {CloudHsmInvalidRequestException}The request was rejected because it is not a valid request.
* - {CloudHsmAccessDeniedException}The request was rejected because the requester does not have permission to perform the requested operation.
* - {Error} An error originating from the SDK or customizations rather than the service */ deleteCluster(args: DeleteClusterInput): PromiseDeletes the specified HSM. To specify an HSM, you can use its identifier (ID), the IP address of the HSM's elastic network interface (ENI), or the ID of the HSM's ENI. You need to specify only one of these values. To find these values, use DescribeClusters.
* * This operation may fail with one of the following errors: * - {CloudHsmInternalFailureException}The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
* - {CloudHsmServiceException}The request was rejected because an error occurred.
* - {CloudHsmResourceNotFoundException}The request was rejected because it refers to a resource that cannot be found.
* - {CloudHsmInvalidRequestException}The request was rejected because it is not a valid request.
* - {CloudHsmAccessDeniedException}The request was rejected because the requester does not have permission to perform the requested operation.
* - {Error} An error originating from the SDK or customizations rather than the service */ deleteHsm(args: DeleteHsmInput): PromiseGets information about backups of AWS CloudHSM clusters.
This is a paginated operation, which means that each response might contain only a subset of all the backups. When the response contains only a subset of backups, it includes a NextToken value. Use this value in a subsequent DescribeBackups request to get more backups. When you receive a response with no NextToken (or an empty or null value), that means there are no more backups to get.
The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
* - {CloudHsmServiceException}The request was rejected because an error occurred.
* - {CloudHsmResourceNotFoundException}The request was rejected because it refers to a resource that cannot be found.
* - {CloudHsmInvalidRequestException}The request was rejected because it is not a valid request.
* - {CloudHsmAccessDeniedException}The request was rejected because the requester does not have permission to perform the requested operation.
* - {Error} An error originating from the SDK or customizations rather than the service */ describeBackups(args: DescribeBackupsInput): PromiseGets information about AWS CloudHSM clusters.
This is a paginated operation, which means that each response might contain only a subset of all the clusters. When the response contains only a subset of clusters, it includes a NextToken value. Use this value in a subsequent DescribeClusters request to get more clusters. When you receive a response with no NextToken (or an empty or null value), that means there are no more clusters to get.
The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
* - {CloudHsmServiceException}The request was rejected because an error occurred.
* - {CloudHsmInvalidRequestException}The request was rejected because it is not a valid request.
* - {CloudHsmAccessDeniedException}The request was rejected because the requester does not have permission to perform the requested operation.
* - {Error} An error originating from the SDK or customizations rather than the service */ describeClusters(args: DescribeClustersInput): PromiseClaims an AWS CloudHSM cluster by submitting the cluster certificate issued by your issuing certificate authority (CA) and the CA's root certificate. Before you can claim a cluster, you must sign the cluster's certificate signing request (CSR) with your issuing CA. To get the cluster's CSR, use DescribeClusters.
* * This operation may fail with one of the following errors: * - {CloudHsmInternalFailureException}The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
* - {CloudHsmServiceException}The request was rejected because an error occurred.
* - {CloudHsmResourceNotFoundException}The request was rejected because it refers to a resource that cannot be found.
* - {CloudHsmInvalidRequestException}The request was rejected because it is not a valid request.
* - {CloudHsmAccessDeniedException}The request was rejected because the requester does not have permission to perform the requested operation.
* - {Error} An error originating from the SDK or customizations rather than the service */ initializeCluster(args: InitializeClusterInput): PromiseGets a list of tags for the specified AWS CloudHSM cluster.
This is a paginated operation, which means that each response might contain only a subset of all the tags. When the response contains only a subset of tags, it includes a NextToken value. Use this value in a subsequent ListTags request to get more tags. When you receive a response with no NextToken (or an empty or null value), that means there are no more tags to get.
The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
* - {CloudHsmServiceException}The request was rejected because an error occurred.
* - {CloudHsmResourceNotFoundException}The request was rejected because it refers to a resource that cannot be found.
* - {CloudHsmInvalidRequestException}The request was rejected because it is not a valid request.
* - {CloudHsmAccessDeniedException}The request was rejected because the requester does not have permission to perform the requested operation.
* - {Error} An error originating from the SDK or customizations rather than the service */ listTags(args: ListTagsInput): PromiseRestores a specified AWS CloudHSM backup that is in the PENDING_DELETION state. For more information on deleting a backup, see DeleteBackup.
The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
* - {CloudHsmServiceException}The request was rejected because an error occurred.
* - {CloudHsmResourceNotFoundException}The request was rejected because it refers to a resource that cannot be found.
* - {CloudHsmInvalidRequestException}The request was rejected because it is not a valid request.
* - {CloudHsmAccessDeniedException}The request was rejected because the requester does not have permission to perform the requested operation.
* - {Error} An error originating from the SDK or customizations rather than the service */ restoreBackup(args: RestoreBackupInput): PromiseAdds or overwrites one or more tags for the specified AWS CloudHSM cluster.
* * This operation may fail with one of the following errors: * - {CloudHsmInternalFailureException}The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
* - {CloudHsmServiceException}The request was rejected because an error occurred.
* - {CloudHsmResourceNotFoundException}The request was rejected because it refers to a resource that cannot be found.
* - {CloudHsmInvalidRequestException}The request was rejected because it is not a valid request.
* - {CloudHsmAccessDeniedException}The request was rejected because the requester does not have permission to perform the requested operation.
* - {Error} An error originating from the SDK or customizations rather than the service */ tagResource(args: TagResourceInput): PromiseRemoves the specified tag or tags from the specified AWS CloudHSM cluster.
* * This operation may fail with one of the following errors: * - {CloudHsmInternalFailureException}The request was rejected because of an AWS CloudHSM internal failure. The request can be retried.
* - {CloudHsmServiceException}The request was rejected because an error occurred.
* - {CloudHsmResourceNotFoundException}The request was rejected because it refers to a resource that cannot be found.
* - {CloudHsmInvalidRequestException}The request was rejected because it is not a valid request.
* - {CloudHsmAccessDeniedException}The request was rejected because the requester does not have permission to perform the requested operation.
* - {Error} An error originating from the SDK or customizations rather than the service */ untagResource(args: UntagResourceInput): Promise