amazonka-cloudfront-2.0: Amazon CloudFront SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudFront.UpdateOriginAccessControl

Description

Updates a CloudFront origin access control.

Synopsis

Creating a Request

data UpdateOriginAccessControl Source #

See: newUpdateOriginAccessControl smart constructor.

Constructors

UpdateOriginAccessControl' 

Fields

Instances

Instances details
ToHeaders UpdateOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

ToPath UpdateOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

ToQuery UpdateOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

ToElement UpdateOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

AWSRequest UpdateOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

Generic UpdateOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

Associated Types

type Rep UpdateOriginAccessControl :: Type -> Type #

Read UpdateOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

Show UpdateOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

NFData UpdateOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

Eq UpdateOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

Hashable UpdateOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

type AWSResponse UpdateOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

type Rep UpdateOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

type Rep UpdateOriginAccessControl = D1 ('MetaData "UpdateOriginAccessControl" "Amazonka.CloudFront.UpdateOriginAccessControl" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "UpdateOriginAccessControl'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ifMatch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "originAccessControlConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 OriginAccessControlConfig) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateOriginAccessControl Source #

Create a value of UpdateOriginAccessControl 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:ifMatch:UpdateOriginAccessControl', updateOriginAccessControl_ifMatch - The current version (ETag value) of the origin access control that you are updating.

UpdateOriginAccessControl, updateOriginAccessControl_originAccessControlConfig - An origin access control.

UpdateOriginAccessControl, updateOriginAccessControl_id - The unique identifier of the origin access control that you are updating.

Request Lenses

updateOriginAccessControl_ifMatch :: Lens' UpdateOriginAccessControl (Maybe Text) Source #

The current version (ETag value) of the origin access control that you are updating.

updateOriginAccessControl_id :: Lens' UpdateOriginAccessControl Text Source #

The unique identifier of the origin access control that you are updating.

Destructuring the Response

data UpdateOriginAccessControlResponse Source #

See: newUpdateOriginAccessControlResponse smart constructor.

Constructors

UpdateOriginAccessControlResponse' 

Fields

Instances

Instances details
Generic UpdateOriginAccessControlResponse Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

Associated Types

type Rep UpdateOriginAccessControlResponse :: Type -> Type #

Read UpdateOriginAccessControlResponse Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

Show UpdateOriginAccessControlResponse Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

NFData UpdateOriginAccessControlResponse Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

Eq UpdateOriginAccessControlResponse Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

type Rep UpdateOriginAccessControlResponse Source # 
Instance details

Defined in Amazonka.CloudFront.UpdateOriginAccessControl

type Rep UpdateOriginAccessControlResponse = D1 ('MetaData "UpdateOriginAccessControlResponse" "Amazonka.CloudFront.UpdateOriginAccessControl" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "UpdateOriginAccessControlResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eTag") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "originAccessControl") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OriginAccessControl)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateOriginAccessControlResponse Source #

Create a value of UpdateOriginAccessControlResponse 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:eTag:UpdateOriginAccessControlResponse', updateOriginAccessControlResponse_eTag - The new version of the origin access control after it has been updated.

$sel:originAccessControl:UpdateOriginAccessControlResponse', updateOriginAccessControlResponse_originAccessControl - The origin access control after it has been updated.

$sel:httpStatus:UpdateOriginAccessControlResponse', updateOriginAccessControlResponse_httpStatus - The response's http status code.

Response Lenses

updateOriginAccessControlResponse_eTag :: Lens' UpdateOriginAccessControlResponse (Maybe Text) Source #

The new version of the origin access control after it has been updated.