amazonka-ec2-1.4.2: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DescribeFlowLogs

Contents

Description

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.

Synopsis

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.

Instances

Eq DescribeFlowLogs Source # 
Data DescribeFlowLogs Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeFlowLogs -> c DescribeFlowLogs #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeFlowLogs #

toConstr :: DescribeFlowLogs -> Constr #

dataTypeOf :: DescribeFlowLogs -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeFlowLogs) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeFlowLogs) #

gmapT :: (forall b. Data b => b -> b) -> DescribeFlowLogs -> DescribeFlowLogs #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeFlowLogs -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeFlowLogs -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeFlowLogs -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeFlowLogs -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeFlowLogs -> m DescribeFlowLogs #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeFlowLogs -> m DescribeFlowLogs #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeFlowLogs -> m DescribeFlowLogs #

Read DescribeFlowLogs Source # 
Show DescribeFlowLogs Source # 
Generic DescribeFlowLogs Source # 
Hashable DescribeFlowLogs Source # 
NFData DescribeFlowLogs Source # 

Methods

rnf :: DescribeFlowLogs -> () #

AWSRequest DescribeFlowLogs Source # 
ToPath DescribeFlowLogs Source # 
ToHeaders DescribeFlowLogs Source # 
ToQuery DescribeFlowLogs Source # 
type Rep DescribeFlowLogs Source # 
type Rep DescribeFlowLogs = D1 (MetaData "DescribeFlowLogs" "Network.AWS.EC2.DescribeFlowLogs" "amazonka-ec2-1.4.2-6EJAAVBh1q13dHrwE82a1F" False) (C1 (MetaCons "DescribeFlowLogs'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dFlowLogIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Text])))) ((:*:) (S1 (MetaSel (Just Symbol "_dFilter") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter]))) (S1 (MetaSel (Just Symbol "_dMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs DescribeFlowLogs Source # 

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.

Instances

Eq DescribeFlowLogsResponse Source # 
Data DescribeFlowLogsResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeFlowLogsResponse -> c DescribeFlowLogsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeFlowLogsResponse #

toConstr :: DescribeFlowLogsResponse -> Constr #

dataTypeOf :: DescribeFlowLogsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeFlowLogsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeFlowLogsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeFlowLogsResponse -> DescribeFlowLogsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeFlowLogsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeFlowLogsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeFlowLogsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeFlowLogsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeFlowLogsResponse -> m DescribeFlowLogsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeFlowLogsResponse -> m DescribeFlowLogsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeFlowLogsResponse -> m DescribeFlowLogsResponse #

Read DescribeFlowLogsResponse Source # 
Show DescribeFlowLogsResponse Source # 
Generic DescribeFlowLogsResponse Source # 
NFData DescribeFlowLogsResponse Source # 
type Rep DescribeFlowLogsResponse Source # 
type Rep DescribeFlowLogsResponse = D1 (MetaData "DescribeFlowLogsResponse" "Network.AWS.EC2.DescribeFlowLogs" "amazonka-ec2-1.4.2-6EJAAVBh1q13dHrwE82a1F" False) (C1 (MetaCons "DescribeFlowLogsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dflsrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dflsrsFlowLogs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [FlowLog]))) (S1 (MetaSel (Just Symbol "_dflsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

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.