| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.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.
Synopsis
- describeExportTasks :: DescribeExportTasks
- data DescribeExportTasks
- detTaskId :: Lens' DescribeExportTasks (Maybe Text)
- detNextToken :: Lens' DescribeExportTasks (Maybe Text)
- detLimit :: Lens' DescribeExportTasks (Maybe Natural)
- detStatusCode :: Lens' DescribeExportTasks (Maybe ExportTaskStatusCode)
- describeExportTasksResponse :: Int -> DescribeExportTasksResponse
- data DescribeExportTasksResponse
- detrsNextToken :: Lens' DescribeExportTasksResponse (Maybe Text)
- detrsExportTasks :: Lens' DescribeExportTasksResponse [ExportTask]
- detrsResponseStatus :: Lens' DescribeExportTasksResponse Int
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:
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 Source #
See: describeExportTasks smart constructor.
Instances
Request Lenses
detTaskId :: Lens' DescribeExportTasks (Maybe Text) Source #
The ID of the export task. Specifying a task ID filters the results to zero or one export tasks.
detNextToken :: Lens' DescribeExportTasks (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
detLimit :: 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.
detStatusCode :: 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
describeExportTasksResponse Source #
Arguments
| :: Int | |
| -> 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:
detrsNextToken- Undocumented member.detrsExportTasks- The export tasks.detrsResponseStatus- -- | The response status code.
data DescribeExportTasksResponse Source #
See: describeExportTasksResponse smart constructor.
Instances
Response Lenses
detrsNextToken :: Lens' DescribeExportTasksResponse (Maybe Text) Source #
Undocumented member.
detrsExportTasks :: Lens' DescribeExportTasksResponse [ExportTask] Source #
The export tasks.
detrsResponseStatus :: Lens' DescribeExportTasksResponse Int Source #
- - | The response status code.