Struct aws_sdk_secretsmanager::input::GetSecretValueInput
source ·
[−]#[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.
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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetSecretValue, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetSecretValue, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetSecretValue
>
Creates a new builder-style object to manufacture GetSecretValueInput
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.
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.
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for GetSecretValueInput
impl Send for GetSecretValueInput
impl Sync for GetSecretValueInput
impl Unpin for GetSecretValueInput
impl UnwindSafe for GetSecretValueInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more