Struct aws_sdk_cloudfront::input::GetCachePolicyInput
source · #[non_exhaustive]pub struct GetCachePolicyInput { /* private fields */ }
Implementations§
source§impl GetCachePolicyInput
impl GetCachePolicyInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetCachePolicy, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetCachePolicy, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetCachePolicy
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetCachePolicyInput
.
source§impl GetCachePolicyInput
impl GetCachePolicyInput
sourcepub fn id(&self) -> Option<&str>
pub fn id(&self) -> Option<&str>
The unique identifier for the cache policy. If the cache policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions
or GetDistribution
. If the cache policy is not attached to a cache behavior, you can get the identifier using ListCachePolicies
.
Trait Implementations§
source§impl Clone for GetCachePolicyInput
impl Clone for GetCachePolicyInput
source§fn clone(&self) -> GetCachePolicyInput
fn clone(&self) -> GetCachePolicyInput
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 GetCachePolicyInput
impl Debug for GetCachePolicyInput
source§impl PartialEq<GetCachePolicyInput> for GetCachePolicyInput
impl PartialEq<GetCachePolicyInput> for GetCachePolicyInput
source§fn eq(&self, other: &GetCachePolicyInput) -> bool
fn eq(&self, other: &GetCachePolicyInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.