libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.DeleteDomain

Description

Used to delete a domain. If you onboarded with IAM mode, you will need to delete your domain to onboard again using SSO. Use with caution. All of the members of the domain will lose access to their EFS volume, including data, notebooks, and other artifacts.

Synopsis

Creating a Request

data DeleteDomain Source #

See: newDeleteDomain smart constructor.

Constructors

DeleteDomain' 

Fields

  • retentionPolicy :: Maybe RetentionPolicy

    The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained (not automatically deleted).

  • domainId :: Text

    The domain ID.

Instances

Instances details
Eq DeleteDomain Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

Read DeleteDomain Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

Show DeleteDomain Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

Generic DeleteDomain Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

Associated Types

type Rep DeleteDomain :: Type -> Type #

NFData DeleteDomain Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

Methods

rnf :: DeleteDomain -> () #

Hashable DeleteDomain Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

ToJSON DeleteDomain Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

AWSRequest DeleteDomain Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

Associated Types

type AWSResponse DeleteDomain #

ToHeaders DeleteDomain Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

ToPath DeleteDomain Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

ToQuery DeleteDomain Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

type Rep DeleteDomain Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

type Rep DeleteDomain = D1 ('MetaData "DeleteDomain" "Amazonka.SageMaker.DeleteDomain" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "DeleteDomain'" 'PrefixI 'True) (S1 ('MetaSel ('Just "retentionPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionPolicy)) :*: S1 ('MetaSel ('Just "domainId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteDomain Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

newDeleteDomain Source #

Create a value of DeleteDomain 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:retentionPolicy:DeleteDomain', deleteDomain_retentionPolicy - The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained (not automatically deleted).

$sel:domainId:DeleteDomain', deleteDomain_domainId - The domain ID.

Request Lenses

deleteDomain_retentionPolicy :: Lens' DeleteDomain (Maybe RetentionPolicy) Source #

The retention policy for this domain, which specifies whether resources will be retained after the Domain is deleted. By default, all resources are retained (not automatically deleted).

Destructuring the Response

data DeleteDomainResponse Source #

See: newDeleteDomainResponse smart constructor.

Constructors

DeleteDomainResponse' 

Instances

Instances details
Eq DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

Read DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

Show DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

Generic DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

Associated Types

type Rep DeleteDomainResponse :: Type -> Type #

NFData DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

Methods

rnf :: DeleteDomainResponse -> () #

type Rep DeleteDomainResponse Source # 
Instance details

Defined in Amazonka.SageMaker.DeleteDomain

type Rep DeleteDomainResponse = D1 ('MetaData "DeleteDomainResponse" "Amazonka.SageMaker.DeleteDomain" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "DeleteDomainResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteDomainResponse :: DeleteDomainResponse Source #

Create a value of DeleteDomainResponse with all optional fields omitted.

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