pub struct DlmClient { /* private fields */ }Expand description
A client for the Amazon DLM API.
Implementations§
Source§impl DlmClient
impl DlmClient
Sourcepub fn new(region: Region) -> DlmClient
pub fn new(region: Region) -> DlmClient
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,
) -> DlmClientwhere
P: ProvideAwsCredentials + Send + Sync + 'static,
D: DispatchSignedRequest + Send + Sync + 'static,
pub fn new_with_client(client: Client, region: Region) -> DlmClient
Trait Implementations§
Source§impl Dlm for DlmClient
impl Dlm for DlmClient
Source§fn create_lifecycle_policy<'life0, 'async_trait>(
&'life0 self,
input: CreateLifecyclePolicyRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateLifecyclePolicyResponse, RusotoError<CreateLifecyclePolicyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn create_lifecycle_policy<'life0, 'async_trait>(
&'life0 self,
input: CreateLifecyclePolicyRequest,
) -> Pin<Box<dyn Future<Output = Result<CreateLifecyclePolicyResponse, RusotoError<CreateLifecyclePolicyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Creates a policy to manage the lifecycle of the specified AWS resources. You can create up to 100 lifecycle policies.
Source§fn delete_lifecycle_policy<'life0, 'async_trait>(
&'life0 self,
input: DeleteLifecyclePolicyRequest,
) -> Pin<Box<dyn Future<Output = Result<DeleteLifecyclePolicyResponse, RusotoError<DeleteLifecyclePolicyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn delete_lifecycle_policy<'life0, 'async_trait>(
&'life0 self,
input: DeleteLifecyclePolicyRequest,
) -> Pin<Box<dyn Future<Output = Result<DeleteLifecyclePolicyResponse, RusotoError<DeleteLifecyclePolicyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Deletes the specified lifecycle policy and halts the automated operations that the policy specified.
Source§fn get_lifecycle_policies<'life0, 'async_trait>(
&'life0 self,
input: GetLifecyclePoliciesRequest,
) -> Pin<Box<dyn Future<Output = Result<GetLifecyclePoliciesResponse, RusotoError<GetLifecyclePoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_lifecycle_policies<'life0, 'async_trait>(
&'life0 self,
input: GetLifecyclePoliciesRequest,
) -> Pin<Box<dyn Future<Output = Result<GetLifecyclePoliciesResponse, RusotoError<GetLifecyclePoliciesError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Gets summary information about all or the specified data lifecycle policies.
To get complete information about a policy, use GetLifecyclePolicy.
Source§fn get_lifecycle_policy<'life0, 'async_trait>(
&'life0 self,
input: GetLifecyclePolicyRequest,
) -> Pin<Box<dyn Future<Output = Result<GetLifecyclePolicyResponse, RusotoError<GetLifecyclePolicyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_lifecycle_policy<'life0, 'async_trait>(
&'life0 self,
input: GetLifecyclePolicyRequest,
) -> Pin<Box<dyn Future<Output = Result<GetLifecyclePolicyResponse, RusotoError<GetLifecyclePolicyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Gets detailed information about the specified lifecycle policy.
Lists the tags for the specified resource.
Source§fn tag_resource<'life0, 'async_trait>(
&'life0 self,
input: TagResourceRequest,
) -> Pin<Box<dyn Future<Output = Result<TagResourceResponse, RusotoError<TagResourceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Adds the specified tags to the specified resource.
Source§fn untag_resource<'life0, 'async_trait>(
&'life0 self,
input: UntagResourceRequest,
) -> Pin<Box<dyn Future<Output = Result<UntagResourceResponse, RusotoError<UntagResourceError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: '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
Self: 'async_trait,
'life0: 'async_trait,
Removes the specified tags from the specified resource.
Source§fn update_lifecycle_policy<'life0, 'async_trait>(
&'life0 self,
input: UpdateLifecyclePolicyRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateLifecyclePolicyResponse, RusotoError<UpdateLifecyclePolicyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn update_lifecycle_policy<'life0, 'async_trait>(
&'life0 self,
input: UpdateLifecyclePolicyRequest,
) -> Pin<Box<dyn Future<Output = Result<UpdateLifecyclePolicyResponse, RusotoError<UpdateLifecyclePolicyError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Updates the specified lifecycle policy.