Struct aws_config::endpoint::middleware::SmithyEndpointStage
source · #[non_exhaustive]pub struct SmithyEndpointStage;
Expand description
Middleware to apply an HTTP endpoint to the request
This middleware reads aws_smithy_types::endpoint::Endpoint
out of the request properties and applies
it to the HTTP request.
Implementations§
source§impl SmithyEndpointStage
impl SmithyEndpointStage
pub fn new() -> SmithyEndpointStage
Trait Implementations§
source§impl Clone for SmithyEndpointStage
impl Clone for SmithyEndpointStage
source§fn clone(&self) -> SmithyEndpointStage
fn clone(&self) -> SmithyEndpointStage
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SmithyEndpointStage
impl Debug for SmithyEndpointStage
source§impl Default for SmithyEndpointStage
impl Default for SmithyEndpointStage
source§fn default() -> SmithyEndpointStage
fn default() -> SmithyEndpointStage
Returns the “default value” for a type. Read more
source§impl MapRequest for SmithyEndpointStage
impl MapRequest for SmithyEndpointStage
§type Error = ResolveEndpointError
type Error = ResolveEndpointError
The Error type returned by this operation. Read more
source§fn name(&self) -> &'static str
fn name(&self) -> &'static str
Returns the name of this map request operation for inclusion in a tracing span.
source§fn apply(
&self,
request: Request
) -> Result<Request, <SmithyEndpointStage as MapRequest>::Error>
fn apply( &self, request: Request ) -> Result<Request, <SmithyEndpointStage as MapRequest>::Error>
Apply this middleware to a request. Read more