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 |
Returns information on all imports, or a select set of imports by
ImportStatus
or Destination
.
This operation returns paginated results.
Synopsis
- data ListImports = ListImports' {}
- newListImports :: ListImports
- listImports_destination :: Lens' ListImports (Maybe Text)
- listImports_importStatus :: Lens' ListImports (Maybe ImportStatus)
- listImports_maxResults :: Lens' ListImports (Maybe Natural)
- listImports_nextToken :: Lens' ListImports (Maybe Text)
- data ListImportsResponse = ListImportsResponse' {
- imports :: Maybe [ImportsListItem]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListImportsResponse :: Int -> ListImportsResponse
- listImportsResponse_imports :: Lens' ListImportsResponse (Maybe [ImportsListItem])
- listImportsResponse_nextToken :: Lens' ListImportsResponse (Maybe Text)
- listImportsResponse_httpStatus :: Lens' ListImportsResponse Int
Creating a Request
data ListImports Source #
See: newListImports
smart constructor.
ListImports' | |
|
Instances
newListImports :: ListImports Source #
Create a value of ListImports
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:destination:ListImports'
, listImports_destination
- The ARN of the destination event data store.
ListImports
, listImports_importStatus
- The status of the import.
$sel:maxResults:ListImports'
, listImports_maxResults
- The maximum number of imports to display on a single page.
ListImports
, listImports_nextToken
- A token you can use to get the next page of import results.
Request Lenses
listImports_destination :: Lens' ListImports (Maybe Text) Source #
The ARN of the destination event data store.
listImports_importStatus :: Lens' ListImports (Maybe ImportStatus) Source #
The status of the import.
listImports_maxResults :: Lens' ListImports (Maybe Natural) Source #
The maximum number of imports to display on a single page.
listImports_nextToken :: Lens' ListImports (Maybe Text) Source #
A token you can use to get the next page of import results.
Destructuring the Response
data ListImportsResponse Source #
See: newListImportsResponse
smart constructor.
ListImportsResponse' | |
|
Instances
newListImportsResponse Source #
Create a value of ListImportsResponse
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:imports:ListImportsResponse'
, listImportsResponse_imports
- The list of returned imports.
ListImports
, listImportsResponse_nextToken
- A token you can use to get the next page of import results.
$sel:httpStatus:ListImportsResponse'
, listImportsResponse_httpStatus
- The response's http status code.
Response Lenses
listImportsResponse_imports :: Lens' ListImportsResponse (Maybe [ImportsListItem]) Source #
The list of returned imports.
listImportsResponse_nextToken :: Lens' ListImportsResponse (Maybe Text) Source #
A token you can use to get the next page of import results.
listImportsResponse_httpStatus :: Lens' ListImportsResponse Int Source #
The response's http status code.