Struct aws_sdk_secretsmanager::output::GetSecretValueOutput [−][src]
#[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 part of the protected secret information that 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.
This parameter is not used if the secret is created by the Secrets Manager console.
If you store custom information in this field of the secret, then you must code your
Lambda rotation function to parse and interpret whatever you store in the
SecretString or SecretBinary fields.
secret_string: Option<String>The decrypted part of the protected secret information that was originally provided as a string.
If you create this secret by using the Secrets Manager console then only the
SecretString parameter contains data. Secrets Manager stores the information as a
JSON structure of key/value pairs that the Lambda rotation function knows how to parse.
If you store custom information in the secret by using the CreateSecret, UpdateSecret, or PutSecretValue API operations instead of the Secrets Manager console, or by using the Other secret type in the console, then you must code your Lambda rotation function to parse and interpret those values.
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.
Implementations
The unique identifier of this version of the secret.
The decrypted part of the protected secret information that 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.
This parameter is not used if the secret is created by the Secrets Manager console.
If you store custom information in this field of the secret, then you must code your
Lambda rotation function to parse and interpret whatever you store in the
SecretString or SecretBinary fields.
The decrypted part of the protected secret information that was originally provided as a string.
If you create this secret by using the Secrets Manager console then only the
SecretString parameter contains data. Secrets Manager stores the information as a
JSON structure of key/value pairs that the Lambda rotation function knows how to parse.
If you store custom information in the secret by using the CreateSecret, UpdateSecret, or PutSecretValue API operations instead of the Secrets Manager console, or by using the Other secret type in the console, then you must code your Lambda rotation function to parse and interpret those values.
A list of all of the staging labels currently attached to this version of the secret.
The date and time that this version of the secret was created.
Creates a new builder-style object to manufacture GetSecretValueOutput
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 GetSecretValueOutput
impl Send for GetSecretValueOutput
impl Sync for GetSecretValueOutput
impl Unpin for GetSecretValueOutput
impl UnwindSafe for GetSecretValueOutput
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