#[non_exhaustive]
pub enum UriPathNormalizationMode {
Enabled,
Disabled,
}
Expand description
Config value to specify whether the canonical request’s URI path should be normalized. https://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
URI path normalization is performed based on https://www.rfc-editor.org/rfc/rfc3986.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Enabled
Normalize the URI path according to RFC3986
Disabled
Don’t normalize the URI path (S3, for example, rejects normalized paths in some instances)
Trait Implementations§
source§impl Debug for UriPathNormalizationMode
impl Debug for UriPathNormalizationMode
source§impl PartialEq<UriPathNormalizationMode> for UriPathNormalizationMode
impl PartialEq<UriPathNormalizationMode> for UriPathNormalizationMode
source§fn eq(&self, other: &UriPathNormalizationMode) -> bool
fn eq(&self, other: &UriPathNormalizationMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.