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 |
Deletes a domain. You cannot delete a domain that contains repositories. If you want to delete a domain with repositories, first delete its repositories.
Synopsis
- data DeleteDomain = DeleteDomain' {
- domainOwner :: Maybe Text
- domain :: Text
- newDeleteDomain :: Text -> DeleteDomain
- deleteDomain_domainOwner :: Lens' DeleteDomain (Maybe Text)
- deleteDomain_domain :: Lens' DeleteDomain Text
- data DeleteDomainResponse = DeleteDomainResponse' {}
- newDeleteDomainResponse :: Int -> DeleteDomainResponse
- deleteDomainResponse_domain :: Lens' DeleteDomainResponse (Maybe DomainDescription)
- deleteDomainResponse_httpStatus :: Lens' DeleteDomainResponse Int
Creating a Request
data DeleteDomain Source #
See: newDeleteDomain
smart constructor.
DeleteDomain' | |
|
Instances
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:domainOwner:DeleteDomain'
, deleteDomain_domainOwner
- The 12-digit account number of the AWS account that owns the domain. It
does not include dashes or spaces.
$sel:domain:DeleteDomain'
, deleteDomain_domain
- The name of the domain to delete.
Request Lenses
deleteDomain_domainOwner :: Lens' DeleteDomain (Maybe Text) Source #
The 12-digit account number of the AWS account that owns the domain. It does not include dashes or spaces.
deleteDomain_domain :: Lens' DeleteDomain Text Source #
The name of the domain to delete.
Destructuring the Response
data DeleteDomainResponse Source #
See: newDeleteDomainResponse
smart constructor.
DeleteDomainResponse' | |
|
Instances
newDeleteDomainResponse Source #
Create a value of DeleteDomainResponse
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:domain:DeleteDomain'
, deleteDomainResponse_domain
- Contains information about the deleted domain after processing the
request.
$sel:httpStatus:DeleteDomainResponse'
, deleteDomainResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDomainResponse_domain :: Lens' DeleteDomainResponse (Maybe DomainDescription) Source #
Contains information about the deleted domain after processing the request.
deleteDomainResponse_httpStatus :: Lens' DeleteDomainResponse Int Source #
The response's http status code.