| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Lightsail.UpdateDomainEntry
Description
Updates a domain recordset after it is created.
The update 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 UpdateDomainEntry = UpdateDomainEntry' {}
- newUpdateDomainEntry :: Text -> DomainEntry -> UpdateDomainEntry
- updateDomainEntry_domainName :: Lens' UpdateDomainEntry Text
- updateDomainEntry_domainEntry :: Lens' UpdateDomainEntry DomainEntry
- data UpdateDomainEntryResponse = UpdateDomainEntryResponse' {
- operations :: Maybe [Operation]
- httpStatus :: Int
- newUpdateDomainEntryResponse :: Int -> UpdateDomainEntryResponse
- updateDomainEntryResponse_operations :: Lens' UpdateDomainEntryResponse (Maybe [Operation])
- updateDomainEntryResponse_httpStatus :: Lens' UpdateDomainEntryResponse Int
Creating a Request
data UpdateDomainEntry Source #
See: newUpdateDomainEntry smart constructor.
Constructors
| UpdateDomainEntry' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DomainEntry | |
| -> UpdateDomainEntry |
Create a value of UpdateDomainEntry 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:
UpdateDomainEntry, updateDomainEntry_domainName - The name of the domain recordset to update.
$sel:domainEntry:UpdateDomainEntry', updateDomainEntry_domainEntry - An array of key-value pairs containing information about the domain
entry.
Request Lenses
updateDomainEntry_domainName :: Lens' UpdateDomainEntry Text Source #
The name of the domain recordset to update.
updateDomainEntry_domainEntry :: Lens' UpdateDomainEntry DomainEntry Source #
An array of key-value pairs containing information about the domain entry.
Destructuring the Response
data UpdateDomainEntryResponse Source #
See: newUpdateDomainEntryResponse smart constructor.
Constructors
| UpdateDomainEntryResponse' | |
Fields
| |
Instances
newUpdateDomainEntryResponse Source #
Create a value of UpdateDomainEntryResponse 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:operations:UpdateDomainEntryResponse', updateDomainEntryResponse_operations - 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:UpdateDomainEntryResponse', updateDomainEntryResponse_httpStatus - The response's http status code.
Response Lenses
updateDomainEntryResponse_operations :: Lens' UpdateDomainEntryResponse (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.
updateDomainEntryResponse_httpStatus :: Lens' UpdateDomainEntryResponse Int Source #
The response's http status code.