| Copyright | (c) 2013-2017 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.Discovery.DescribeExportTasks
Description
Retrieve status of one or more export tasks. You can retrieve the status of up to 100 export tasks.
- describeExportTasks :: DescribeExportTasks
- data DescribeExportTasks
- detFilters :: Lens' DescribeExportTasks [ExportFilter]
- detNextToken :: Lens' DescribeExportTasks (Maybe Text)
- detExportIds :: Lens' DescribeExportTasks [Text]
- detMaxResults :: Lens' DescribeExportTasks (Maybe Int)
- describeExportTasksResponse :: Int -> DescribeExportTasksResponse
- data DescribeExportTasksResponse
- detrsNextToken :: Lens' DescribeExportTasksResponse (Maybe Text)
- detrsExportsInfo :: Lens' DescribeExportTasksResponse [ExportInfo]
- 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:
detFilters- One or more filters. *AgentId- ID of the agent whose collected data will be exporteddetNextToken- ThenextTokenvalue returned from a previous paginatedDescribeExportTasksrequest wheremaxResultswas used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned thenextTokenvalue. This value is null when there are no more results to return.detExportIds- One or more unique identifiers used to query the status of an export request.detMaxResults- The maximum number of volume results returned byDescribeExportTasksin paginated output. When this parameter is used,DescribeExportTasksonly returnsmaxResultsresults in a single page along with anextTokenresponse element.
data DescribeExportTasks Source #
See: describeExportTasks smart constructor.
Instances
Request Lenses
detFilters :: Lens' DescribeExportTasks [ExportFilter] Source #
One or more filters. * AgentId - ID of the agent whose collected data will be exported
detNextToken :: Lens' DescribeExportTasks (Maybe Text) Source #
The nextToken value returned from a previous paginated DescribeExportTasks request where maxResults was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken value. This value is null when there are no more results to return.
detExportIds :: Lens' DescribeExportTasks [Text] Source #
One or more unique identifiers used to query the status of an export request.
detMaxResults :: Lens' DescribeExportTasks (Maybe Int) Source #
The maximum number of volume results returned by DescribeExportTasks in paginated output. When this parameter is used, DescribeExportTasks only returns maxResults results in a single page along with a nextToken response element.
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- ThenextTokenvalue to include in a futureDescribeExportTasksrequest. When the results of aDescribeExportTasksrequest exceedmaxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.detrsExportsInfo- Contains one or more sets of export request details. When the status of a request isSUCCEEDED, the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file.detrsResponseStatus- -- | The response status code.
data DescribeExportTasksResponse Source #
See: describeExportTasksResponse smart constructor.
Instances
Response Lenses
detrsNextToken :: Lens' DescribeExportTasksResponse (Maybe Text) Source #
The nextToken value to include in a future DescribeExportTasks request. When the results of a DescribeExportTasks request exceed maxResults , this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
detrsExportsInfo :: Lens' DescribeExportTasksResponse [ExportInfo] Source #
Contains one or more sets of export request details. When the status of a request is SUCCEEDED , the response includes a URL for an Amazon S3 bucket where you can view the data in a CSV file.
detrsResponseStatus :: Lens' DescribeExportTasksResponse Int Source #
- - | The response status code.