[][src]Trait rusoto_cloudhsmv2::CloudHsmv2

pub trait CloudHsmv2 {
    fn copy_backup_to_region<'life0, 'async_trait>(
        &'life0 self,
        input: CopyBackupToRegionRequest
    ) -> Pin<Box<dyn Future<Output = Result<CopyBackupToRegionResponse, RusotoError<CopyBackupToRegionError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn create_cluster<'life0, 'async_trait>(
        &'life0 self,
        input: CreateClusterRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateClusterResponse, RusotoError<CreateClusterError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn create_hsm<'life0, 'async_trait>(
        &'life0 self,
        input: CreateHsmRequest
    ) -> Pin<Box<dyn Future<Output = Result<CreateHsmResponse, RusotoError<CreateHsmError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn delete_backup<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteBackupRequest
    ) -> Pin<Box<dyn Future<Output = Result<DeleteBackupResponse, RusotoError<DeleteBackupError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn delete_cluster<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteClusterRequest
    ) -> Pin<Box<dyn Future<Output = Result<DeleteClusterResponse, RusotoError<DeleteClusterError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn delete_hsm<'life0, 'async_trait>(
        &'life0 self,
        input: DeleteHsmRequest
    ) -> Pin<Box<dyn Future<Output = Result<DeleteHsmResponse, RusotoError<DeleteHsmError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn describe_backups<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeBackupsRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeBackupsResponse, RusotoError<DescribeBackupsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn describe_clusters<'life0, 'async_trait>(
        &'life0 self,
        input: DescribeClustersRequest
    ) -> Pin<Box<dyn Future<Output = Result<DescribeClustersResponse, RusotoError<DescribeClustersError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn initialize_cluster<'life0, 'async_trait>(
        &'life0 self,
        input: InitializeClusterRequest
    ) -> Pin<Box<dyn Future<Output = Result<InitializeClusterResponse, RusotoError<InitializeClusterError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn list_tags<'life0, 'async_trait>(
        &'life0 self,
        input: ListTagsRequest
    ) -> Pin<Box<dyn Future<Output = Result<ListTagsResponse, RusotoError<ListTagsError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn restore_backup<'life0, 'async_trait>(
        &'life0 self,
        input: RestoreBackupRequest
    ) -> Pin<Box<dyn Future<Output = Result<RestoreBackupResponse, RusotoError<RestoreBackupError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn tag_resource<'life0, 'async_trait>(
        &'life0 self,
        input: TagResourceRequest
    ) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
;
fn untag_resource<'life0, 'async_trait>(
        &'life0 self,
        input: UntagResourceRequest
    ) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }

Trait representing the capabilities of the CloudHSM V2 API. CloudHSM V2 clients implement this trait.

Required methods

fn copy_backup_to_region<'life0, 'async_trait>(
    &'life0 self,
    input: CopyBackupToRegionRequest
) -> Pin<Box<dyn Future<Output = Result<CopyBackupToRegionResponse, RusotoError<CopyBackupToRegionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Copy an AWS CloudHSM cluster backup to a different region.

fn create_cluster<'life0, 'async_trait>(
    &'life0 self,
    input: CreateClusterRequest
) -> Pin<Box<dyn Future<Output = Result<CreateClusterResponse, RusotoError<CreateClusterError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Creates a new AWS CloudHSM cluster.

fn create_hsm<'life0, 'async_trait>(
    &'life0 self,
    input: CreateHsmRequest
) -> Pin<Box<dyn Future<Output = Result<CreateHsmResponse, RusotoError<CreateHsmError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Creates a new hardware security module (HSM) in the specified AWS CloudHSM cluster.

fn delete_backup<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteBackupRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteBackupResponse, RusotoError<DeleteBackupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request is made. For more information on restoring a backup, see RestoreBackup.

fn delete_cluster<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteClusterRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteClusterResponse, RusotoError<DeleteClusterError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Deletes 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.

fn delete_hsm<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteHsmRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteHsmResponse, RusotoError<DeleteHsmError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Deletes 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.

fn describe_backups<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeBackupsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeBackupsResponse, RusotoError<DescribeBackupsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Gets 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.

