amazonka-cloudwatch-logs-1.4.5: Amazon CloudWatch Logs 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.CloudWatchLogs.DescribeExportTasks

Contents

Description

Lists the specified export tasks. You can list all your export tasks or filter the results based on task ID or task status.

Synopsis

Creating a Request

describeExportTasks :: DescribeExportTasks #

Creates a value of DescribeExportTasks with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • detTaskId - The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.
  • detNextToken - The token for the next set of items to return. (You received this token from a previous call.)
  • detLimit - The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
  • detStatusCode - The status code of the export task. Specifying a status code filters the results to zero or more export tasks.

data DescribeExportTasks #

See: describeExportTasks smart constructor.

Instances

Eq DescribeExportTasks # 
Data DescribeExportTasks # 

Methods

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

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

toConstr :: DescribeExportTasks -> Constr #

dataTypeOf :: DescribeExportTasks -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeExportTasks # 
Show DescribeExportTasks # 
Generic DescribeExportTasks # 
Hashable DescribeExportTasks # 
ToJSON DescribeExportTasks # 
NFData DescribeExportTasks # 

Methods

rnf :: DescribeExportTasks -> () #

AWSRequest DescribeExportTasks # 
ToQuery DescribeExportTasks # 
ToPath DescribeExportTasks # 
ToHeaders DescribeExportTasks # 
type Rep DescribeExportTasks # 
type Rep DescribeExportTasks = D1 (MetaData "DescribeExportTasks" "Network.AWS.CloudWatchLogs.DescribeExportTasks" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "DescribeExportTasks'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_detTaskId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_detNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_detLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_detStatusCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ExportTaskStatusCode))))))
type Rs DescribeExportTasks # 

Request Lenses

detTaskId :: Lens' DescribeExportTasks (Maybe Text) #

The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.

detNextToken :: Lens' DescribeExportTasks (Maybe Text) #

The token for the next set of items to return. (You received this token from a previous call.)

detLimit :: Lens' DescribeExportTasks (Maybe Natural) #

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

detStatusCode :: Lens' DescribeExportTasks (Maybe ExportTaskStatusCode) #

The status code of the export task. Specifying a status code filters the results to zero or more export tasks.

Destructuring the Response

describeExportTasksResponse #

Creates a value of DescribeExportTasksResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeExportTasksResponse #

See: describeExportTasksResponse smart constructor.

Instances

Eq DescribeExportTasksResponse # 
Data DescribeExportTasksResponse # 

Methods

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

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

toConstr :: DescribeExportTasksResponse -> Constr #

dataTypeOf :: DescribeExportTasksResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeExportTasksResponse # 
Show DescribeExportTasksResponse # 
Generic DescribeExportTasksResponse # 
NFData DescribeExportTasksResponse # 
type Rep DescribeExportTasksResponse # 
type Rep DescribeExportTasksResponse = D1 (MetaData "DescribeExportTasksResponse" "Network.AWS.CloudWatchLogs.DescribeExportTasks" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "DescribeExportTasksResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_detrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_detrsExportTasks") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [ExportTask]))) (S1 (MetaSel (Just Symbol "_detrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses