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 |
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
|
Instances
Arguments
:: Text | |
-> DeleteDomain |
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).
deleteDomain_domainId :: Lens' DeleteDomain Text Source #
The domain ID.
Destructuring the Response
data DeleteDomainResponse Source #
See: newDeleteDomainResponse
smart constructor.
Constructors
DeleteDomainResponse' | |
Instances
newDeleteDomainResponse :: DeleteDomainResponse Source #
Create a value of DeleteDomainResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.