Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Deletes an entity recognizer.
Only those recognizers that are in terminated states (IN_ERROR, TRAINED)
will be deleted. If an active inference job is using the model, a
ResourceInUseException
will be returned.
This is an asynchronous action that puts the recognizer into a DELETING state, and it is then removed by a background job. Once removed, the recognizer disappears from your account and is no longer available for use.
Synopsis
- data DeleteEntityRecognizer = DeleteEntityRecognizer' {}
- newDeleteEntityRecognizer :: Text -> DeleteEntityRecognizer
- deleteEntityRecognizer_entityRecognizerArn :: Lens' DeleteEntityRecognizer Text
- data DeleteEntityRecognizerResponse = DeleteEntityRecognizerResponse' {
- httpStatus :: Int
- newDeleteEntityRecognizerResponse :: Int -> DeleteEntityRecognizerResponse
- deleteEntityRecognizerResponse_httpStatus :: Lens' DeleteEntityRecognizerResponse Int
Creating a Request
data DeleteEntityRecognizer Source #
See: newDeleteEntityRecognizer
smart constructor.
DeleteEntityRecognizer' | |
|
Instances
newDeleteEntityRecognizer Source #
Create a value of DeleteEntityRecognizer
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:entityRecognizerArn:DeleteEntityRecognizer'
, deleteEntityRecognizer_entityRecognizerArn
- The Amazon Resource Name (ARN) that identifies the entity recognizer.
Request Lenses
deleteEntityRecognizer_entityRecognizerArn :: Lens' DeleteEntityRecognizer Text Source #
The Amazon Resource Name (ARN) that identifies the entity recognizer.
Destructuring the Response
data DeleteEntityRecognizerResponse Source #
See: newDeleteEntityRecognizerResponse
smart constructor.
DeleteEntityRecognizerResponse' | |
|
Instances
Eq DeleteEntityRecognizerResponse Source # | |
Read DeleteEntityRecognizerResponse Source # | |
Show DeleteEntityRecognizerResponse Source # | |
Defined in Amazonka.Comprehend.DeleteEntityRecognizer | |
Generic DeleteEntityRecognizerResponse Source # | |
NFData DeleteEntityRecognizerResponse Source # | |
Defined in Amazonka.Comprehend.DeleteEntityRecognizer rnf :: DeleteEntityRecognizerResponse -> () # | |
type Rep DeleteEntityRecognizerResponse Source # | |
Defined in Amazonka.Comprehend.DeleteEntityRecognizer type Rep DeleteEntityRecognizerResponse = D1 ('MetaData "DeleteEntityRecognizerResponse" "Amazonka.Comprehend.DeleteEntityRecognizer" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "DeleteEntityRecognizerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDeleteEntityRecognizerResponse Source #
Create a value of DeleteEntityRecognizerResponse
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:DeleteEntityRecognizerResponse'
, deleteEntityRecognizerResponse_httpStatus
- The response's http status code.
Response Lenses
deleteEntityRecognizerResponse_httpStatus :: Lens' DeleteEntityRecognizerResponse Int Source #
The response's http status code.