Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
data AccessLogSettings Source #
Access log settings, including the access log format and access log destination ARN.
See: newAccessLogSettings
smart constructor.
AccessLogSettings' | |
|
Instances
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 Amazon Resource Name (ARN) of the CloudWatch Logs log group or
Kinesis Data Firehose delivery stream to receive access logs. If you
specify a Kinesis Data Firehose delivery stream, the stream name must
begin with amazon-apigateway-
.
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 Amazon Resource Name (ARN) of the CloudWatch Logs log group or
Kinesis Data Firehose delivery stream to receive access logs. If you
specify a Kinesis Data Firehose delivery stream, the stream name must
begin with amazon-apigateway-
.