[−][src]Struct rusoto_cloudhsmv2::CloudHsmv2Client
A client for the CloudHSM V2 API.
Implementations
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,
D: DispatchSignedRequest + Send + Sync + 'static,
[src]
request_dispatcher: D,
credentials_provider: P,
region: Region
) -> CloudHsmv2Client where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> CloudHsmv2Client
[src]
Trait Implementations
impl Clone for CloudHsmv2Client
[src]
pub fn clone(&self) -> CloudHsmv2Client
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl CloudHsmv2 for CloudHsmv2Client
[src]
pub 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]
&'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.
pub 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]
&'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.
pub 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]
&'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.
pub 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]
&'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.
pub 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]
&'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.
pub 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]
&'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.
pub 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]
&'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.
pub 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]
&'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.
pub 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]
&'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.
pub 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]
&'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.
pub 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]
&'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.
pub 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]
&'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.
pub 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]
&'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.
Auto Trait Implementations
impl !RefUnwindSafe for CloudHsmv2Client
[src]
impl Send for CloudHsmv2Client
[src]
impl Sync for CloudHsmv2Client
[src]
impl Unpin for CloudHsmv2Client
[src]
impl !UnwindSafe for CloudHsmv2Client
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,