#[non_exhaustive]pub struct GetSecretValueOutput {
pub arn: Option<String>,
pub name: Option<String>,
pub version_id: Option<String>,
pub secret_binary: Option<Blob>,
pub secret_string: Option<String>,
pub version_stages: Option<Vec<String>>,
pub created_date: Option<DateTime>,
}
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.arn: Option<String>
The ARN of the secret.
name: Option<String>
The friendly name of the secret.
version_id: Option<String>
The unique identifier of this version of the secret.
secret_binary: Option<Blob>
The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The response parameter represents the binary data as a base64-encoded string.
If the secret was created by using the Secrets Manager console, or if the secret value was originally provided as a string, then this field is omitted. The secret value appears in SecretString
instead.
secret_string: Option<String>
The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
If this secret was created by using the console, then Secrets Manager stores the information as a JSON structure of key/value pairs.
version_stages: Option<Vec<String>>
A list of all of the staging labels currently attached to this version of the secret.
created_date: Option<DateTime>
The date and time that this version of the secret was created. If you don't specify which version in VersionId
or VersionStage
, then Secrets Manager uses the AWSCURRENT
version.
Implementations
sourceimpl GetSecretValueOutput
impl GetSecretValueOutput
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The unique identifier of this version of the secret.
sourcepub fn secret_binary(&self) -> Option<&Blob>
pub fn secret_binary(&self) -> Option<&Blob>
The decrypted secret value, if the secret value was originally provided as binary data in the form of a byte array. The response parameter represents the binary data as a base64-encoded string.
If the secret was created by using the Secrets Manager console, or if the secret value was originally provided as a string, then this field is omitted. The secret value appears in SecretString
instead.
sourcepub fn secret_string(&self) -> Option<&str>
pub fn secret_string(&self) -> Option<&str>
The decrypted secret value, if the secret value was originally provided as a string or through the Secrets Manager console.
If this secret was created by using the console, then Secrets Manager stores the information as a JSON structure of key/value pairs.
sourcepub fn version_stages(&self) -> Option<&[String]>
pub fn version_stages(&self) -> Option<&[String]>
A list of all of the staging labels currently attached to this version of the secret.
sourcepub fn created_date(&self) -> Option<&DateTime>
pub fn created_date(&self) -> Option<&DateTime>
The date and time that this version of the secret was created. If you don't specify which version in VersionId
or VersionStage
, then Secrets Manager uses the AWSCURRENT
version.
sourceimpl GetSecretValueOutput
impl GetSecretValueOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetSecretValueOutput
Trait Implementations
sourceimpl Clone for GetSecretValueOutput
impl Clone for GetSecretValueOutput
sourcefn clone(&self) -> GetSecretValueOutput
fn clone(&self) -> GetSecretValueOutput
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 GetSecretValueOutput
impl Debug for GetSecretValueOutput
sourceimpl PartialEq<GetSecretValueOutput> for GetSecretValueOutput
impl PartialEq<GetSecretValueOutput> for GetSecretValueOutput
sourcefn eq(&self, other: &GetSecretValueOutput) -> bool
fn eq(&self, other: &GetSecretValueOutput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &GetSecretValueOutput) -> bool
fn ne(&self, other: &GetSecretValueOutput) -> bool
This method tests for !=
.
impl StructuralPartialEq for GetSecretValueOutput
Auto Trait Implementations
impl RefUnwindSafe for GetSecretValueOutput
impl Send for GetSecretValueOutput
impl Sync for GetSecretValueOutput
impl Unpin for GetSecretValueOutput
impl UnwindSafe for GetSecretValueOutput
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