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 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.
Instances
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:
$sel:apiId: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.
DeleteGraphqlApiResponse' | |
|
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.