[][src]Struct rusoto_cloudhsmv2::CloudHsmv2Client

pub struct CloudHsmv2Client { /* fields omitted */ }

A client for the CloudHSM V2 API.

Methods

impl CloudHsmv2Client[src]

pub fn new(region: Region) -> CloudHsmv2Client[src]

Creates a client backed by the default tokio event loop.

The client will use the default credentials provider and tls client.

pub fn new_with<P, D>(
    request_dispatcher: D,
    credentials_provider: P,
    region: Region
) -> CloudHsmv2Client where
    P: ProvideAwsCredentials + Send + Sync + 'static,
    P::Future: Send,
    D: DispatchSignedRequest + Send + Sync + 'static,
    D::Future: Send
[src]

Trait Implementations

impl CloudHsmv2 for CloudHsmv2Client[src]

fn copy_backup_to_region(
    &self,
    input: CopyBackupToRegionRequest
) -> RusotoFuture<CopyBackupToRegionResponse, CopyBackupToRegionError>
[src]

Copy an AWS CloudHSM cluster backup to a different region.

fn create_cluster(
    &self,
    input: CreateClusterRequest
) -> RusotoFuture<CreateClusterResponse, CreateClusterError>
[src]

Creates a new AWS CloudHSM cluster.

fn create_hsm(
    &self,
    input: CreateHsmRequest
) -> RusotoFuture<CreateHsmResponse, CreateHsmError>
[src]

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

fn delete_backup(
    &self,
    input: DeleteBackupRequest
) -> RusotoFuture<DeleteBackupResponse, DeleteBackupError>
[src]

Deletes 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

fn delete_cluster(
    &self,
    input: DeleteClusterRequest
) -> RusotoFuture<DeleteClusterResponse, DeleteClusterError>
[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(
    &self,
    input: DeleteHsmRequest
) -> RusotoFuture<DeleteHsmResponse, DeleteHsmError>
[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(
    &self,
    input: DescribeBackupsRequest
) -> RusotoFuture<DescribeBackupsResponse, DescribeBackupsError>
[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(
    &self,
    input: DescribeClustersRequest
) -> RusotoFuture<DescribeClustersResponse, DescribeClustersError>
[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(
    &self,
    input: InitializeClusterRequest
) -> RusotoFuture<InitializeClusterResponse, InitializeClusterError>
[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(
    &self,
    input: ListTagsRequest
) -> RusotoFuture<ListTagsResponse, ListTagsError>
[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(
    &self,
    input: RestoreBackupRequest
) -> RusotoFuture<RestoreBackupResponse, RestoreBackupError>
[src]

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

fn tag_resource(
    &self,
    input: TagResourceRequest
) -> RusotoFuture<TagResourceResponse, TagResourceError>
[src]

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

fn untag_resource(
    &self,
    input: UntagResourceRequest
) -> RusotoFuture<UntagResourceResponse, UntagResourceError>
[src]

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

impl Clone for CloudHsmv2Client[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for CloudHsmv2Client

impl Sync for CloudHsmv2Client

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

type Output = T

Should always be Self