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 |
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.
DeleteDomainAssociation' | |
|
Instances
newDeleteDomainAssociation Source #
:: 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.
DeleteDomainAssociationResponse' | |
|
Instances
Eq DeleteDomainAssociationResponse Source # | |
Read DeleteDomainAssociationResponse Source # | |
Show DeleteDomainAssociationResponse Source # | |
Defined in Amazonka.Amplify.DeleteDomainAssociation | |
Generic DeleteDomainAssociationResponse Source # | |
NFData DeleteDomainAssociationResponse Source # | |
Defined in Amazonka.Amplify.DeleteDomainAssociation rnf :: DeleteDomainAssociationResponse -> () # | |
type Rep DeleteDomainAssociationResponse Source # | |
Defined in Amazonka.Amplify.DeleteDomainAssociation type Rep DeleteDomainAssociationResponse = D1 ('MetaData "DeleteDomainAssociationResponse" "Amazonka.Amplify.DeleteDomainAssociation" "libZSservicesZSamazonka-amplifyZSamazonka-amplify" 'False) (C1 ('MetaCons "DeleteDomainAssociationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "domainAssociation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DomainAssociation))) |
newDeleteDomainAssociationResponse Source #
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.