amazonka-connect-2.0: Amazon Connect Service 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.Connect.SearchVocabularies

Description

Searches for vocabularies within a specific Amazon Connect instance using State, NameStartsWith, and LanguageCode.

This operation returns paginated results.

Synopsis

Creating a Request

data SearchVocabularies Source #

See: newSearchVocabularies smart constructor.

Constructors

SearchVocabularies' 

Fields

Instances

Instances details
ToJSON SearchVocabularies Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

ToHeaders SearchVocabularies Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

ToPath SearchVocabularies Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

ToQuery SearchVocabularies Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

AWSPager SearchVocabularies Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

AWSRequest SearchVocabularies Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

Associated Types

type AWSResponse SearchVocabularies #

Generic SearchVocabularies Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

Associated Types

type Rep SearchVocabularies :: Type -> Type #

Read SearchVocabularies Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

Show SearchVocabularies Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

NFData SearchVocabularies Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

Methods

rnf :: SearchVocabularies -> () #

Eq SearchVocabularies Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

Hashable SearchVocabularies Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

type AWSResponse SearchVocabularies Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

type Rep SearchVocabularies Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

type Rep SearchVocabularies = D1 ('MetaData "SearchVocabularies" "Amazonka.Connect.SearchVocabularies" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "SearchVocabularies'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "languageCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VocabularyLanguageCode)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nameStartsWith") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VocabularyState)) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newSearchVocabularies Source #

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

SearchVocabularies, searchVocabularies_languageCode - The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?

$sel:maxResults:SearchVocabularies', searchVocabularies_maxResults - The maximum number of results to return per page.

$sel:nameStartsWith:SearchVocabularies', searchVocabularies_nameStartsWith - The starting pattern of the name of the vocabulary.

SearchVocabularies, searchVocabularies_nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

SearchVocabularies, searchVocabularies_state - The current state of the custom vocabulary.

SearchVocabularies, searchVocabularies_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Request Lenses

searchVocabularies_languageCode :: Lens' SearchVocabularies (Maybe VocabularyLanguageCode) Source #

The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see What is Amazon Transcribe?

searchVocabularies_maxResults :: Lens' SearchVocabularies (Maybe Natural) Source #

The maximum number of results to return per page.

searchVocabularies_nameStartsWith :: Lens' SearchVocabularies (Maybe Text) Source #

The starting pattern of the name of the vocabulary.

searchVocabularies_nextToken :: Lens' SearchVocabularies (Maybe Text) Source #

The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

searchVocabularies_state :: Lens' SearchVocabularies (Maybe VocabularyState) Source #

The current state of the custom vocabulary.

searchVocabularies_instanceId :: Lens' SearchVocabularies Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Destructuring the Response

data SearchVocabulariesResponse Source #

See: newSearchVocabulariesResponse smart constructor.

Constructors

SearchVocabulariesResponse' 

Fields

Instances

Instances details
Generic SearchVocabulariesResponse Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

Associated Types

type Rep SearchVocabulariesResponse :: Type -> Type #

Read SearchVocabulariesResponse Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

Show SearchVocabulariesResponse Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

NFData SearchVocabulariesResponse Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

Eq SearchVocabulariesResponse Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

type Rep SearchVocabulariesResponse Source # 
Instance details

Defined in Amazonka.Connect.SearchVocabularies

type Rep SearchVocabulariesResponse = D1 ('MetaData "SearchVocabulariesResponse" "Amazonka.Connect.SearchVocabularies" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "SearchVocabulariesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "vocabularySummaryList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [VocabularySummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newSearchVocabulariesResponse Source #

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

SearchVocabularies, searchVocabulariesResponse_nextToken - If there are additional results, this is the token for the next set of results.

$sel:vocabularySummaryList:SearchVocabulariesResponse', searchVocabulariesResponse_vocabularySummaryList - The list of the available custom vocabularies.

$sel:httpStatus:SearchVocabulariesResponse', searchVocabulariesResponse_httpStatus - The response's http status code.

Response Lenses

searchVocabulariesResponse_nextToken :: Lens' SearchVocabulariesResponse (Maybe Text) Source #

If there are additional results, this is the token for the next set of results.