fn describe_clusters<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeClustersRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeClustersResponse, RusotoError<DescribeClustersError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Gets 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.

fn initialize_cluster<'life0, 'async_trait>(
    &'life0 self,
    input: InitializeClusterRequest
) -> Pin<Box<dyn Future<Output = Result<InitializeClusterResponse, RusotoError<InitializeClusterError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Claims 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.

fn list_tags<'life0, 'async_trait>(
    &'life0 self,
    input: ListTagsRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsResponse, RusotoError<ListTagsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Gets 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.

fn restore_backup<'life0, 'async_trait>(
    &'life0 self,
    input: RestoreBackupRequest
) -> Pin<Box<dyn Future<Output = Result<RestoreBackupResponse, RusotoError<RestoreBackupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Restores a specified AWS CloudHSM backup that is in the PENDING_DELETION state. For mor information on deleting a backup, see DeleteBackup.

fn tag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Adds or overwrites one or more tags for the specified AWS CloudHSM cluster.

fn untag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 

Removes the specified tag or tags from the specified AWS CloudHSM cluster.

Loading content...

Implementors

impl CloudHsmv2 for CloudHsmv2Client[src]

fn copy_backup_to_region<'life0, 'async_trait>(
    &'life0 self,
    input: CopyBackupToRegionRequest
) -> Pin<Box<dyn Future<Output = Result<CopyBackupToRegionResponse, RusotoError<CopyBackupToRegionError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Copy an AWS CloudHSM cluster backup to a different region.

fn create_cluster<'life0, 'async_trait>(
    &'life0 self,
    input: CreateClusterRequest
) -> Pin<Box<dyn Future<Output = Result<CreateClusterResponse, RusotoError<CreateClusterError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a new AWS CloudHSM cluster.

fn create_hsm<'life0, 'async_trait>(
    &'life0 self,
    input: CreateHsmRequest
) -> Pin<Box<dyn Future<Output = Result<CreateHsmResponse, RusotoError<CreateHsmError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Creates a new hardware security module (HSM) in the specified AWS CloudHSM cluster.

fn delete_backup<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteBackupRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteBackupResponse, RusotoError<DeleteBackupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes a specified AWS CloudHSM backup. A backup can be restored up to 7 days after the DeleteBackup request is made. For more information on restoring a backup, see RestoreBackup.

fn delete_cluster<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteClusterRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteClusterResponse, RusotoError<DeleteClusterError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes 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.

fn delete_hsm<'life0, 'async_trait>(
    &'life0 self,
    input: DeleteHsmRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteHsmResponse, RusotoError<DeleteHsmError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Deletes 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.

fn describe_backups<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeBackupsRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeBackupsResponse, RusotoError<DescribeBackupsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets 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.

fn describe_clusters<'life0, 'async_trait>(
    &'life0 self,
    input: DescribeClustersRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeClustersResponse, RusotoError<DescribeClustersError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets 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.

fn initialize_cluster<'life0, 'async_trait>(
    &'life0 self,
    input: InitializeClusterRequest
) -> Pin<Box<dyn Future<Output = Result<InitializeClusterResponse, RusotoError<InitializeClusterError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Claims 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.

fn list_tags<'life0, 'async_trait>(
    &'life0 self,
    input: ListTagsRequest
) -> Pin<Box<dyn Future<Output = Result<ListTagsResponse, RusotoError<ListTagsError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Gets 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.

fn restore_backup<'life0, 'async_trait>(
    &'life0 self,
    input: RestoreBackupRequest
) -> Pin<Box<dyn Future<Output = Result<RestoreBackupResponse, RusotoError<RestoreBackupError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Restores a specified AWS CloudHSM backup that is in the PENDING_DELETION state. For mor information on deleting a backup, see DeleteBackup.

fn tag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: TagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Adds or overwrites one or more tags for the specified AWS CloudHSM cluster.

fn untag_resource<'life0, 'async_trait>(
    &'life0 self,
    input: UntagResourceRequest
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>> where
    'life0: 'async_trait,
    Self: 'async_trait, 
[src]

Removes the specified tag or tags from the specified AWS CloudHSM cluster.

Loading content...