pub trait SSMParamExt {
// Required methods
fn get_string<'life0, 'async_trait>(
self,
config: &'life0 SdkConfig,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_secure_string<'life0, 'async_trait>(
self,
config: &'life0 SdkConfig,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_string_list<'life0, 'async_trait>(
self,
config: &'life0 SdkConfig,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Trait for str
types, enables interaction with AWS SSM Parameter Store.
Required Methods§
Sourcefn get_string<'life0, 'async_trait>(
self,
config: &'life0 SdkConfig,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_string<'life0, 'async_trait>(
self,
config: &'life0 SdkConfig,
) -> Pin<Box<dyn Future<Output = Result<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves a parameter (with data type String
) from SSM Parameter Store.