amazonka-kendra-2.0: Amazon KendraFrontendService SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kendra.ListQuerySuggestionsBlockLists

Description

Lists the block lists used for query suggestions for an index.

For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

ListQuerySuggestionsBlockLists is currently not supported in the Amazon Web Services GovCloud (US-West) region.

Synopsis

Creating a Request

data ListQuerySuggestionsBlockLists Source #

See: newListQuerySuggestionsBlockLists smart constructor.

Constructors

ListQuerySuggestionsBlockLists' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of block lists to return.

  • nextToken :: Maybe Text

    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 block lists (BlockListSummaryItems).

  • indexId :: Text

    The identifier of the index for a list of all block lists that exist for that index.

    For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

Instances

Instances details
ToJSON ListQuerySuggestionsBlockLists Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

ToHeaders ListQuerySuggestionsBlockLists Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

ToPath ListQuerySuggestionsBlockLists Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

ToQuery ListQuerySuggestionsBlockLists Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

AWSRequest ListQuerySuggestionsBlockLists Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

Generic ListQuerySuggestionsBlockLists Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

Associated Types

type Rep ListQuerySuggestionsBlockLists :: Type -> Type #

Read ListQuerySuggestionsBlockLists Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

Show ListQuerySuggestionsBlockLists Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

NFData ListQuerySuggestionsBlockLists Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

Eq ListQuerySuggestionsBlockLists Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

Hashable ListQuerySuggestionsBlockLists Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

type AWSResponse ListQuerySuggestionsBlockLists Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

type Rep ListQuerySuggestionsBlockLists Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

type Rep ListQuerySuggestionsBlockLists = D1 ('MetaData "ListQuerySuggestionsBlockLists" "Amazonka.Kendra.ListQuerySuggestionsBlockLists" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "ListQuerySuggestionsBlockLists'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "indexId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListQuerySuggestionsBlockLists Source #

Create a value of ListQuerySuggestionsBlockLists 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:

ListQuerySuggestionsBlockLists, listQuerySuggestionsBlockLists_maxResults - The maximum number of block lists to return.

ListQuerySuggestionsBlockLists, listQuerySuggestionsBlockLists_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 block lists (BlockListSummaryItems).

$sel:indexId:ListQuerySuggestionsBlockLists', listQuerySuggestionsBlockLists_indexId - The identifier of the index for a list of all block lists that exist for that index.

For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

Request Lenses

listQuerySuggestionsBlockLists_nextToken :: Lens' ListQuerySuggestionsBlockLists (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 block lists (BlockListSummaryItems).

listQuerySuggestionsBlockLists_indexId :: Lens' ListQuerySuggestionsBlockLists Text Source #

The identifier of the index for a list of all block lists that exist for that index.

For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

Destructuring the Response

data ListQuerySuggestionsBlockListsResponse Source #

Constructors

ListQuerySuggestionsBlockListsResponse' 

Fields

  • blockListSummaryItems :: Maybe [QuerySuggestionsBlockListSummary]

    Summary items for a block list.

    This includes summary items on the block list ID, block list name, when the block list was created, when the block list was last updated, and the count of block words/phrases in the block list.

    For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

  • nextToken :: Maybe Text

    If the response is truncated, Amazon Kendra returns this token that you can use in the subsequent request to retrieve the next set of block lists.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListQuerySuggestionsBlockListsResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

Read ListQuerySuggestionsBlockListsResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

Show ListQuerySuggestionsBlockListsResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

NFData ListQuerySuggestionsBlockListsResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

Eq ListQuerySuggestionsBlockListsResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

type Rep ListQuerySuggestionsBlockListsResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListQuerySuggestionsBlockLists

type Rep ListQuerySuggestionsBlockListsResponse = D1 ('MetaData "ListQuerySuggestionsBlockListsResponse" "Amazonka.Kendra.ListQuerySuggestionsBlockLists" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "ListQuerySuggestionsBlockListsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "blockListSummaryItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [QuerySuggestionsBlockListSummary])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListQuerySuggestionsBlockListsResponse Source #

Create a value of ListQuerySuggestionsBlockListsResponse 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:blockListSummaryItems:ListQuerySuggestionsBlockListsResponse', listQuerySuggestionsBlockListsResponse_blockListSummaryItems - Summary items for a block list.

This includes summary items on the block list ID, block list name, when the block list was created, when the block list was last updated, and the count of block words/phrases in the block list.

For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

ListQuerySuggestionsBlockLists, listQuerySuggestionsBlockListsResponse_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 block lists.

$sel:httpStatus:ListQuerySuggestionsBlockListsResponse', listQuerySuggestionsBlockListsResponse_httpStatus - The response's http status code.

Response Lenses

listQuerySuggestionsBlockListsResponse_blockListSummaryItems :: Lens' ListQuerySuggestionsBlockListsResponse (Maybe [QuerySuggestionsBlockListSummary]) Source #

Summary items for a block list.

This includes summary items on the block list ID, block list name, when the block list was created, when the block list was last updated, and the count of block words/phrases in the block list.

For information on the current quota limits for block lists, see Quotas for Amazon Kendra.

listQuerySuggestionsBlockListsResponse_nextToken :: Lens' ListQuerySuggestionsBlockListsResponse (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 block lists.