Struct aws_sdk_cloudfront::model::QueryStringCacheKeys [−][src]
#[non_exhaustive]pub struct QueryStringCacheKeys {
pub quantity: Option<i32>,
pub items: Option<Vec<String>>,
}
Expand description
This field is deprecated. We recommend that you use a cache policy or an origin request policy instead of this field.
If you want to include query strings in the cache key, use
QueryStringsConfig
in a cache policy. See
CachePolicy
.
If you want to send query strings to the origin but not include them in the cache key,
use QueryStringsConfig
in an origin request policy. See
OriginRequestPolicy
.
A complex type that contains information about the query string parameters that you want CloudFront to use for caching for a cache behavior.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.quantity: Option<i32>
The number of whitelisted
query string parameters for a cache
behavior.
items: Option<Vec<String>>
A list that contains the query string parameters that you want CloudFront to use
as a basis for caching for a cache behavior. If Quantity
is 0, you can omit
Items
.
Implementations
The number of whitelisted
query string parameters for a cache
behavior.
Creates a new builder-style object to manufacture QueryStringCacheKeys
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for QueryStringCacheKeys
impl Send for QueryStringCacheKeys
impl Sync for QueryStringCacheKeys
impl Unpin for QueryStringCacheKeys
impl UnwindSafe for QueryStringCacheKeys
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more