Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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_limit :: Lens' DescribeExportTasks (Maybe Natural)
- describeExportTasks_nextToken :: Lens' DescribeExportTasks (Maybe Text)
- describeExportTasks_statusCode :: Lens' DescribeExportTasks (Maybe ExportTaskStatusCode)
- describeExportTasks_taskId :: Lens' DescribeExportTasks (Maybe Text)
- data DescribeExportTasksResponse = DescribeExportTasksResponse' {
- exportTasks :: Maybe [ExportTask]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeExportTasksResponse :: Int -> DescribeExportTasksResponse
- describeExportTasksResponse_exportTasks :: Lens' DescribeExportTasksResponse (Maybe [ExportTask])
- describeExportTasksResponse_nextToken :: Lens' DescribeExportTasksResponse (Maybe Text)
- 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:limit:DescribeExportTasks'
, describeExportTasks_limit
- The maximum number of items returned. If you don't specify a value, the
default is up to 50 items.
DescribeExportTasks
, describeExportTasks_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$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.
DescribeExportTasks
, describeExportTasks_taskId
- The ID of the export task. Specifying a task ID filters the results to
one or zero export tasks.
Request Lenses
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_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_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.
describeExportTasks_taskId :: Lens' DescribeExportTasks (Maybe Text) Source #
The ID of the export task. Specifying a task ID filters the results to one or zero 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:exportTasks:DescribeExportTasksResponse'
, describeExportTasksResponse_exportTasks
- The export tasks.
DescribeExportTasks
, describeExportTasksResponse_nextToken
- Undocumented member.
$sel:httpStatus:DescribeExportTasksResponse'
, describeExportTasksResponse_httpStatus
- The response's http status code.
Response Lenses
describeExportTasksResponse_exportTasks :: Lens' DescribeExportTasksResponse (Maybe [ExportTask]) Source #
The export tasks.
describeExportTasksResponse_nextToken :: Lens' DescribeExportTasksResponse (Maybe Text) Source #
Undocumented member.
describeExportTasksResponse_httpStatus :: Lens' DescribeExportTasksResponse Int Source #
The response's http status code.