libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2
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.ApiGatewayV2.Types.AccessLogSettings

Description

 
Synopsis

Documentation

data AccessLogSettings Source #

Settings for logging access in a stage.

See: newAccessLogSettings smart constructor.

Constructors

AccessLogSettings' 

Fields

  • format :: Maybe Text

    A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.

  • destinationArn :: Maybe Text

    The ARN of the CloudWatch Logs log group to receive access logs.

Instances

Instances details
Eq AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

Read AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

Show AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

Generic AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

Associated Types

type Rep AccessLogSettings :: Type -> Type #

NFData AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

Methods

rnf :: AccessLogSettings -> () #

Hashable AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

ToJSON AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

FromJSON AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

type Rep AccessLogSettings Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.Types.AccessLogSettings

type Rep AccessLogSettings = D1 ('MetaData "AccessLogSettings" "Amazonka.ApiGatewayV2.Types.AccessLogSettings" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" 'False) (C1 ('MetaCons "AccessLogSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "format") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "destinationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAccessLogSettings :: AccessLogSettings Source #

Create a value of AccessLogSettings 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:format:AccessLogSettings', accessLogSettings_format - A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.

$sel:destinationArn:AccessLogSettings', accessLogSettings_destinationArn - The ARN of the CloudWatch Logs log group to receive access logs.

accessLogSettings_format :: Lens' AccessLogSettings (Maybe Text) Source #

A single line format of the access logs of data, as specified by selected $context variables. The format must include at least $context.requestId.

accessLogSettings_destinationArn :: Lens' AccessLogSettings (Maybe Text) Source #

The ARN of the CloudWatch Logs log group to receive access logs.