| 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.Amplify.GetDomainAssociation
Description
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.
Constructors
| GetDomainAssociation' | |
Fields
| |
Instances
newGetDomainAssociation Source #
Arguments
| :: 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:
GetDomainAssociation, getDomainAssociation_appId - The unique id for an Amplify app.
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.
Constructors
| GetDomainAssociationResponse' | |
Fields
| |
Instances
newGetDomainAssociationResponse Source #
Arguments
| :: Int | |
| -> DomainAssociation | |
| -> GetDomainAssociationResponse |
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.