| 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.AppSync.UpdateDomainName
Description
Updates a custom DomainName object.
Synopsis
- data UpdateDomainName = UpdateDomainName' {
- description :: Maybe Text
- domainName :: Text
- newUpdateDomainName :: Text -> UpdateDomainName
- updateDomainName_description :: Lens' UpdateDomainName (Maybe Text)
- updateDomainName_domainName :: Lens' UpdateDomainName Text
- data UpdateDomainNameResponse = UpdateDomainNameResponse' {}
- newUpdateDomainNameResponse :: Int -> UpdateDomainNameResponse
- updateDomainNameResponse_domainNameConfig :: Lens' UpdateDomainNameResponse (Maybe DomainNameConfig)
- updateDomainNameResponse_httpStatus :: Lens' UpdateDomainNameResponse Int
Creating a Request
data UpdateDomainName Source #
See: newUpdateDomainName smart constructor.
Constructors
| UpdateDomainName' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateDomainName |
Create a value of UpdateDomainName 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:
UpdateDomainName, updateDomainName_description - A description of the DomainName.
UpdateDomainName, updateDomainName_domainName - The domain name.
Request Lenses
updateDomainName_description :: Lens' UpdateDomainName (Maybe Text) Source #
A description of the DomainName.
updateDomainName_domainName :: Lens' UpdateDomainName Text Source #
The domain name.
Destructuring the Response
data UpdateDomainNameResponse Source #
See: newUpdateDomainNameResponse smart constructor.
Constructors
| UpdateDomainNameResponse' | |
Fields
| |
Instances
newUpdateDomainNameResponse Source #
Create a value of UpdateDomainNameResponse 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:domainNameConfig:UpdateDomainNameResponse', updateDomainNameResponse_domainNameConfig - The configuration for the DomainName.
$sel:httpStatus:UpdateDomainNameResponse', updateDomainNameResponse_httpStatus - The response's http status code.
Response Lenses
updateDomainNameResponse_domainNameConfig :: Lens' UpdateDomainNameResponse (Maybe DomainNameConfig) Source #
The configuration for the DomainName.
updateDomainNameResponse_httpStatus :: Lens' UpdateDomainNameResponse Int Source #
The response's http status code.