| 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.DisassociateApi
Description
Removes an ApiAssociation object from a custom domain.
Synopsis
- data DisassociateApi = DisassociateApi' {
- domainName :: Text
- newDisassociateApi :: Text -> DisassociateApi
- disassociateApi_domainName :: Lens' DisassociateApi Text
- data DisassociateApiResponse = DisassociateApiResponse' {
- httpStatus :: Int
- newDisassociateApiResponse :: Int -> DisassociateApiResponse
- disassociateApiResponse_httpStatus :: Lens' DisassociateApiResponse Int
Creating a Request
data DisassociateApi Source #
See: newDisassociateApi smart constructor.
Constructors
| DisassociateApi' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DisassociateApi |
Create a value of DisassociateApi 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:
DisassociateApi, disassociateApi_domainName - The domain name.
Request Lenses
disassociateApi_domainName :: Lens' DisassociateApi Text Source #
The domain name.
Destructuring the Response
data DisassociateApiResponse Source #
See: newDisassociateApiResponse smart constructor.
Constructors
| DisassociateApiResponse' | |
Fields
| |
Instances
newDisassociateApiResponse Source #
Create a value of DisassociateApiResponse 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:DisassociateApiResponse', disassociateApiResponse_httpStatus - The response's http status code.
Response Lenses
disassociateApiResponse_httpStatus :: Lens' DisassociateApiResponse Int Source #
The response's http status code.