#[non_exhaustive]pub struct GetSecretValueInput {
pub secret_id: Option<String>,
pub version_id: Option<String>,
pub version_stage: Option<String>,
}
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.secret_id: Option<String>
The ARN or name of the secret to retrieve.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
version_id: Option<String>
The unique identifier of the version of the secret to retrieve. If you include both this parameter and VersionStage
, the two parameters must refer to the same secret version. If you don't specify either a VersionStage
or VersionId
, then Secrets Manager returns the AWSCURRENT
version.
This value is typically a UUID-type value with 32 hexadecimal digits.
version_stage: Option<String>
The staging label of the version of the secret to retrieve.
Secrets Manager uses staging labels to keep track of different versions during the rotation process. If you include both this parameter and VersionId
, the two parameters must refer to the same secret version. If you don't specify either a VersionStage
or VersionId
, Secrets Manager returns the AWSCURRENT
version.
Implementations§
Source§impl GetSecretValueInput
impl GetSecretValueInput
Sourcepub fn secret_id(&self) -> Option<&str>
pub fn secret_id(&self) -> Option<&str>
The ARN or name of the secret to retrieve.
For an ARN, we recommend that you specify a complete ARN rather than a partial ARN. See Finding a secret from a partial ARN.
Sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The unique identifier of the version of the secret to retrieve. If you include both this parameter and VersionStage
, the two parameters must refer to the same secret version. If you don't specify either a VersionStage
or VersionId
, then Secrets Manager returns the AWSCURRENT
version.
This value is typically a UUID-type value with 32 hexadecimal digits.
Sourcepub fn version_stage(&self) -> Option<&str>
pub fn version_stage(&self) -> Option<&str>
The staging label of the version of the secret to retrieve.
Secrets Manager uses staging labels to keep track of different versions during the rotation process. If you include both this parameter and VersionId
, the two parameters must refer to the same secret version. If you don't specify either a VersionStage
or VersionId
, Secrets Manager returns the AWSCURRENT
version.
Source§impl GetSecretValueInput
impl GetSecretValueInput
Sourcepub fn builder() -> GetSecretValueInputBuilder
pub fn builder() -> GetSecretValueInputBuilder
Creates a new builder-style object to manufacture GetSecretValueInput
.
Trait Implementations§
Source§impl Clone for GetSecretValueInput
impl Clone for GetSecretValueInput
Source§fn clone(&self) -> GetSecretValueInput
fn clone(&self) -> GetSecretValueInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GetSecretValueInput
impl Debug for GetSecretValueInput
Source§impl PartialEq for GetSecretValueInput
impl PartialEq for GetSecretValueInput
impl StructuralPartialEq for GetSecretValueInput
Auto Trait Implementations§
impl Freeze for GetSecretValueInput
impl RefUnwindSafe for GetSecretValueInput
impl Send for GetSecretValueInput
impl Sync for GetSecretValueInput
impl Unpin for GetSecretValueInput
impl UnwindSafe for GetSecretValueInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)