pub fn rusoto_client(session_name: String) -> Result<Client> {
    let provider = rusoto_credentials_provider(session_name)?;
    let request_dispatcher = HttpClient::new()?;
    Ok(Client::new_with(provider, request_dispatcher))
}
/// Create a rusoto_core::Client with a credentials provider that
/// matches the current environment (K8S first, then trying to assume
/// role, then using the default environment/files/etc.)
///
/// The client has to be used with the `new_with_client` method of
/// other rusoto objects (e.g. S3Client::new_with_client)
Create a rusoto_core::Client with a credentials provider that
matches the current environment (K8S first, then trying to assume
role, then using the default environment/files/etc.)

The client has to be used with the `new_with_client` method of
other rusoto objects
Create a rusoto_core :: Client with a credentials provider that matches the current environment ( K8S first then trying to assume role then using the default environment / files / etc . ) The client has to be used with the ` new_with_client ` method of other rusoto objects
pub fn rusoto_client(session_name: String) -> Result<Client> {
    let provider = rusoto_credentials_provider(session_name)?;
    let request_dispatcher = HttpClient::new()?;
    Ok(Client::new_with(provider, request_dispatcher))
}
pub fn rusoto_client ( session_name : String ) -> Result < Client > { let provider = rusoto_credentials_provider ( session_name ) ? ; let request_dispatcher = HttpClient :: new ( ) ? ; Ok ( Client :: new_with ( provider , request_dispatcher ) ) }
Create a rusoto_core::Client with a credentials provider that
matches the current environment (K8S first, then trying to assume
role, then using the default environment/files/etc.)
Create a rusoto_core :: Client with a credentials provider that matches the current environment ( K8S first then trying to assume role then using the default environment / files / etc . )
session_name
String
session_name
String