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 |
Retrieves a GraphqlApi
object.
Synopsis
- data GetGraphqlApi = GetGraphqlApi' {}
- newGetGraphqlApi :: Text -> GetGraphqlApi
- getGraphqlApi_apiId :: Lens' GetGraphqlApi Text
- data GetGraphqlApiResponse = GetGraphqlApiResponse' {}
- newGetGraphqlApiResponse :: Int -> GetGraphqlApiResponse
- getGraphqlApiResponse_graphqlApi :: Lens' GetGraphqlApiResponse (Maybe GraphqlApi)
- getGraphqlApiResponse_httpStatus :: Lens' GetGraphqlApiResponse Int
Creating a Request
data GetGraphqlApi Source #
See: newGetGraphqlApi
smart constructor.
Instances
Create a value of GetGraphqlApi
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:GetGraphqlApi'
, getGraphqlApi_apiId
- The API ID for the GraphQL API.
Request Lenses
getGraphqlApi_apiId :: Lens' GetGraphqlApi Text Source #
The API ID for the GraphQL API.
Destructuring the Response
data GetGraphqlApiResponse Source #
See: newGetGraphqlApiResponse
smart constructor.
GetGraphqlApiResponse' | |
|
Instances
newGetGraphqlApiResponse Source #
Create a value of GetGraphqlApiResponse
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:graphqlApi:GetGraphqlApiResponse'
, getGraphqlApiResponse_graphqlApi
- The GraphqlApi
object.
$sel:httpStatus:GetGraphqlApiResponse'
, getGraphqlApiResponse_httpStatus
- The response's http status code.
Response Lenses
getGraphqlApiResponse_graphqlApi :: Lens' GetGraphqlApiResponse (Maybe GraphqlApi) Source #
The GraphqlApi
object.
getGraphqlApiResponse_httpStatus :: Lens' GetGraphqlApiResponse Int Source #
The response's http status code.