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 specific domain entry.
The delete domain entry
operation supports tag-based access control
via resource tags applied to the resource identified by domain name
.
For more information, see the
Amazon Lightsail Developer Guide.
Synopsis
- data DeleteDomainEntry = DeleteDomainEntry' {}
- newDeleteDomainEntry :: Text -> DomainEntry -> DeleteDomainEntry
- deleteDomainEntry_domainName :: Lens' DeleteDomainEntry Text
- deleteDomainEntry_domainEntry :: Lens' DeleteDomainEntry DomainEntry
- data DeleteDomainEntryResponse = DeleteDomainEntryResponse' {
- operation :: Maybe Operation
- httpStatus :: Int
- newDeleteDomainEntryResponse :: Int -> DeleteDomainEntryResponse
- deleteDomainEntryResponse_operation :: Lens' DeleteDomainEntryResponse (Maybe Operation)
- deleteDomainEntryResponse_httpStatus :: Lens' DeleteDomainEntryResponse Int
Creating a Request
data DeleteDomainEntry Source #
See: newDeleteDomainEntry
smart constructor.
DeleteDomainEntry' | |
|
Instances
:: Text | |
-> DomainEntry | |
-> DeleteDomainEntry |
Create a value of DeleteDomainEntry
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:domainName:DeleteDomainEntry'
, deleteDomainEntry_domainName
- The name of the domain entry to delete.
$sel:domainEntry:DeleteDomainEntry'
, deleteDomainEntry_domainEntry
- An array of key-value pairs containing information about your domain
entries.
Request Lenses
deleteDomainEntry_domainName :: Lens' DeleteDomainEntry Text Source #
The name of the domain entry to delete.
deleteDomainEntry_domainEntry :: Lens' DeleteDomainEntry DomainEntry Source #
An array of key-value pairs containing information about your domain entries.
Destructuring the Response
data DeleteDomainEntryResponse Source #
See: newDeleteDomainEntryResponse
smart constructor.
DeleteDomainEntryResponse' | |
|
Instances
newDeleteDomainEntryResponse Source #
Create a value of DeleteDomainEntryResponse
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:operation:DeleteDomainEntryResponse'
, deleteDomainEntryResponse_operation
- An array of objects that describe the result of the action, such as the
status of the request, the timestamp of the request, and the resources
affected by the request.
$sel:httpStatus:DeleteDomainEntryResponse'
, deleteDomainEntryResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDomainEntryResponse_operation :: Lens' DeleteDomainEntryResponse (Maybe Operation) Source #
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
deleteDomainEntryResponse_httpStatus :: Lens' DeleteDomainEntryResponse Int Source #
The response's http status code.