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.AssociateDefaultVocabulary

Description

Associates an existing vocabulary as the default. Contact Lens for Amazon Connect uses the vocabulary in post-call and real-time analysis sessions for the given language.

Synopsis

Creating a Request

data AssociateDefaultVocabulary Source #

See: newAssociateDefaultVocabulary smart constructor.

Constructors

AssociateDefaultVocabulary' 

Fields

Instances

Instances details
ToJSON AssociateDefaultVocabulary Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

ToHeaders AssociateDefaultVocabulary Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

ToPath AssociateDefaultVocabulary Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

ToQuery AssociateDefaultVocabulary Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

AWSRequest AssociateDefaultVocabulary Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

Generic AssociateDefaultVocabulary Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

Associated Types

type Rep AssociateDefaultVocabulary :: Type -> Type #

Read AssociateDefaultVocabulary Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

Show AssociateDefaultVocabulary Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

NFData AssociateDefaultVocabulary Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

Eq AssociateDefaultVocabulary Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

Hashable AssociateDefaultVocabulary Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

type AWSResponse AssociateDefaultVocabulary Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

type Rep AssociateDefaultVocabulary Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

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

newAssociateDefaultVocabulary Source #

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

AssociateDefaultVocabulary, associateDefaultVocabulary_vocabularyId - The identifier of the custom vocabulary. If this is empty, the default is set to none.

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

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

Request Lenses

associateDefaultVocabulary_vocabularyId :: Lens' AssociateDefaultVocabulary (Maybe Text) Source #

The identifier of the custom vocabulary. If this is empty, the default is set to none.

associateDefaultVocabulary_instanceId :: Lens' AssociateDefaultVocabulary Text Source #

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

associateDefaultVocabulary_languageCode :: Lens' AssociateDefaultVocabulary VocabularyLanguageCode Source #

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

Destructuring the Response

data AssociateDefaultVocabularyResponse Source #

Constructors

AssociateDefaultVocabularyResponse' 

Fields

Instances

Instances details
Generic AssociateDefaultVocabularyResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

Associated Types

type Rep AssociateDefaultVocabularyResponse :: Type -> Type #

Read AssociateDefaultVocabularyResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

Show AssociateDefaultVocabularyResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

NFData AssociateDefaultVocabularyResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

Eq AssociateDefaultVocabularyResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

type Rep AssociateDefaultVocabularyResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociateDefaultVocabulary

type Rep AssociateDefaultVocabularyResponse = D1 ('MetaData "AssociateDefaultVocabularyResponse" "Amazonka.Connect.AssociateDefaultVocabulary" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "AssociateDefaultVocabularyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociateDefaultVocabularyResponse Source #

Create a value of AssociateDefaultVocabularyResponse 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:httpStatus:AssociateDefaultVocabularyResponse', associateDefaultVocabularyResponse_httpStatus - The response's http status code.

Response Lenses