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 |
Returns the domain information for an Amplify app.
Synopsis
- data GetDomainAssociation = GetDomainAssociation' {
- appId :: Text
- domainName :: Text
- newGetDomainAssociation :: Text -> Text -> GetDomainAssociation
- getDomainAssociation_appId :: Lens' GetDomainAssociation Text
- getDomainAssociation_domainName :: Lens' GetDomainAssociation Text
- data GetDomainAssociationResponse = GetDomainAssociationResponse' {}
- newGetDomainAssociationResponse :: Int -> DomainAssociation -> GetDomainAssociationResponse
- getDomainAssociationResponse_httpStatus :: Lens' GetDomainAssociationResponse Int
- getDomainAssociationResponse_domainAssociation :: Lens' GetDomainAssociationResponse DomainAssociation
Creating a Request
data GetDomainAssociation Source #
The request structure for the get domain association request.
See: newGetDomainAssociation
smart constructor.
GetDomainAssociation' | |
|
Instances
newGetDomainAssociation Source #
:: Text | |
-> Text | |
-> GetDomainAssociation |
Create a value of GetDomainAssociation
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:appId:GetDomainAssociation'
, getDomainAssociation_appId
- The unique id for an Amplify app.
$sel:domainName:GetDomainAssociation'
, getDomainAssociation_domainName
- The name of the domain.
Request Lenses
getDomainAssociation_appId :: Lens' GetDomainAssociation Text Source #
The unique id for an Amplify app.
getDomainAssociation_domainName :: Lens' GetDomainAssociation Text Source #
The name of the domain.
Destructuring the Response
data GetDomainAssociationResponse Source #
The result structure for the get domain association request.
See: newGetDomainAssociationResponse
smart constructor.
GetDomainAssociationResponse' | |
|
Instances
newGetDomainAssociationResponse Source #
Create a value of GetDomainAssociationResponse
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:httpStatus:GetDomainAssociationResponse'
, getDomainAssociationResponse_httpStatus
- The response's http status code.
$sel:domainAssociation:GetDomainAssociationResponse'
, getDomainAssociationResponse_domainAssociation
- Describes the structure of a domain association, which associates a
custom domain with an Amplify app.
Response Lenses
getDomainAssociationResponse_httpStatus :: Lens' GetDomainAssociationResponse Int Source #
The response's http status code.
getDomainAssociationResponse_domainAssociation :: Lens' GetDomainAssociationResponse DomainAssociation Source #
Describes the structure of a domain association, which associates a custom domain with an Amplify app.