Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Gets summary information about all your logging configurations in the AWS region where the API request is processed.
Synopsis
- data ListLoggingConfigurations = ListLoggingConfigurations' {}
- newListLoggingConfigurations :: ListLoggingConfigurations
- listLoggingConfigurations_maxResults :: Lens' ListLoggingConfigurations (Maybe Natural)
- listLoggingConfigurations_nextToken :: Lens' ListLoggingConfigurations (Maybe Text)
- data ListLoggingConfigurationsResponse = ListLoggingConfigurationsResponse' {}
- newListLoggingConfigurationsResponse :: Int -> ListLoggingConfigurationsResponse
- listLoggingConfigurationsResponse_nextToken :: Lens' ListLoggingConfigurationsResponse (Maybe Text)
- listLoggingConfigurationsResponse_httpStatus :: Lens' ListLoggingConfigurationsResponse Int
- listLoggingConfigurationsResponse_loggingConfigurations :: Lens' ListLoggingConfigurationsResponse [LoggingConfigurationSummary]
Creating a Request
data ListLoggingConfigurations Source #
See: newListLoggingConfigurations
smart constructor.
Instances
newListLoggingConfigurations :: ListLoggingConfigurations Source #
Create a value of ListLoggingConfigurations
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:maxResults:ListLoggingConfigurations'
, listLoggingConfigurations_maxResults
- Maximum number of logging configurations to return. Default: 50.
ListLoggingConfigurations
, listLoggingConfigurations_nextToken
- The first logging configurations to retrieve. This is used for
pagination; see the nextToken
response field.
Request Lenses
listLoggingConfigurations_maxResults :: Lens' ListLoggingConfigurations (Maybe Natural) Source #
Maximum number of logging configurations to return. Default: 50.
listLoggingConfigurations_nextToken :: Lens' ListLoggingConfigurations (Maybe Text) Source #
The first logging configurations to retrieve. This is used for
pagination; see the nextToken
response field.
Destructuring the Response
data ListLoggingConfigurationsResponse Source #
See: newListLoggingConfigurationsResponse
smart constructor.
ListLoggingConfigurationsResponse' | |
|
Instances
newListLoggingConfigurationsResponse Source #
Create a value of ListLoggingConfigurationsResponse
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:
ListLoggingConfigurations
, listLoggingConfigurationsResponse_nextToken
- If there are more logging configurations than maxResults
, use
nextToken
in the request to get the next set.
$sel:httpStatus:ListLoggingConfigurationsResponse'
, listLoggingConfigurationsResponse_httpStatus
- The response's http status code.
$sel:loggingConfigurations:ListLoggingConfigurationsResponse'
, listLoggingConfigurationsResponse_loggingConfigurations
- List of the matching logging configurations (summary information only).
There is only one type of destination (cloudWatchLogs
, firehose
, or
s3
) in a destinationConfiguration
.
Response Lenses
listLoggingConfigurationsResponse_nextToken :: Lens' ListLoggingConfigurationsResponse (Maybe Text) Source #
If there are more logging configurations than maxResults
, use
nextToken
in the request to get the next set.
listLoggingConfigurationsResponse_httpStatus :: Lens' ListLoggingConfigurationsResponse Int Source #
The response's http status code.
listLoggingConfigurationsResponse_loggingConfigurations :: Lens' ListLoggingConfigurationsResponse [LoggingConfigurationSummary] Source #
List of the matching logging configurations (summary information only).
There is only one type of destination (cloudWatchLogs
, firehose
, or
s3
) in a destinationConfiguration
.