| 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.Detective.ListDatasourcePackages
Description
Lists data source packages in the behavior graph.
Synopsis
- data ListDatasourcePackages = ListDatasourcePackages' {}
- newListDatasourcePackages :: Text -> ListDatasourcePackages
- listDatasourcePackages_maxResults :: Lens' ListDatasourcePackages (Maybe Natural)
- listDatasourcePackages_nextToken :: Lens' ListDatasourcePackages (Maybe Text)
- listDatasourcePackages_graphArn :: Lens' ListDatasourcePackages Text
- data ListDatasourcePackagesResponse = ListDatasourcePackagesResponse' {}
- newListDatasourcePackagesResponse :: Int -> ListDatasourcePackagesResponse
- listDatasourcePackagesResponse_datasourcePackages :: Lens' ListDatasourcePackagesResponse (Maybe (HashMap DatasourcePackage DatasourcePackageIngestDetail))
- listDatasourcePackagesResponse_nextToken :: Lens' ListDatasourcePackagesResponse (Maybe Text)
- listDatasourcePackagesResponse_httpStatus :: Lens' ListDatasourcePackagesResponse Int
Creating a Request
data ListDatasourcePackages Source #
See: newListDatasourcePackages smart constructor.
Constructors
| ListDatasourcePackages' | |
Fields
| |
Instances
newListDatasourcePackages Source #
Arguments
| :: Text | |
| -> ListDatasourcePackages |
Create a value of ListDatasourcePackages 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:ListDatasourcePackages', listDatasourcePackages_maxResults - The maximum number of results to return.
ListDatasourcePackages, listDatasourcePackages_nextToken - For requests to get the next page of results, the pagination token that
was returned with the previous set of results. The initial request does
not include a pagination token.
ListDatasourcePackages, listDatasourcePackages_graphArn - The ARN of the behavior graph.
Request Lenses
listDatasourcePackages_maxResults :: Lens' ListDatasourcePackages (Maybe Natural) Source #
The maximum number of results to return.
listDatasourcePackages_nextToken :: Lens' ListDatasourcePackages (Maybe Text) Source #
For requests to get the next page of results, the pagination token that was returned with the previous set of results. The initial request does not include a pagination token.
listDatasourcePackages_graphArn :: Lens' ListDatasourcePackages Text Source #
The ARN of the behavior graph.
Destructuring the Response
data ListDatasourcePackagesResponse Source #
See: newListDatasourcePackagesResponse smart constructor.
Constructors
| ListDatasourcePackagesResponse' | |
Fields
| |
Instances
newListDatasourcePackagesResponse Source #
Create a value of ListDatasourcePackagesResponse 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:datasourcePackages:ListDatasourcePackagesResponse', listDatasourcePackagesResponse_datasourcePackages - Details on the data source packages active in the behavior graph.
ListDatasourcePackages, listDatasourcePackagesResponse_nextToken - For requests to get the next page of results, the pagination token that
was returned with the previous set of results. The initial request does
not include a pagination token.
$sel:httpStatus:ListDatasourcePackagesResponse', listDatasourcePackagesResponse_httpStatus - The response's http status code.
Response Lenses
listDatasourcePackagesResponse_datasourcePackages :: Lens' ListDatasourcePackagesResponse (Maybe (HashMap DatasourcePackage DatasourcePackageIngestDetail)) Source #
Details on the data source packages active in the behavior graph.
listDatasourcePackagesResponse_nextToken :: Lens' ListDatasourcePackagesResponse (Maybe Text) Source #
For requests to get the next page of results, the pagination token that was returned with the previous set of results. The initial request does not include a pagination token.
listDatasourcePackagesResponse_httpStatus :: Lens' ListDatasourcePackagesResponse Int Source #
The response's http status code.