#[non_exhaustive]pub struct CloudFrontOriginAccessIdentityConfig {
pub caller_reference: String,
pub comment: 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: 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: 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) -> &str
pub fn caller_reference(&self) -> &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 for CloudFrontOriginAccessIdentityConfig
impl PartialEq 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 ==
.impl StructuralPartialEq for CloudFrontOriginAccessIdentityConfig
Auto Trait Implementations§
impl Freeze for CloudFrontOriginAccessIdentityConfig
impl RefUnwindSafe for CloudFrontOriginAccessIdentityConfig
impl Send for CloudFrontOriginAccessIdentityConfig
impl Sync for CloudFrontOriginAccessIdentityConfig
impl Unpin for CloudFrontOriginAccessIdentityConfig
impl UnwindSafe for CloudFrontOriginAccessIdentityConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more