| 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.GetDomainName
Description
Retrieves a custom DomainName object.
Synopsis
- data GetDomainName = GetDomainName' {
- domainName :: Text
- newGetDomainName :: Text -> GetDomainName
- getDomainName_domainName :: Lens' GetDomainName Text
- data GetDomainNameResponse = GetDomainNameResponse' {}
- newGetDomainNameResponse :: Int -> GetDomainNameResponse
- getDomainNameResponse_domainNameConfig :: Lens' GetDomainNameResponse (Maybe DomainNameConfig)
- getDomainNameResponse_httpStatus :: Lens' GetDomainNameResponse Int
Creating a Request
data GetDomainName Source #
See: newGetDomainName smart constructor.
Constructors
| GetDomainName' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetDomainName |
Create a value of GetDomainName 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:
GetDomainName, getDomainName_domainName - The domain name.
Request Lenses
getDomainName_domainName :: Lens' GetDomainName Text Source #
The domain name.
Destructuring the Response
data GetDomainNameResponse Source #
See: newGetDomainNameResponse smart constructor.
Constructors
| GetDomainNameResponse' | |
Fields
| |
Instances
newGetDomainNameResponse Source #
Create a value of GetDomainNameResponse 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:GetDomainNameResponse', getDomainNameResponse_domainNameConfig - The configuration for the DomainName.
$sel:httpStatus:GetDomainNameResponse', getDomainNameResponse_httpStatus - The response's http status code.
Response Lenses
getDomainNameResponse_domainNameConfig :: Lens' GetDomainNameResponse (Maybe DomainNameConfig) Source #
The configuration for the DomainName.
getDomainNameResponse_httpStatus :: Lens' GetDomainNameResponse Int Source #
The response's http status code.