Struct aws_sdk_cloudfront::model::CloudFrontOriginAccessIdentityConfig [−][src]
#[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
Creates a new builder-style object to manufacture CloudFrontOriginAccessIdentityConfig
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 Send for CloudFrontOriginAccessIdentityConfig
impl Sync for CloudFrontOriginAccessIdentityConfig
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