Type Definition aws_hyper::Client[][src]

pub type Client<C> = Client<C, AwsMiddleware>;
Expand description

AWS Service Client

Hyper-based AWS Service Client. Most customers will want to construct a client with Client::https. For testing & other more advanced use cases, a custom connector may be used via Client::new(connector).

The internal connector must implement the following trait bound to be used to dispatch requests:

   S: Service<http::Request<SdkBody>, Response = http::Response<hyper::Body>>
       + Send
       + Clone
       + 'static,
   S::Error: Into<BoxError> + Send + Sync + 'static,
   S::Future: Send + 'static,