amazonka-lexv2-models-2.0: Amazon Lex Model Building V2 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.LexV2Models.DeleteCustomVocabulary

Description

Removes a custom vocabulary from the specified locale in the specified bot.

Synopsis

Creating a Request

data DeleteCustomVocabulary Source #

See: newDeleteCustomVocabulary smart constructor.

Constructors

DeleteCustomVocabulary' 

Fields

  • botId :: Text

    The unique identifier of the bot to remove the custom vocabulary from.

  • botVersion :: Text

    The version of the bot to remove the custom vocabulary from.

  • localeId :: Text

    The locale identifier for the locale that contains the custom vocabulary to remove.

Instances

Instances details
ToHeaders DeleteCustomVocabulary Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

ToPath DeleteCustomVocabulary Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

ToQuery DeleteCustomVocabulary Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

AWSRequest DeleteCustomVocabulary Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

Associated Types

type AWSResponse DeleteCustomVocabulary #

Generic DeleteCustomVocabulary Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

Associated Types

type Rep DeleteCustomVocabulary :: Type -> Type #

Read DeleteCustomVocabulary Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

Show DeleteCustomVocabulary Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

NFData DeleteCustomVocabulary Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

Methods

rnf :: DeleteCustomVocabulary -> () #

Eq DeleteCustomVocabulary Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

Hashable DeleteCustomVocabulary Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

type AWSResponse DeleteCustomVocabulary Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

type Rep DeleteCustomVocabulary Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

type Rep DeleteCustomVocabulary = D1 ('MetaData "DeleteCustomVocabulary" "Amazonka.LexV2Models.DeleteCustomVocabulary" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DeleteCustomVocabulary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "botVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "localeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDeleteCustomVocabulary Source #

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

DeleteCustomVocabulary, deleteCustomVocabulary_botId - The unique identifier of the bot to remove the custom vocabulary from.

DeleteCustomVocabulary, deleteCustomVocabulary_botVersion - The version of the bot to remove the custom vocabulary from.

DeleteCustomVocabulary, deleteCustomVocabulary_localeId - The locale identifier for the locale that contains the custom vocabulary to remove.

Request Lenses

deleteCustomVocabulary_botId :: Lens' DeleteCustomVocabulary Text Source #

The unique identifier of the bot to remove the custom vocabulary from.

deleteCustomVocabulary_botVersion :: Lens' DeleteCustomVocabulary Text Source #

The version of the bot to remove the custom vocabulary from.

deleteCustomVocabulary_localeId :: Lens' DeleteCustomVocabulary Text Source #

The locale identifier for the locale that contains the custom vocabulary to remove.

Destructuring the Response

data DeleteCustomVocabularyResponse Source #

See: newDeleteCustomVocabularyResponse smart constructor.

Constructors

DeleteCustomVocabularyResponse' 

Fields

Instances

Instances details
Generic DeleteCustomVocabularyResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

Associated Types

type Rep DeleteCustomVocabularyResponse :: Type -> Type #

Read DeleteCustomVocabularyResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

Show DeleteCustomVocabularyResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

NFData DeleteCustomVocabularyResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

Eq DeleteCustomVocabularyResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

type Rep DeleteCustomVocabularyResponse Source # 
Instance details

Defined in Amazonka.LexV2Models.DeleteCustomVocabulary

type Rep DeleteCustomVocabularyResponse = D1 ('MetaData "DeleteCustomVocabularyResponse" "Amazonka.LexV2Models.DeleteCustomVocabulary" "amazonka-lexv2-models-2.0-5mExjJXBfuO6j0ascNcayE" 'False) (C1 ('MetaCons "DeleteCustomVocabularyResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "botId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "botVersion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "customVocabularyStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomVocabularyStatus)) :*: (S1 ('MetaSel ('Just "localeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newDeleteCustomVocabularyResponse Source #

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

DeleteCustomVocabulary, deleteCustomVocabularyResponse_botId - The identifier of the bot that the custom vocabulary was removed from.

DeleteCustomVocabulary, deleteCustomVocabularyResponse_botVersion - The version of the bot that the custom vocabulary was removed from.

$sel:customVocabularyStatus:DeleteCustomVocabularyResponse', deleteCustomVocabularyResponse_customVocabularyStatus - The status of removing the custom vocabulary.

DeleteCustomVocabulary, deleteCustomVocabularyResponse_localeId - The locale identifier for the locale that the custom vocabulary was removed from.

$sel:httpStatus:DeleteCustomVocabularyResponse', deleteCustomVocabularyResponse_httpStatus - The response's http status code.

Response Lenses

deleteCustomVocabularyResponse_botId :: Lens' DeleteCustomVocabularyResponse (Maybe Text) Source #

The identifier of the bot that the custom vocabulary was removed from.

deleteCustomVocabularyResponse_botVersion :: Lens' DeleteCustomVocabularyResponse (Maybe Text) Source #

The version of the bot that the custom vocabulary was removed from.

deleteCustomVocabularyResponse_localeId :: Lens' DeleteCustomVocabularyResponse (Maybe Text) Source #

The locale identifier for the locale that the custom vocabulary was removed from.