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 |
Lists the data source connectors that you have created.
Synopsis
- data ListDataSources = ListDataSources' {}
- newListDataSources :: Text -> ListDataSources
- listDataSources_maxResults :: Lens' ListDataSources (Maybe Natural)
- listDataSources_nextToken :: Lens' ListDataSources (Maybe Text)
- listDataSources_indexId :: Lens' ListDataSources Text
- data ListDataSourcesResponse = ListDataSourcesResponse' {}
- newListDataSourcesResponse :: Int -> ListDataSourcesResponse
- listDataSourcesResponse_nextToken :: Lens' ListDataSourcesResponse (Maybe Text)
- listDataSourcesResponse_summaryItems :: Lens' ListDataSourcesResponse (Maybe [DataSourceSummary])
- listDataSourcesResponse_httpStatus :: Lens' ListDataSourcesResponse Int
Creating a Request
data ListDataSources Source #
See: newListDataSources
smart constructor.
ListDataSources' | |
|
Instances
Create a value of ListDataSources
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:
ListDataSources
, listDataSources_maxResults
- The maximum number of data source connectors to return.
ListDataSources
, listDataSources_nextToken
- If the previous response was incomplete (because there is more data to
retrieve), Amazon Kendra returns a pagination token in the response. You
can use this pagination token to retrieve the next set of data source
connectors.
$sel:indexId:ListDataSources'
, listDataSources_indexId
- The identifier of the index used with one or more data source
connectors.
Request Lenses
listDataSources_maxResults :: Lens' ListDataSources (Maybe Natural) Source #
The maximum number of data source connectors to return.
listDataSources_nextToken :: Lens' ListDataSources (Maybe Text) Source #
If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of data source connectors.
listDataSources_indexId :: Lens' ListDataSources Text Source #
The identifier of the index used with one or more data source connectors.
Destructuring the Response
data ListDataSourcesResponse Source #
See: newListDataSourcesResponse
smart constructor.
ListDataSourcesResponse' | |
|
Instances
newListDataSourcesResponse Source #
Create a value of ListDataSourcesResponse
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:
ListDataSources
, listDataSourcesResponse_nextToken
- If the response is truncated, Amazon Kendra returns this token that you
can use in the subsequent request to retrieve the next set of data
source connectors.
$sel:summaryItems:ListDataSourcesResponse'
, listDataSourcesResponse_summaryItems
- An array of summary information for one or more data source connector.
$sel:httpStatus:ListDataSourcesResponse'
, listDataSourcesResponse_httpStatus
- The response's http status code.
Response Lenses
listDataSourcesResponse_nextToken :: Lens' ListDataSourcesResponse (Maybe Text) Source #
If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of data source connectors.
listDataSourcesResponse_summaryItems :: Lens' ListDataSourcesResponse (Maybe [DataSourceSummary]) Source #
An array of summary information for one or more data source connector.
listDataSourcesResponse_httpStatus :: Lens' ListDataSourcesResponse Int Source #
The response's http status code.