libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

Description

 
Synopsis

Documentation

data CloudFrontOriginAccessIdentityConfig Source #

Origin access identity configuration. Send a GET request to the /CloudFront API version/CloudFront/identity ID/config resource.

See: newCloudFrontOriginAccessIdentityConfig smart constructor.

Constructors

CloudFrontOriginAccessIdentityConfig' 

Fields

  • callerReference :: Text

    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 :: Text

    A comment to describe the origin access identity. The comment cannot be longer than 128 characters.

Instances

Instances details
Eq CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

Read CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

Show CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

Generic CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

NFData CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

Hashable CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

FromXML CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

ToXML CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

type Rep CloudFrontOriginAccessIdentityConfig Source # 
Instance details

Defined in Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig

type Rep CloudFrontOriginAccessIdentityConfig = D1 ('MetaData "CloudFrontOriginAccessIdentityConfig" "Amazonka.CloudFront.Types.CloudFrontOriginAccessIdentityConfig" "libZSservicesZSamazonka-cloudfrontZSamazonka-cloudfront" 'False) (C1 ('MetaCons "CloudFrontOriginAccessIdentityConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "callerReference") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "comment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCloudFrontOriginAccessIdentityConfig Source #

Create a value of CloudFrontOriginAccessIdentityConfig with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:callerReference:CloudFrontOriginAccessIdentityConfig', cloudFrontOriginAccessIdentityConfig_callerReference - 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.

$sel:comment:CloudFrontOriginAccessIdentityConfig', cloudFrontOriginAccessIdentityConfig_comment - A comment to describe the origin access identity. The comment cannot be longer than 128 characters.

cloudFrontOriginAccessIdentityConfig_callerReference :: Lens' CloudFrontOriginAccessIdentityConfig Text Source #

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.

cloudFrontOriginAccessIdentityConfig_comment :: Lens' CloudFrontOriginAccessIdentityConfig Text Source #

A comment to describe the origin access identity. The comment cannot be longer than 128 characters.