pub struct DescribeSecretResponse {Show 17 fields
pub arn: Option<String>,
pub created_date: Option<f64>,
pub deleted_date: Option<f64>,
pub description: Option<String>,
pub kms_key_id: Option<String>,
pub last_accessed_date: Option<f64>,
pub last_changed_date: Option<f64>,
pub last_rotated_date: Option<f64>,
pub name: Option<String>,
pub owning_service: Option<String>,
pub primary_region: Option<String>,
pub replication_status: Option<Vec<ReplicationStatusType>>,
pub rotation_enabled: Option<bool>,
pub rotation_lambda_arn: Option<String>,
pub rotation_rules: Option<RotationRulesType>,
pub tags: Option<Vec<Tag>>,
pub version_ids_to_stages: Option<HashMap<String, Vec<String>>>,
}
Fields
arn: Option<String>
The ARN of the secret.
created_date: Option<f64>
The date you created the secret.
deleted_date: Option<f64>
This value exists if the secret is scheduled for deletion. Some time after the specified date and time, Secrets Manager deletes the secret and all of its versions.
If a secret is scheduled for deletion, then its details, including the encrypted secret information, is not accessible. To cancel a scheduled deletion and restore access, use RestoreSecret.
description: Option<String>
The user-provided description of the secret.
kms_key_id: Option<String>
The ARN or alias of the AWS KMS customer master key (CMK) that's used to encrypt the SecretString
or SecretBinary
fields in each version of the secret. If you don't provide a key, then Secrets Manager defaults to encrypting the secret fields with the default AWS KMS CMK (the one named awssecretsmanager
) for this account.
last_accessed_date: Option<f64>
The last date that this secret was accessed. This value is truncated to midnight of the date and therefore shows only the date, not the time.
last_changed_date: Option<f64>
The last date and time that this secret was modified in any way.
last_rotated_date: Option<f64>
The last date and time that the rotation process for this secret was invoked.
The most recent date and time that the Secrets Manager rotation process successfully completed. If the secret doesn't rotate, Secrets Manager returns a null value.
name: Option<String>
The user-provided friendly name of the secret.
owning_service: Option<String>
Returns the name of the service that created this secret.
primary_region: Option<String>
Specifies the primary region for secret replication.
replication_status: Option<Vec<ReplicationStatusType>>
Describes a list of replication status objects as InProgress
, Failed
or InSync
.P
rotation_enabled: Option<bool>
Specifies whether automatic rotation is enabled for this secret.
To enable rotation, use RotateSecret with AutomaticallyRotateAfterDays
set to a value greater than 0. To disable rotation, use CancelRotateSecret.
rotation_lambda_arn: Option<String>
The ARN of a Lambda function that's invoked by Secrets Manager to rotate the secret either automatically per the schedule or manually by a call to RotateSecret
.
rotation_rules: Option<RotationRulesType>
A structure with the rotation configuration for this secret.
The list of user-defined tags that are associated with the secret. To add tags to a secret, use TagResource. To remove tags, use UntagResource.
version_ids_to_stages: Option<HashMap<String, Vec<String>>>
A list of all of the currently assigned VersionStage
staging labels and the VersionId
that each is attached to. Staging labels are used to keep track of the different versions during the rotation process.
A version that does not have any staging labels attached is considered deprecated and subject to deletion. Such versions are not included in this list.
Trait Implementations
sourceimpl Clone for DescribeSecretResponse
impl Clone for DescribeSecretResponse
sourcefn clone(&self) -> DescribeSecretResponse
fn clone(&self) -> DescribeSecretResponse
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 Debug for DescribeSecretResponse
impl Debug for DescribeSecretResponse
sourceimpl Default for DescribeSecretResponse
impl Default for DescribeSecretResponse
sourcefn default() -> DescribeSecretResponse
fn default() -> DescribeSecretResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for DescribeSecretResponse
impl<'de> Deserialize<'de> for DescribeSecretResponse
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<DescribeSecretResponse> for DescribeSecretResponse
impl PartialEq<DescribeSecretResponse> for DescribeSecretResponse
sourcefn eq(&self, other: &DescribeSecretResponse) -> bool
fn eq(&self, other: &DescribeSecretResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &DescribeSecretResponse) -> bool
fn ne(&self, other: &DescribeSecretResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for DescribeSecretResponse
Auto Trait Implementations
impl RefUnwindSafe for DescribeSecretResponse
impl Send for DescribeSecretResponse
impl Sync for DescribeSecretResponse
impl Unpin for DescribeSecretResponse
impl UnwindSafe for DescribeSecretResponse
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