Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes one or more flow logs. To view the information in your flow logs (the log streams for the network interfaces), you must use the CloudWatch Logs console or the CloudWatch Logs API.
- describeFlowLogs :: DescribeFlowLogs
- data DescribeFlowLogs
- dNextToken :: Lens' DescribeFlowLogs (Maybe Text)
- dFlowLogIds :: Lens' DescribeFlowLogs [Text]
- dFilter :: Lens' DescribeFlowLogs [Filter]
- dMaxResults :: Lens' DescribeFlowLogs (Maybe Int)
- describeFlowLogsResponse :: Int -> DescribeFlowLogsResponse
- data DescribeFlowLogsResponse
- dflsrsNextToken :: Lens' DescribeFlowLogsResponse (Maybe Text)
- dflsrsFlowLogs :: Lens' DescribeFlowLogsResponse [FlowLog]
- dflsrsResponseStatus :: Lens' DescribeFlowLogsResponse Int
Creating a Request
describeFlowLogs :: DescribeFlowLogs Source #
Creates a value of DescribeFlowLogs
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeFlowLogs Source #
Contains the parameters for DescribeFlowLogs.
See: describeFlowLogs
smart constructor.
Request Lenses
dNextToken :: Lens' DescribeFlowLogs (Maybe Text) Source #
The token to retrieve the next page of results.
dFlowLogIds :: Lens' DescribeFlowLogs [Text] Source #
One or more flow log IDs.
dFilter :: Lens' DescribeFlowLogs [Filter] Source #
One or more filters.
- 'deliver-log-status' - The status of the logs delivery (
SUCCESS
|FAILED
). - 'flow-log-id' - The ID of the flow log.
- 'log-group-name' - The name of the log group.
- 'resource-id' - The ID of the VPC, subnet, or network interface.
- 'traffic-type' - The type of traffic (
ACCEPT
|REJECT
|ALL
)
dMaxResults :: Lens' DescribeFlowLogs (Maybe Int) Source #
The maximum number of results to return for the request in a single
page. The remaining results can be seen by sending another request with
the returned NextToken
value. This value can be between 5 and 1000; if
MaxResults
is given a value larger than 1000, only 1000 results are
returned. You cannot specify this parameter and the flow log IDs
parameter in the same request.
Destructuring the Response
describeFlowLogsResponse Source #
Creates a value of DescribeFlowLogsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeFlowLogsResponse Source #
Contains the output of DescribeFlowLogs.
See: describeFlowLogsResponse
smart constructor.
Response Lenses
dflsrsNextToken :: Lens' DescribeFlowLogsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null
when there are no more results to return.
dflsrsFlowLogs :: Lens' DescribeFlowLogsResponse [FlowLog] Source #
Information about the flow logs.
dflsrsResponseStatus :: Lens' DescribeFlowLogsResponse Int Source #
The response status code.