| 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.Comprehend.DeleteEndpoint
Description
Deletes a model-specific endpoint for a previously-trained custom model. All endpoints must be deleted in order for the model to be deleted. For information about endpoints, see Managing endpoints.
Synopsis
- data DeleteEndpoint = DeleteEndpoint' {
- endpointArn :: Text
- newDeleteEndpoint :: Text -> DeleteEndpoint
- deleteEndpoint_endpointArn :: Lens' DeleteEndpoint Text
- data DeleteEndpointResponse = DeleteEndpointResponse' {
- httpStatus :: Int
- newDeleteEndpointResponse :: Int -> DeleteEndpointResponse
- deleteEndpointResponse_httpStatus :: Lens' DeleteEndpointResponse Int
Creating a Request
data DeleteEndpoint Source #
See: newDeleteEndpoint smart constructor.
Constructors
| DeleteEndpoint' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteEndpoint |
Create a value of DeleteEndpoint 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:
DeleteEndpoint, deleteEndpoint_endpointArn - The Amazon Resource Number (ARN) of the endpoint being deleted.
Request Lenses
deleteEndpoint_endpointArn :: Lens' DeleteEndpoint Text Source #
The Amazon Resource Number (ARN) of the endpoint being deleted.
Destructuring the Response
data DeleteEndpointResponse Source #
See: newDeleteEndpointResponse smart constructor.
Constructors
| DeleteEndpointResponse' | |
Fields
| |
Instances
newDeleteEndpointResponse Source #
Create a value of DeleteEndpointResponse 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:DeleteEndpointResponse', deleteEndpointResponse_httpStatus - The response's http status code.
Response Lenses
deleteEndpointResponse_httpStatus :: Lens' DeleteEndpointResponse Int Source #
The response's http status code.