Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- 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:
data DescribeExportTasks Source
See: describeExportTasks
smart constructor.
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.
Response Lenses
detrsNextToken :: Lens' DescribeExportTasksResponse (Maybe Text) Source
Undocumented member.
detrsExportTasks :: Lens' DescribeExportTasksResponse [ExportTask] Source
Undocumented member.
detrsResponseStatus :: Lens' DescribeExportTasksResponse Int Source
The response status code.