amazonka-cloudwatch-logs-1.3.7: Amazon CloudWatch Logs SDK.

Copyright(c) 2013-2015 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.

See: AWS API Reference for DescribeExportTasks.

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:

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:

Response Lenses