pub struct SecretsmanagerClient<'a> { /* private fields */ }Expand description
Client for the AWS Secrets Manager API
Implementations§
Source§impl<'a> SecretsmanagerClient<'a>
impl<'a> SecretsmanagerClient<'a>
Sourcepub async fn list_secrets(
&self,
body: &ListSecretsRequest,
) -> Result<ListSecretsResponse>
pub async fn list_secrets( &self, body: &ListSecretsRequest, ) -> Result<ListSecretsResponse>
Lists the secrets that are stored by Secrets Manager in the current account and Region.
Sourcepub async fn delete_secret(
&self,
body: &DeleteSecretRequest,
) -> Result<DeleteSecretResponse>
pub async fn delete_secret( &self, body: &DeleteSecretRequest, ) -> Result<DeleteSecretResponse>
Deletes a secret and all of its versions.
Sourcepub async fn rotate_secret(
&self,
body: &RotateSecretRequest,
) -> Result<RotateSecretResponse>
pub async fn rotate_secret( &self, body: &RotateSecretRequest, ) -> Result<RotateSecretResponse>
Configures and starts the asynchronous process of rotating the secret.
Auto Trait Implementations§
impl<'a> Freeze for SecretsmanagerClient<'a>
impl<'a> !RefUnwindSafe for SecretsmanagerClient<'a>
impl<'a> Send for SecretsmanagerClient<'a>
impl<'a> Sync for SecretsmanagerClient<'a>
impl<'a> Unpin for SecretsmanagerClient<'a>
impl<'a> UnsafeUnpin for SecretsmanagerClient<'a>
impl<'a> !UnwindSafe for SecretsmanagerClient<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more