| 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.DeleteGraphqlApi
Description
Deletes a GraphqlApi object.
Synopsis
- data DeleteGraphqlApi = DeleteGraphqlApi' {}
- newDeleteGraphqlApi :: Text -> DeleteGraphqlApi
- deleteGraphqlApi_apiId :: Lens' DeleteGraphqlApi Text
- data DeleteGraphqlApiResponse = DeleteGraphqlApiResponse' {
- httpStatus :: Int
- newDeleteGraphqlApiResponse :: Int -> DeleteGraphqlApiResponse
- deleteGraphqlApiResponse_httpStatus :: Lens' DeleteGraphqlApiResponse Int
Creating a Request
data DeleteGraphqlApi Source #
See: newDeleteGraphqlApi smart constructor.
Constructors
| DeleteGraphqlApi' | |
Instances
Arguments
| :: Text | |
| -> DeleteGraphqlApi |
Create a value of DeleteGraphqlApi 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:
DeleteGraphqlApi, deleteGraphqlApi_apiId - The API ID.
Request Lenses
deleteGraphqlApi_apiId :: Lens' DeleteGraphqlApi Text Source #
The API ID.
Destructuring the Response
data DeleteGraphqlApiResponse Source #
See: newDeleteGraphqlApiResponse smart constructor.
Constructors
| DeleteGraphqlApiResponse' | |
Fields
| |
Instances
newDeleteGraphqlApiResponse Source #
Create a value of DeleteGraphqlApiResponse 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:DeleteGraphqlApiResponse', deleteGraphqlApiResponse_httpStatus - The response's http status code.
Response Lenses
deleteGraphqlApiResponse_httpStatus :: Lens' DeleteGraphqlApiResponse Int Source #
The response's http status code.