Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.CloudWatchLogs.DescribeExportTasks
Description
Lists the specified export tasks. You can list all your export tasks or filter the results based on task ID or task status.
This operation returns paginated results.
Synopsis
- data DescribeExportTasks = DescribeExportTasks' {}
- newDescribeExportTasks :: DescribeExportTasks
- describeExportTasks_taskId :: Lens' DescribeExportTasks (Maybe Text)
- describeExportTasks_nextToken :: Lens' DescribeExportTasks (Maybe Text)
- describeExportTasks_limit :: Lens' DescribeExportTasks (Maybe Natural)
- describeExportTasks_statusCode :: Lens' DescribeExportTasks (Maybe ExportTaskStatusCode)
- data DescribeExportTasksResponse = DescribeExportTasksResponse' {
- nextToken :: Maybe Text
- exportTasks :: Maybe [ExportTask]
- httpStatus :: Int
- newDescribeExportTasksResponse :: Int -> DescribeExportTasksResponse
- describeExportTasksResponse_nextToken :: Lens' DescribeExportTasksResponse (Maybe Text)
- describeExportTasksResponse_exportTasks :: Lens' DescribeExportTasksResponse (Maybe [ExportTask])
- describeExportTasksResponse_httpStatus :: Lens' DescribeExportTasksResponse Int
Creating a Request
data DescribeExportTasks Source #
See: newDescribeExportTasks
smart constructor.
Constructors
DescribeExportTasks' | |
Fields
|
Instances
newDescribeExportTasks :: DescribeExportTasks Source #
Create a value of DescribeExportTasks
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:taskId:DescribeExportTasks'
, describeExportTasks_taskId
- The ID of the export task. Specifying a task ID filters the results to
zero or one export tasks.
$sel:nextToken:DescribeExportTasks'
, describeExportTasks_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:limit:DescribeExportTasks'
, describeExportTasks_limit
- The maximum number of items returned. If you don't specify a value, the
default is up to 50 items.
$sel:statusCode:DescribeExportTasks'
, describeExportTasks_statusCode
- The status code of the export task. Specifying a status code filters the
results to zero or more export tasks.
Request Lenses
describeExportTasks_taskId :: Lens' DescribeExportTasks (Maybe Text) Source #
The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.
describeExportTasks_nextToken :: Lens' DescribeExportTasks (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeExportTasks_limit :: Lens' DescribeExportTasks (Maybe Natural) Source #
The maximum number of items returned. If you don't specify a value, the default is up to 50 items.
describeExportTasks_statusCode :: Lens' DescribeExportTasks (Maybe ExportTaskStatusCode) Source #
The status code of the export task. Specifying a status code filters the results to zero or more export tasks.
Destructuring the Response
data DescribeExportTasksResponse Source #
See: newDescribeExportTasksResponse
smart constructor.
Constructors
DescribeExportTasksResponse' | |
Fields
|
Instances
newDescribeExportTasksResponse Source #
Create a value of DescribeExportTasksResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:DescribeExportTasks'
, describeExportTasksResponse_nextToken
- Undocumented member.
$sel:exportTasks:DescribeExportTasksResponse'
, describeExportTasksResponse_exportTasks
- The export tasks.
$sel:httpStatus:DescribeExportTasksResponse'
, describeExportTasksResponse_httpStatus
- The response's http status code.
Response Lenses
describeExportTasksResponse_nextToken :: Lens' DescribeExportTasksResponse (Maybe Text) Source #
Undocumented member.
describeExportTasksResponse_exportTasks :: Lens' DescribeExportTasksResponse (Maybe [ExportTask]) Source #
The export tasks.
describeExportTasksResponse_httpStatus :: Lens' DescribeExportTasksResponse Int Source #
The response's http status code.