Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns a list of keywords that pre-mapped to the specified control data source.
Synopsis
- data ListKeywordsForDataSource = ListKeywordsForDataSource' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- source :: SourceType
- newListKeywordsForDataSource :: SourceType -> ListKeywordsForDataSource
- listKeywordsForDataSource_nextToken :: Lens' ListKeywordsForDataSource (Maybe Text)
- listKeywordsForDataSource_maxResults :: Lens' ListKeywordsForDataSource (Maybe Natural)
- listKeywordsForDataSource_source :: Lens' ListKeywordsForDataSource SourceType
- data ListKeywordsForDataSourceResponse = ListKeywordsForDataSourceResponse' {}
- newListKeywordsForDataSourceResponse :: Int -> ListKeywordsForDataSourceResponse
- listKeywordsForDataSourceResponse_nextToken :: Lens' ListKeywordsForDataSourceResponse (Maybe Text)
- listKeywordsForDataSourceResponse_keywords :: 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:nextToken:ListKeywordsForDataSource'
, listKeywordsForDataSource_nextToken
- The pagination token used to fetch the next set of results.
$sel:maxResults:ListKeywordsForDataSource'
, listKeywordsForDataSource_maxResults
- Represents the maximum number of results per page, or per API request
call.
$sel:source:ListKeywordsForDataSource'
, listKeywordsForDataSource_source
- The control mapping data source to which the keywords apply.
Request Lenses
listKeywordsForDataSource_nextToken :: Lens' ListKeywordsForDataSource (Maybe Text) Source #
The pagination token used to fetch the next set of results.
listKeywordsForDataSource_maxResults :: Lens' ListKeywordsForDataSource (Maybe Natural) Source #
Represents the maximum number of results per page, or per API request call.
listKeywordsForDataSource_source :: Lens' ListKeywordsForDataSource SourceType Source #
The control mapping data source to which the keywords apply.
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:nextToken:ListKeywordsForDataSource'
, listKeywordsForDataSourceResponse_nextToken
- The pagination token used to fetch the next set of results.
$sel:keywords:ListKeywordsForDataSourceResponse'
, listKeywordsForDataSourceResponse_keywords
- The list of keywords for the specified event mapping source.
$sel:httpStatus:ListKeywordsForDataSourceResponse'
, listKeywordsForDataSourceResponse_httpStatus
- The response's http status code.
Response Lenses
listKeywordsForDataSourceResponse_nextToken :: Lens' ListKeywordsForDataSourceResponse (Maybe Text) Source #
The pagination token used to fetch the next set of results.
listKeywordsForDataSourceResponse_keywords :: Lens' ListKeywordsForDataSourceResponse (Maybe [Text]) Source #
The list of keywords for the specified event mapping source.
listKeywordsForDataSourceResponse_httpStatus :: Lens' ListKeywordsForDataSourceResponse Int Source #
The response's http status code.