| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Connect.DeleteVocabulary
Description
Deletes the vocabulary that has the given identifier.
Synopsis
- data DeleteVocabulary = DeleteVocabulary' {
- instanceId :: Text
- vocabularyId :: Text
- newDeleteVocabulary :: Text -> Text -> DeleteVocabulary
- deleteVocabulary_instanceId :: Lens' DeleteVocabulary Text
- deleteVocabulary_vocabularyId :: Lens' DeleteVocabulary Text
- data DeleteVocabularyResponse = DeleteVocabularyResponse' {}
- newDeleteVocabularyResponse :: Int -> Text -> Text -> VocabularyState -> DeleteVocabularyResponse
- deleteVocabularyResponse_httpStatus :: Lens' DeleteVocabularyResponse Int
- deleteVocabularyResponse_vocabularyArn :: Lens' DeleteVocabularyResponse Text
- deleteVocabularyResponse_vocabularyId :: Lens' DeleteVocabularyResponse Text
- deleteVocabularyResponse_state :: Lens' DeleteVocabularyResponse VocabularyState
Creating a Request
data DeleteVocabulary Source #
See: newDeleteVocabulary smart constructor.
Constructors
| DeleteVocabulary' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteVocabulary |
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
newDeleteVocabularyResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> Text | |
| -> VocabularyState | |
| -> DeleteVocabularyResponse |
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_httpStatus :: Lens' DeleteVocabularyResponse Int Source #
The response's http status code.
deleteVocabularyResponse_vocabularyArn :: Lens' DeleteVocabularyResponse Text Source #
The Amazon Resource Name (ARN) of the custom vocabulary.
deleteVocabularyResponse_vocabularyId :: Lens' DeleteVocabularyResponse Text Source #
The identifier of the custom vocabulary.
deleteVocabularyResponse_state :: Lens' DeleteVocabularyResponse VocabularyState Source #
The current state of the custom vocabulary.