#[non_exhaustive]pub struct CloudFrontOriginAccessIdentityConfig {
pub caller_reference: Option<String>,
pub comment: Option<String>,
}Expand description
Origin access identity configuration. Send a GET request to the /CloudFront API version/CloudFront/identity ID/config resource.
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.caller_reference: Option<String>A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.
If the value of CallerReference is new (regardless of the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created.
If the CallerReference is a value already sent in a previous identity request, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request.
If the CallerReference is a value you already sent in a previous request to create an identity, but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.
comment: Option<String>A comment to describe the origin access identity. The comment cannot be longer than 128 characters.
Implementations§
source§impl CloudFrontOriginAccessIdentityConfig
impl CloudFrontOriginAccessIdentityConfig
sourcepub fn caller_reference(&self) -> Option<&str>
pub fn caller_reference(&self) -> Option<&str>
A unique value (for example, a date-time stamp) that ensures that the request can't be replayed.
If the value of CallerReference is new (regardless of the content of the CloudFrontOriginAccessIdentityConfig object), a new origin access identity is created.
If the CallerReference is a value already sent in a previous identity request, and the content of the CloudFrontOriginAccessIdentityConfig is identical to the original request (ignoring white space), the response includes the same information returned to the original request.
If the CallerReference is a value you already sent in a previous request to create an identity, but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.
source§impl CloudFrontOriginAccessIdentityConfig
impl CloudFrontOriginAccessIdentityConfig
sourcepub fn builder() -> CloudFrontOriginAccessIdentityConfigBuilder
pub fn builder() -> CloudFrontOriginAccessIdentityConfigBuilder
Creates a new builder-style object to manufacture CloudFrontOriginAccessIdentityConfig.
Trait Implementations§
source§impl Clone for CloudFrontOriginAccessIdentityConfig
impl Clone for CloudFrontOriginAccessIdentityConfig
source§fn clone(&self) -> CloudFrontOriginAccessIdentityConfig
fn clone(&self) -> CloudFrontOriginAccessIdentityConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq<CloudFrontOriginAccessIdentityConfig> for CloudFrontOriginAccessIdentityConfig
impl PartialEq<CloudFrontOriginAccessIdentityConfig> for CloudFrontOriginAccessIdentityConfig
source§fn eq(&self, other: &CloudFrontOriginAccessIdentityConfig) -> bool
fn eq(&self, other: &CloudFrontOriginAccessIdentityConfig) -> bool
self and other values to be equal, and is used
by ==.