| 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.MigrationHubStrategy.ListImportFileTask
Description
Retrieves a list of all the imports performed.
This operation returns paginated results.
Synopsis
- data ListImportFileTask = ListImportFileTask' {}
- newListImportFileTask :: ListImportFileTask
- listImportFileTask_maxResults :: Lens' ListImportFileTask (Maybe Int)
- listImportFileTask_nextToken :: Lens' ListImportFileTask (Maybe Text)
- data ListImportFileTaskResponse = ListImportFileTaskResponse' {}
- newListImportFileTaskResponse :: Int -> ListImportFileTaskResponse
- listImportFileTaskResponse_nextToken :: Lens' ListImportFileTaskResponse (Maybe Text)
- listImportFileTaskResponse_taskInfos :: Lens' ListImportFileTaskResponse (Maybe [ImportFileTaskInformation])
- listImportFileTaskResponse_httpStatus :: Lens' ListImportFileTaskResponse Int
Creating a Request
data ListImportFileTask Source #
See: newListImportFileTask smart constructor.
Constructors
| ListImportFileTask' | |
Fields
| |
Instances
newListImportFileTask :: ListImportFileTask Source #
Create a value of ListImportFileTask 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:maxResults:ListImportFileTask', listImportFileTask_maxResults - The total number of items to return. The maximum value is 100.
ListImportFileTask, listImportFileTask_nextToken - The token from a previous call that you use to retrieve the next set of
results. For example, if a previous call to this action returned 100
items, but you set maxResults to 10. You'll receive a set of 10
results along with a token. You then use the returned token to retrieve
the next set of 10.
Request Lenses
listImportFileTask_maxResults :: Lens' ListImportFileTask (Maybe Int) Source #
The total number of items to return. The maximum value is 100.
listImportFileTask_nextToken :: Lens' ListImportFileTask (Maybe Text) Source #
The token from a previous call that you use to retrieve the next set of
results. For example, if a previous call to this action returned 100
items, but you set maxResults to 10. You'll receive a set of 10
results along with a token. You then use the returned token to retrieve
the next set of 10.
Destructuring the Response
data ListImportFileTaskResponse Source #
See: newListImportFileTaskResponse smart constructor.
Constructors
| ListImportFileTaskResponse' | |
Fields
| |
Instances
newListImportFileTaskResponse Source #
Create a value of ListImportFileTaskResponse 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:
ListImportFileTask, listImportFileTaskResponse_nextToken - The token you use to retrieve the next set of results, or null if there
are no more results.
$sel:taskInfos:ListImportFileTaskResponse', listImportFileTaskResponse_taskInfos - Lists information about the files you import.
$sel:httpStatus:ListImportFileTaskResponse', listImportFileTaskResponse_httpStatus - The response's http status code.
Response Lenses
listImportFileTaskResponse_nextToken :: Lens' ListImportFileTaskResponse (Maybe Text) Source #
The token you use to retrieve the next set of results, or null if there are no more results.
listImportFileTaskResponse_taskInfos :: Lens' ListImportFileTaskResponse (Maybe [ImportFileTaskInformation]) Source #
Lists information about the files you import.
listImportFileTaskResponse_httpStatus :: Lens' ListImportFileTaskResponse Int Source #
The response's http status code.