1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2pub type BoxFuture<T> = ::std::pin::Pin<::std::boxed::Box<dyn ::std::future::Future<Output = T> + ::std::marker::Send>>;
34pub type SendResult<T, E> =
5 ::std::result::Result<T, ::aws_smithy_runtime_api::client::result::SdkError<E, ::aws_smithy_runtime_api::client::orchestrator::HttpResponse>>;
67pub trait CustomizableSend<T, E>: ::std::marker::Send + ::std::marker::Sync {
8// Takes an owned `self` as the implementation will internally call methods that take `self`.
9 // If it took `&self`, that would make this trait object safe, but some implementing types do not
10 // derive `Clone`, unable to yield `self` from `&self`.
11fn send(self, config_override: crate::config::Builder) -> BoxFuture<SendResult<T, E>>;
12}
1314pub trait CustomizablePresigned<E>: ::std::marker::Send + ::std::marker::Sync {
15fn presign(
16self,
17 config_override: crate::config::Builder,
18 presigning_config: crate::presigning::PresigningConfig,
19 ) -> BoxFuture<SendResult<crate::presigning::PresignedRequest, E>>;
20}