Struct rusoto_cloudhsm::CloudHsmClient
source · [−]pub struct CloudHsmClient { /* private fields */ }
Expand description
A client for the CloudHSM API.
Implementations
sourceimpl CloudHsmClient
impl CloudHsmClient
sourcepub fn new(region: Region) -> CloudHsmClient
pub fn new(region: Region) -> CloudHsmClient
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
) -> CloudHsmClient where
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> CloudHsmClient
Trait Implementations
sourceimpl Clone for CloudHsmClient
impl Clone for CloudHsmClient
sourcefn clone(&self) -> CloudHsmClient
fn clone(&self) -> CloudHsmClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl CloudHsm for CloudHsmClient
impl CloudHsm for CloudHsmClient
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Adds or overwrites one or more tags for the specified AWS CloudHSM resource.
Each tag consists of a key and a value. Tag keys must be unique to each resource.
sourcefn create_hapg<'life0, 'async_trait>(
&'life0 self,
input: CreateHapgRequest
) -> Pin<Box<dyn Future<Output = Result<CreateHapgResponse, RusotoError<CreateHapgError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_hapg<'life0, 'async_trait>(
&'life0 self,
input: CreateHapgRequest
) -> Pin<Box<dyn Future<Output = Result<CreateHapgResponse, RusotoError<CreateHapgError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Creates a high-availability partition group. A high-availability partition group is a group of partitions that spans multiple physical HSMs.
sourcefn 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 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,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Creates an uninitialized HSM instance.
There is an upfront fee charged for each HSM instance that you create with the CreateHsm
operation. If you accidentally provision an HSM and want to request a refund, delete the instance using the DeleteHsm operation, go to the AWS Support Center, create a new case, and select Account and Billing Support.
It can take up to 20 minutes to create and provision an HSM. You can monitor the status of the HSM with the DescribeHsm operation. The HSM is ready to be initialized when the status changes to RUNNING
.
sourcefn create_luna_client<'life0, 'async_trait>(
&'life0 self,
input: CreateLunaClientRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLunaClientResponse, RusotoError<CreateLunaClientError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn create_luna_client<'life0, 'async_trait>(
&'life0 self,
input: CreateLunaClientRequest
) -> Pin<Box<dyn Future<Output = Result<CreateLunaClientResponse, RusotoError<CreateLunaClientError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Creates an HSM client.
sourcefn delete_hapg<'life0, 'async_trait>(
&'life0 self,
input: DeleteHapgRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteHapgResponse, RusotoError<DeleteHapgError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_hapg<'life0, 'async_trait>(
&'life0 self,
input: DeleteHapgRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteHapgResponse, RusotoError<DeleteHapgError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Deletes a high-availability partition group.
sourcefn 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 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,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Deletes an HSM. After completion, this operation cannot be undone and your key material cannot be recovered.
sourcefn delete_luna_client<'life0, 'async_trait>(
&'life0 self,
input: DeleteLunaClientRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteLunaClientResponse, RusotoError<DeleteLunaClientError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn delete_luna_client<'life0, 'async_trait>(
&'life0 self,
input: DeleteLunaClientRequest
) -> Pin<Box<dyn Future<Output = Result<DeleteLunaClientResponse, RusotoError<DeleteLunaClientError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Deletes a client.
sourcefn describe_hapg<'life0, 'async_trait>(
&'life0 self,
input: DescribeHapgRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeHapgResponse, RusotoError<DescribeHapgError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_hapg<'life0, 'async_trait>(
&'life0 self,
input: DescribeHapgRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeHapgResponse, RusotoError<DescribeHapgError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Retrieves information about a high-availability partition group.
sourcefn describe_hsm<'life0, 'async_trait>(
&'life0 self,
input: DescribeHsmRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeHsmResponse, RusotoError<DescribeHsmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_hsm<'life0, 'async_trait>(
&'life0 self,
input: DescribeHsmRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeHsmResponse, RusotoError<DescribeHsmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Retrieves information about an HSM. You can identify the HSM by its ARN or its serial number.
sourcefn describe_luna_client<'life0, 'async_trait>(
&'life0 self,
input: DescribeLunaClientRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLunaClientResponse, RusotoError<DescribeLunaClientError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn describe_luna_client<'life0, 'async_trait>(
&'life0 self,
input: DescribeLunaClientRequest
) -> Pin<Box<dyn Future<Output = Result<DescribeLunaClientResponse, RusotoError<DescribeLunaClientError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Retrieves information about an HSM client.
sourcefn get_config<'life0, 'async_trait>(
&'life0 self,
input: GetConfigRequest
) -> Pin<Box<dyn Future<Output = Result<GetConfigResponse, RusotoError<GetConfigError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn get_config<'life0, 'async_trait>(
&'life0 self,
input: GetConfigRequest
) -> Pin<Box<dyn Future<Output = Result<GetConfigResponse, RusotoError<GetConfigError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Gets the configuration files necessary to connect to all high availability partition groups the client is associated with.
sourcefn list_available_zones<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<ListAvailableZonesResponse, RusotoError<ListAvailableZonesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_available_zones<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<ListAvailableZonesResponse, RusotoError<ListAvailableZonesError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Lists the Availability Zones that have available AWS CloudHSM capacity.
sourcefn list_hapgs<'life0, 'async_trait>(
&'life0 self,
input: ListHapgsRequest
) -> Pin<Box<dyn Future<Output = Result<ListHapgsResponse, RusotoError<ListHapgsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_hapgs<'life0, 'async_trait>(
&'life0 self,
input: ListHapgsRequest
) -> Pin<Box<dyn Future<Output = Result<ListHapgsResponse, RusotoError<ListHapgsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Lists the high-availability partition groups for the account.
This operation supports pagination with the use of the NextToken
member. If more results are available, the NextToken
member of the response contains a token that you pass in the next call to ListHapgs
to retrieve the next set of items.
sourcefn list_hsms<'life0, 'async_trait>(
&'life0 self,
input: ListHsmsRequest
) -> Pin<Box<dyn Future<Output = Result<ListHsmsResponse, RusotoError<ListHsmsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_hsms<'life0, 'async_trait>(
&'life0 self,
input: ListHsmsRequest
) -> Pin<Box<dyn Future<Output = Result<ListHsmsResponse, RusotoError<ListHsmsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Retrieves the identifiers of all of the HSMs provisioned for the current customer.
This operation supports pagination with the use of the NextToken
member. If more results are available, the NextToken
member of the response contains a token that you pass in the next call to ListHsms
to retrieve the next set of items.
sourcefn list_luna_clients<'life0, 'async_trait>(
&'life0 self,
input: ListLunaClientsRequest
) -> Pin<Box<dyn Future<Output = Result<ListLunaClientsResponse, RusotoError<ListLunaClientsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn list_luna_clients<'life0, 'async_trait>(
&'life0 self,
input: ListLunaClientsRequest
) -> Pin<Box<dyn Future<Output = Result<ListLunaClientsResponse, RusotoError<ListLunaClientsError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Lists all of the clients.
This operation supports pagination with the use of the NextToken
member. If more results are available, the NextToken
member of the response contains a token that you pass in the next call to ListLunaClients
to retrieve the next set of items.
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Returns a list of all tags for the specified AWS CloudHSM resource.
sourcefn modify_hapg<'life0, 'async_trait>(
&'life0 self,
input: ModifyHapgRequest
) -> Pin<Box<dyn Future<Output = Result<ModifyHapgResponse, RusotoError<ModifyHapgError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn modify_hapg<'life0, 'async_trait>(
&'life0 self,
input: ModifyHapgRequest
) -> Pin<Box<dyn Future<Output = Result<ModifyHapgResponse, RusotoError<ModifyHapgError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Modifies an existing high-availability partition group.
sourcefn modify_hsm<'life0, 'async_trait>(
&'life0 self,
input: ModifyHsmRequest
) -> Pin<Box<dyn Future<Output = Result<ModifyHsmResponse, RusotoError<ModifyHsmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn modify_hsm<'life0, 'async_trait>(
&'life0 self,
input: ModifyHsmRequest
) -> Pin<Box<dyn Future<Output = Result<ModifyHsmResponse, RusotoError<ModifyHsmError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Modifies an HSM.
This operation can result in the HSM being offline for up to 15 minutes while the AWS CloudHSM service is reconfigured. If you are modifying a production HSM, you should ensure that your AWS CloudHSM service is configured for high availability, and consider executing this operation during a maintenance window.
sourcefn modify_luna_client<'life0, 'async_trait>(
&'life0 self,
input: ModifyLunaClientRequest
) -> Pin<Box<dyn Future<Output = Result<ModifyLunaClientResponse, RusotoError<ModifyLunaClientError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
fn modify_luna_client<'life0, 'async_trait>(
&'life0 self,
input: ModifyLunaClientRequest
) -> Pin<Box<dyn Future<Output = Result<ModifyLunaClientResponse, RusotoError<ModifyLunaClientError>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Modifies the certificate used by the client.
This action can potentially start a workflow to install the new certificate on the client's HSMs.
This is documentation for AWS CloudHSM Classic. For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.
For information about the current version of AWS CloudHSM, see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.
Removes one or more tags from the specified AWS CloudHSM resource.
To remove a tag, specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.
Auto Trait Implementations
impl !RefUnwindSafe for CloudHsmClient
impl Send for CloudHsmClient
impl Sync for CloudHsmClient
impl Unpin for CloudHsmClient
impl !UnwindSafe for CloudHsmClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more