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

Description

Gets a real-time log configuration.

To get a real-time log configuration, you can provide the configuration's name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to get.

Synopsis

Creating a Request

data GetRealtimeLogConfig Source #

See: newGetRealtimeLogConfig smart constructor.

Constructors

GetRealtimeLogConfig' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the real-time log configuration to get.

  • name :: Maybe Text

    The name of the real-time log configuration to get.

Instances

Instances details
ToHeaders GetRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

ToPath GetRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

ToQuery GetRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

ToElement GetRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

ToXML GetRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

AWSRequest GetRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

Associated Types

type AWSResponse GetRealtimeLogConfig #

Generic GetRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

Associated Types

type Rep GetRealtimeLogConfig :: Type -> Type #

Read GetRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

Show GetRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

NFData GetRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

Methods

rnf :: GetRealtimeLogConfig -> () #

Eq GetRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

Hashable GetRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

type AWSResponse GetRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

type Rep GetRealtimeLogConfig Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

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

newGetRealtimeLogConfig :: GetRealtimeLogConfig Source #

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

GetRealtimeLogConfig, getRealtimeLogConfig_arn - The Amazon Resource Name (ARN) of the real-time log configuration to get.

GetRealtimeLogConfig, getRealtimeLogConfig_name - The name of the real-time log configuration to get.

Request Lenses

getRealtimeLogConfig_arn :: Lens' GetRealtimeLogConfig (Maybe Text) Source #

The Amazon Resource Name (ARN) of the real-time log configuration to get.

getRealtimeLogConfig_name :: Lens' GetRealtimeLogConfig (Maybe Text) Source #

The name of the real-time log configuration to get.

Destructuring the Response

data GetRealtimeLogConfigResponse Source #

See: newGetRealtimeLogConfigResponse smart constructor.

Constructors

GetRealtimeLogConfigResponse' 

Fields

Instances

Instances details
Generic GetRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

Associated Types

type Rep GetRealtimeLogConfigResponse :: Type -> Type #

Read GetRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

Show GetRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

NFData GetRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

Eq GetRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

type Rep GetRealtimeLogConfigResponse Source # 
Instance details

Defined in Amazonka.CloudFront.GetRealtimeLogConfig

type Rep GetRealtimeLogConfigResponse = D1 ('MetaData "GetRealtimeLogConfigResponse" "Amazonka.CloudFront.GetRealtimeLogConfig" "amazonka-cloudfront-2.0-8Jb7luniAuUfLdUxCxW4K" 'False) (C1 ('MetaCons "GetRealtimeLogConfigResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "realtimeLogConfig") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RealtimeLogConfig)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetRealtimeLogConfigResponse Source #

Create a value of GetRealtimeLogConfigResponse 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:realtimeLogConfig:GetRealtimeLogConfigResponse', getRealtimeLogConfigResponse_realtimeLogConfig - A real-time log configuration.

$sel:httpStatus:GetRealtimeLogConfigResponse', getRealtimeLogConfigResponse_httpStatus - The response's http status code.

Response Lenses