fn get_secret_value()

in aws_secretsmanager_caching/src/secret_store/mod.rs [17:36]


    fn get_secret_value<'a>(
        &'a self,
        secret_id: &'a str,
        version_id: Option<&'a str>,
        version_stage: Option<&'a str>,
    ) -> Result<GetSecretValueOutputDef, SecretStoreError>;

    /// Write the secret value to the store
    fn write_secret_value(
        &mut self,
        secret_id: String,
        version_id: Option<String>,
        version_stage: Option<String>,
        data: GetSecretValueOutputDef,
    ) -> Result<(), SecretStoreError>;
}

/// All possible error types
#[derive(thiserror::Error, Debug)]
pub enum SecretStoreError {