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 |
Amazonka.Amplify.DeleteDomainAssociation
Description
Deletes a domain association for an Amplify app.
Synopsis
- data DeleteDomainAssociation = DeleteDomainAssociation' {
- appId :: Text
- domainName :: Text
- newDeleteDomainAssociation :: Text -> Text -> DeleteDomainAssociation
- deleteDomainAssociation_appId :: Lens' DeleteDomainAssociation Text
- deleteDomainAssociation_domainName :: Lens' DeleteDomainAssociation Text
- data DeleteDomainAssociationResponse = DeleteDomainAssociationResponse' {}
- newDeleteDomainAssociationResponse :: Int -> DomainAssociation -> DeleteDomainAssociationResponse
- deleteDomainAssociationResponse_httpStatus :: Lens' DeleteDomainAssociationResponse Int
- deleteDomainAssociationResponse_domainAssociation :: Lens' DeleteDomainAssociationResponse DomainAssociation
Creating a Request
data DeleteDomainAssociation Source #
The request structure for the delete domain association request.
See: newDeleteDomainAssociation
smart constructor.
Constructors
DeleteDomainAssociation' | |
Fields
|
Instances
newDeleteDomainAssociation Source #
Arguments
:: Text | |
-> Text | |
-> DeleteDomainAssociation |
Create a value of DeleteDomainAssociation
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:DeleteDomainAssociation'
, deleteDomainAssociation_appId
- The unique id for an Amplify app.
$sel:domainName:DeleteDomainAssociation'
, deleteDomainAssociation_domainName
- The name of the domain.
Request Lenses
deleteDomainAssociation_appId :: Lens' DeleteDomainAssociation Text Source #
The unique id for an Amplify app.
deleteDomainAssociation_domainName :: Lens' DeleteDomainAssociation Text Source #
The name of the domain.
Destructuring the Response
data DeleteDomainAssociationResponse Source #
See: newDeleteDomainAssociationResponse
smart constructor.
Constructors
DeleteDomainAssociationResponse' | |
Fields
|
Instances
newDeleteDomainAssociationResponse Source #
Arguments
:: Int | |
-> DomainAssociation | |
-> DeleteDomainAssociationResponse |
Create a value of DeleteDomainAssociationResponse
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:DeleteDomainAssociationResponse'
, deleteDomainAssociationResponse_httpStatus
- The response's http status code.
$sel:domainAssociation:DeleteDomainAssociationResponse'
, deleteDomainAssociationResponse_domainAssociation
- Undocumented member.
Response Lenses
deleteDomainAssociationResponse_httpStatus :: Lens' DeleteDomainAssociationResponse Int Source #
The response's http status code.
deleteDomainAssociationResponse_domainAssociation :: Lens' DeleteDomainAssociationResponse DomainAssociation Source #
Undocumented member.