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 |
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
- data GetRealtimeLogConfig = GetRealtimeLogConfig' {}
- newGetRealtimeLogConfig :: GetRealtimeLogConfig
- getRealtimeLogConfig_arn :: Lens' GetRealtimeLogConfig (Maybe Text)
- getRealtimeLogConfig_name :: Lens' GetRealtimeLogConfig (Maybe Text)
- data GetRealtimeLogConfigResponse = GetRealtimeLogConfigResponse' {}
- newGetRealtimeLogConfigResponse :: Int -> GetRealtimeLogConfigResponse
- getRealtimeLogConfigResponse_realtimeLogConfig :: Lens' GetRealtimeLogConfigResponse (Maybe RealtimeLogConfig)
- getRealtimeLogConfigResponse_httpStatus :: Lens' GetRealtimeLogConfigResponse Int
Creating a Request
data GetRealtimeLogConfig Source #
See: newGetRealtimeLogConfig
smart constructor.
Instances
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:
$sel:arn:GetRealtimeLogConfig'
, getRealtimeLogConfig_arn
- The Amazon Resource Name (ARN) of the real-time log configuration to
get.
$sel:name: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.
GetRealtimeLogConfigResponse' | |
|
Instances
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
getRealtimeLogConfigResponse_realtimeLogConfig :: Lens' GetRealtimeLogConfigResponse (Maybe RealtimeLogConfig) Source #
A real-time log configuration.
getRealtimeLogConfigResponse_httpStatus :: Lens' GetRealtimeLogConfigResponse Int Source #
The response's http status code.