Struct aws_sdk_secretsmanager::input::GetSecretValueInput
source · [−]#[non_exhaustive]pub struct GetSecretValueInput { /* private fields */ }
Implementations
sourceimpl GetSecretValueInput
impl GetSecretValueInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetSecretValue, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetSecretValue, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetSecretValue
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetSecretValueInput
.
sourceimpl 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.
Trait Implementations
sourceimpl Clone for GetSecretValueInput
impl Clone for GetSecretValueInput
sourcefn clone(&self) -> GetSecretValueInput
fn clone(&self) -> GetSecretValueInput
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more