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 a list of keywords that are pre-mapped to the specified control data source.
Synopsis
- data ListKeywordsForDataSource = ListKeywordsForDataSource' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- source :: SourceType
- newListKeywordsForDataSource :: SourceType -> ListKeywordsForDataSource
- listKeywordsForDataSource_maxResults :: Lens' ListKeywordsForDataSource (Maybe Natural)
- listKeywordsForDataSource_nextToken :: Lens' ListKeywordsForDataSource (Maybe Text)
- listKeywordsForDataSource_source :: Lens' ListKeywordsForDataSource SourceType
- data ListKeywordsForDataSourceResponse = ListKeywordsForDataSourceResponse' {}
- newListKeywordsForDataSourceResponse :: Int -> ListKeywordsForDataSourceResponse
- listKeywordsForDataSourceResponse_keywords :: Lens' ListKeywordsForDataSourceResponse (Maybe [Text])
- listKeywordsForDataSourceResponse_nextToken :: Lens' ListKeywordsForDataSourceResponse (Maybe Text)
- listKeywordsForDataSourceResponse_httpStatus :: Lens' ListKeywordsForDataSourceResponse Int
Creating a Request
data ListKeywordsForDataSource Source #
See: newListKeywordsForDataSource
smart constructor.
ListKeywordsForDataSource' | |
|
Instances
newListKeywordsForDataSource Source #
Create a value of ListKeywordsForDataSource
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:ListKeywordsForDataSource'
, listKeywordsForDataSource_maxResults
- Represents the maximum number of results on a page or for an API request
call.
ListKeywordsForDataSource
, listKeywordsForDataSource_nextToken
- The pagination token that's used to fetch the next set of results.
ListKeywordsForDataSource
, listKeywordsForDataSource_source
- The control mapping data source that the keywords apply to.
Request Lenses
listKeywordsForDataSource_maxResults :: Lens' ListKeywordsForDataSource (Maybe Natural) Source #
Represents the maximum number of results on a page or for an API request call.
listKeywordsForDataSource_nextToken :: Lens' ListKeywordsForDataSource (Maybe Text) Source #
The pagination token that's used to fetch the next set of results.
listKeywordsForDataSource_source :: Lens' ListKeywordsForDataSource SourceType Source #
The control mapping data source that the keywords apply to.
Destructuring the Response
data ListKeywordsForDataSourceResponse Source #
See: newListKeywordsForDataSourceResponse
smart constructor.
Instances
newListKeywordsForDataSourceResponse Source #
Create a value of ListKeywordsForDataSourceResponse
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:keywords:ListKeywordsForDataSourceResponse'
, listKeywordsForDataSourceResponse_keywords
- The list of keywords for the event mapping source.
ListKeywordsForDataSource
, listKeywordsForDataSourceResponse_nextToken
- The pagination token that's used to fetch the next set of results.
$sel:httpStatus:ListKeywordsForDataSourceResponse'
, listKeywordsForDataSourceResponse_httpStatus
- The response's http status code.
Response Lenses
listKeywordsForDataSourceResponse_keywords :: Lens' ListKeywordsForDataSourceResponse (Maybe [Text]) Source #
The list of keywords for the event mapping source.
listKeywordsForDataSourceResponse_nextToken :: Lens' ListKeywordsForDataSourceResponse (Maybe Text) Source #
The pagination token that's used to fetch the next set of results.
listKeywordsForDataSourceResponse_httpStatus :: Lens' ListKeywordsForDataSourceResponse Int Source #
The response's http status code.