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.GetOriginAccessControl

Description

Gets a CloudFront origin access control, including its unique identifier.

Synopsis

Creating a Request

data GetOriginAccessControl Source #

See: newGetOriginAccessControl smart constructor.

Constructors

GetOriginAccessControl' 

Fields

  • id :: Text

    The unique identifier of the origin access control.

Instances

Instances details
ToHeaders GetOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

ToPath GetOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

ToQuery GetOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

AWSRequest GetOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

Associated Types

type AWSResponse GetOriginAccessControl #

Generic GetOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

Associated Types

type Rep GetOriginAccessControl :: Type -> Type #

Read GetOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

Show GetOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

NFData GetOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

Methods

rnf :: GetOriginAccessControl -> () #

Eq GetOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

Hashable GetOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

type AWSResponse GetOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

type Rep GetOriginAccessControl Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

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

newGetOriginAccessControl Source #

Create a value of GetOriginAccessControl 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:

GetOriginAccessControl, getOriginAccessControl_id - The unique identifier of the origin access control.

Request Lenses

getOriginAccessControl_id :: Lens' GetOriginAccessControl Text Source #

The unique identifier of the origin access control.

Destructuring the Response

data GetOriginAccessControlResponse Source #

See: newGetOriginAccessControlResponse smart constructor.

Constructors

GetOriginAccessControlResponse' 

Fields

Instances

Instances details
Generic GetOriginAccessControlResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

Associated Types

type Rep GetOriginAccessControlResponse :: Type -> Type #

Read GetOriginAccessControlResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

Show GetOriginAccessControlResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

NFData GetOriginAccessControlResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

Eq GetOriginAccessControlResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

type Rep GetOriginAccessControlResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetOriginAccessControl

type Rep GetOriginAccessControlResponse = D1 ('MetaData "GetOriginAccessControlResponse" "Amazonka.CloudFront.GetOriginAccessControl" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "GetOriginAccessControlResponse'" '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))))

newGetOriginAccessControlResponse Source #

Create a value of GetOriginAccessControlResponse 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:GetOriginAccessControlResponse', getOriginAccessControlResponse_eTag - The version identifier for the current version of the origin access control.

$sel:originAccessControl:GetOriginAccessControlResponse', getOriginAccessControlResponse_originAccessControl - Contains an origin access control, including its unique identifier.

$sel:httpStatus:GetOriginAccessControlResponse', getOriginAccessControlResponse_httpStatus - The response's http status code.

Response Lenses

getOriginAccessControlResponse_eTag :: Lens' GetOriginAccessControlResponse (Maybe Text) Source #

The version identifier for the current version of the origin access control.

getOriginAccessControlResponse_originAccessControl :: Lens' GetOriginAccessControlResponse (Maybe OriginAccessControl) Source #

Contains an origin access control, including its unique identifier.