#[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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)