Struct aws_sigv4::http_request::SigningSettings
source · #[non_exhaustive]pub struct SigningSettings {
pub percent_encoding_mode: PercentEncodingMode,
pub payload_checksum_kind: PayloadChecksumKind,
pub signature_location: SignatureLocation,
pub expires_in: Option<Duration>,
pub excluded_headers: Option<Vec<HeaderName>>,
pub uri_path_normalization_mode: UriPathNormalizationMode,
}
Expand description
HTTP-specific signing settings
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.percent_encoding_mode: PercentEncodingMode
Specifies how to encode the request URL when signing. Some services do not decode the path prior to checking the signature, requiring clients to actually double-encode the URI in creating the canonical request in order to pass a signature check.
payload_checksum_kind: PayloadChecksumKind
Add an additional checksum header
signature_location: SignatureLocation
Where to put the signature
expires_in: Option<Duration>
For presigned requests, how long the presigned request is valid for
excluded_headers: Option<Vec<HeaderName>>
Headers that should be excluded from the signing process
uri_path_normalization_mode: UriPathNormalizationMode
Specifies whether the absolute path component of the URI should be normalized during signing.
Trait Implementations§
source§impl Debug for SigningSettings
impl Debug for SigningSettings
source§impl Default for SigningSettings
impl Default for SigningSettings
source§impl PartialEq<SigningSettings> for SigningSettings
impl PartialEq<SigningSettings> for SigningSettings
source§fn eq(&self, other: &SigningSettings) -> bool
fn eq(&self, other: &SigningSettings) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.