amazonka-cloudwatch-logs-1.4.1: 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

Returns all the export tasks that are associated with the AWS account making the request. The export tasks can be filtered based on TaskId or TaskStatus.

By default, this operation returns up to 50 export tasks that satisfy the specified filters. If there are more export tasks to list, the response would contain a nextToken value in the response body. You can also limit the number of export tasks returned in the response by specifying the limit parameter in the request.

Synopsis

Creating a Request

describeExportTasks :: DescribeExportTasks Source #

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:

data DescribeExportTasks Source #

See: describeExportTasks smart constructor.

Instances

Eq DescribeExportTasks Source # 
Data DescribeExportTasks Source # 

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 Source # 
Show DescribeExportTasks Source # 
Generic DescribeExportTasks Source # 
Hashable DescribeExportTasks Source # 
ToJSON DescribeExportTasks Source # 
NFData DescribeExportTasks Source # 

Methods

rnf :: DescribeExportTasks -> () #

AWSRequest DescribeExportTasks Source # 
ToQuery DescribeExportTasks Source # 
ToPath DescribeExportTasks Source # 
ToHeaders DescribeExportTasks Source # 
type Rep DescribeExportTasks Source # 
type Rep DescribeExportTasks = D1 (MetaData "DescribeExportTasks" "Network.AWS.CloudWatchLogs.DescribeExportTasks" "amazonka-cloudwatch-logs-1.4.1-8BlvwEM356M5ywRJfrJow6" 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 Source # 

Request Lenses

detTaskId :: Lens' DescribeExportTasks (Maybe Text) Source #

Export task that matches the specified task Id will be returned. This can result in zero or one export task.

detNextToken :: Lens' DescribeExportTasks (Maybe Text) Source #

A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previous DescribeExportTasks request.

detLimit :: Lens' DescribeExportTasks (Maybe Natural) Source #

The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.

detStatusCode :: Lens' DescribeExportTasks (Maybe ExportTaskStatusCode) Source #

All export tasks that matches the specified status code will be returned. This can return zero or more export tasks.

Destructuring the Response

describeExportTasksResponse Source #

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 Source #

See: describeExportTasksResponse smart constructor.

Instances

Eq DescribeExportTasksResponse Source # 
Data DescribeExportTasksResponse Source # 

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 Source # 
Show DescribeExportTasksResponse Source # 
Generic DescribeExportTasksResponse Source # 
NFData DescribeExportTasksResponse Source # 
type Rep DescribeExportTasksResponse Source # 
type Rep DescribeExportTasksResponse = D1 (MetaData "DescribeExportTasksResponse" "Network.AWS.CloudWatchLogs.DescribeExportTasks" "amazonka-cloudwatch-logs-1.4.1-8BlvwEM356M5ywRJfrJow6" 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 DecidedStrict) (Rec0 Int)))))

Response Lenses