Struct aws_sig_auth::middleware::SigV4SigningStage
source · [−]pub struct SigV4SigningStage { /* private fields */ }
Expand description
Middleware stage to sign requests with SigV4
SigV4RequestSignerStage will load configuration from the request property bag and add a signature.
Prior to signing, the following fields MUST be present in the property bag:
SigningRegion
: The region used when signing the request, e.g.us-east-1
SigningService
: The name of the service to use when signing the request, e.g.dynamodb
Credentials
: Credentials to sign withOperationSigningConfig
: Operation specific signing configuration, e.g. changes to URL encoding behavior, or headers that must be omitted. If any of these fields are missing, the middleware will return an error.
The following fields MAY be present in the property bag:
SystemTime
: The timestamp to use when signing the request. If this field is not presentSystemTime::now
will be used.
Implementations
sourceimpl SigV4SigningStage
impl SigV4SigningStage
pub fn new(signer: SigV4Signer) -> Self
Trait Implementations
sourceimpl Clone for SigV4SigningStage
impl Clone for SigV4SigningStage
sourcefn clone(&self) -> SigV4SigningStage
fn clone(&self) -> SigV4SigningStage
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SigV4SigningStage
impl Debug for SigV4SigningStage
sourceimpl MapRequest for SigV4SigningStage
impl MapRequest for SigV4SigningStage
Auto Trait Implementations
impl RefUnwindSafe for SigV4SigningStage
impl Send for SigV4SigningStage
impl Sync for SigV4SigningStage
impl Unpin for SigV4SigningStage
impl UnwindSafe for SigV4SigningStage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more