amazonka-sagemaker-2.0: Amazon SageMaker 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.SageMaker.DeleteEndpoint

Description

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.

Synopsis

Creating a Request

data DeleteEndpoint Source #

See: newDeleteEndpoint smart constructor.

Constructors

DeleteEndpoint' 

Fields

Instances

Instances details
ToJSON DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

ToHeaders DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

ToPath DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

ToQuery DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

AWSRequest DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

Associated Types

type AWSResponse DeleteEndpoint #

Generic DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

Associated Types

type Rep DeleteEndpoint :: Type -> Type #

Read DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

Show DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

NFData DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

Methods

rnf :: DeleteEndpoint -> () #

Eq DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

Hashable DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

type AWSResponse DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

type Rep DeleteEndpoint Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

type Rep DeleteEndpoint = D1 ('MetaData "DeleteEndpoint" "Amazonka.SageMaker.DeleteEndpoint" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "DeleteEndpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "endpointName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteEndpoint Source #

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

Instances details
Generic DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

Associated Types

type Rep DeleteEndpointResponse :: Type -> Type #

Read DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

Show DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

NFData DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

Methods

rnf :: DeleteEndpointResponse -> () #

Eq DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

type Rep DeleteEndpointResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteEndpoint

type Rep DeleteEndpointResponse = D1 ('MetaData "DeleteEndpointResponse" "Amazonka.SageMaker.DeleteEndpoint" "amazonka-sagemaker-2.0-9SyrKZ4KqhsL1qX9u3ILA3" 'False) (C1 ('MetaCons "DeleteEndpointResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteEndpointResponse :: DeleteEndpointResponse Source #

Create a value of DeleteEndpointResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.