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

Description

Deletes the vocabulary that has the given identifier.

Synopsis

Creating a Request

data DeleteVocabulary Source #

See: newDeleteVocabulary smart constructor.

Constructors

DeleteVocabulary' 

Fields

  • instanceId :: Text

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

  • vocabularyId :: Text

    The identifier of the custom vocabulary.

Instances

Instances details
ToJSON DeleteVocabulary Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

ToHeaders DeleteVocabulary Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

ToPath DeleteVocabulary Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

ToQuery DeleteVocabulary Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

AWSRequest DeleteVocabulary Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

Associated Types

type AWSResponse DeleteVocabulary #

Generic DeleteVocabulary Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

Associated Types

type Rep DeleteVocabulary :: Type -> Type #

Read DeleteVocabulary Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

Show DeleteVocabulary Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

NFData DeleteVocabulary Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

Methods

rnf :: DeleteVocabulary -> () #

Eq DeleteVocabulary Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

Hashable DeleteVocabulary Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

type AWSResponse DeleteVocabulary Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

type Rep DeleteVocabulary Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

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

newDeleteVocabulary Source #

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

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

DeleteVocabulary, deleteVocabulary_vocabularyId - The identifier of the custom vocabulary.

Request Lenses

deleteVocabulary_instanceId :: Lens' DeleteVocabulary Text Source #

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

deleteVocabulary_vocabularyId :: Lens' DeleteVocabulary Text Source #

The identifier of the custom vocabulary.

Destructuring the Response

data DeleteVocabularyResponse Source #

See: newDeleteVocabularyResponse smart constructor.

Constructors

DeleteVocabularyResponse' 

Fields

Instances

Instances details
Generic DeleteVocabularyResponse Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

Associated Types

type Rep DeleteVocabularyResponse :: Type -> Type #

Read DeleteVocabularyResponse Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

Show DeleteVocabularyResponse Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

NFData DeleteVocabularyResponse Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

Eq DeleteVocabularyResponse Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

type Rep DeleteVocabularyResponse Source # 
Instance details

Defined in Amazonka.Connect.DeleteVocabulary

type Rep DeleteVocabularyResponse = D1 ('MetaData "DeleteVocabularyResponse" "Amazonka.Connect.DeleteVocabulary" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "DeleteVocabularyResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "vocabularyArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "vocabularyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VocabularyState))))

newDeleteVocabularyResponse Source #

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

$sel:vocabularyArn:DeleteVocabularyResponse', deleteVocabularyResponse_vocabularyArn - The Amazon Resource Name (ARN) of the custom vocabulary.

DeleteVocabulary, deleteVocabularyResponse_vocabularyId - The identifier of the custom vocabulary.

DeleteVocabularyResponse, deleteVocabularyResponse_state - The current state of the custom vocabulary.

Response Lenses

deleteVocabularyResponse_vocabularyArn :: Lens' DeleteVocabularyResponse Text Source #

The Amazon Resource Name (ARN) of the custom vocabulary.