#[non_exhaustive]pub struct AwsSecretsManagerSecretDetails {
pub rotation_rules: Option<AwsSecretsManagerSecretRotationRules>,
pub rotation_occurred_within_frequency: Option<bool>,
pub kms_key_id: Option<String>,
pub rotation_enabled: Option<bool>,
pub rotation_lambda_arn: Option<String>,
pub deleted: Option<bool>,
pub name: Option<String>,
pub description: Option<String>,
}
Expand description
Details about an Secrets Manager secret.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.rotation_rules: Option<AwsSecretsManagerSecretRotationRules>
Defines the rotation schedule for the secret.
rotation_occurred_within_frequency: Option<bool>
Whether the rotation occurred within the specified rotation frequency.
kms_key_id: Option<String>
The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString
or SecretBinary
values for versions of this secret.
rotation_enabled: Option<bool>
Whether rotation is enabled.
rotation_lambda_arn: Option<String>
The ARN of the Lambda function that rotates the secret.
deleted: Option<bool>
Whether the secret is deleted.
name: Option<String>
The name of the secret.
description: Option<String>
The user-provided description of the secret.
Implementations§
source§impl AwsSecretsManagerSecretDetails
impl AwsSecretsManagerSecretDetails
sourcepub fn rotation_rules(&self) -> Option<&AwsSecretsManagerSecretRotationRules>
pub fn rotation_rules(&self) -> Option<&AwsSecretsManagerSecretRotationRules>
Defines the rotation schedule for the secret.
sourcepub fn rotation_occurred_within_frequency(&self) -> Option<bool>
pub fn rotation_occurred_within_frequency(&self) -> Option<bool>
Whether the rotation occurred within the specified rotation frequency.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ARN, Key ID, or alias of the KMS key used to encrypt the SecretString
or SecretBinary
values for versions of this secret.
sourcepub fn rotation_enabled(&self) -> Option<bool>
pub fn rotation_enabled(&self) -> Option<bool>
Whether rotation is enabled.
sourcepub fn rotation_lambda_arn(&self) -> Option<&str>
pub fn rotation_lambda_arn(&self) -> Option<&str>
The ARN of the Lambda function that rotates the secret.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The user-provided description of the secret.
source§impl AwsSecretsManagerSecretDetails
impl AwsSecretsManagerSecretDetails
sourcepub fn builder() -> AwsSecretsManagerSecretDetailsBuilder
pub fn builder() -> AwsSecretsManagerSecretDetailsBuilder
Creates a new builder-style object to manufacture AwsSecretsManagerSecretDetails
.
Trait Implementations§
source§impl Clone for AwsSecretsManagerSecretDetails
impl Clone for AwsSecretsManagerSecretDetails
source§fn clone(&self) -> AwsSecretsManagerSecretDetails
fn clone(&self) -> AwsSecretsManagerSecretDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsSecretsManagerSecretDetails
impl PartialEq for AwsSecretsManagerSecretDetails
source§fn eq(&self, other: &AwsSecretsManagerSecretDetails) -> bool
fn eq(&self, other: &AwsSecretsManagerSecretDetails) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsSecretsManagerSecretDetails
Auto Trait Implementations§
impl Freeze for AwsSecretsManagerSecretDetails
impl RefUnwindSafe for AwsSecretsManagerSecretDetails
impl Send for AwsSecretsManagerSecretDetails
impl Sync for AwsSecretsManagerSecretDetails
impl Unpin for AwsSecretsManagerSecretDetails
impl UnwindSafe for AwsSecretsManagerSecretDetails
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more