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 |
Deletes an endpoint. SageMaker frees up all of the resources that were deployed when the endpoint was created.
SageMaker retires any custom KMS key grants associated with the endpoint, meaning you don't need to use the RevokeGrant API call.
When you delete your endpoint, SageMaker asynchronously deletes
associated endpoint resources such as KMS key grants. You might still
see these resources in your account for a few minutes after deleting
your endpoint. Do not delete or revoke the permissions for your
ExecutionRoleArn
,
otherwise SageMaker cannot delete these resources.
Creating a Request
data DeleteEndpoint Source #
See: newDeleteEndpoint
smart constructor.
DeleteEndpoint' | |
|
Instances
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_endpointName
- The name of the endpoint that you want to delete.
Request Lenses
deleteEndpoint_endpointName :: Lens' DeleteEndpoint Text Source #
The name of the endpoint that you want to delete.
Destructuring the Response
data DeleteEndpointResponse Source #
See: newDeleteEndpointResponse
smart constructor.
Instances
Generic DeleteEndpointResponse Source # | |
Defined in Amazonka.SageMaker.DeleteEndpoint type Rep DeleteEndpointResponse :: Type -> Type # | |
Read DeleteEndpointResponse Source # | |
Show DeleteEndpointResponse Source # | |
Defined in Amazonka.SageMaker.DeleteEndpoint showsPrec :: Int -> DeleteEndpointResponse -> ShowS # show :: DeleteEndpointResponse -> String # showList :: [DeleteEndpointResponse] -> ShowS # | |
NFData DeleteEndpointResponse Source # | |
Defined in Amazonka.SageMaker.DeleteEndpoint rnf :: DeleteEndpointResponse -> () # | |
Eq DeleteEndpointResponse Source # | |
Defined in Amazonka.SageMaker.DeleteEndpoint | |
type Rep DeleteEndpointResponse Source # | |
newDeleteEndpointResponse :: DeleteEndpointResponse Source #
Create a value of DeleteEndpointResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.