Trait SSMParamExt

Source
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§

Source

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.

Source

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,

Retrieves a parameter (with data type SecureString) from SSM Parameter Store.

Source

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,

Retrieves a parameter (with data type StringList) from SSM Parameter Store.

Implementations on Foreign Types§

Source§

impl SSMParamExt for &str

Source§

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,

Source§

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,

Source§

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,

Implementors§