| 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.GetGraphqlApi
Description
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.
Constructors
| GetGraphqlApi' | |
Instances
Arguments
| :: Text | |
| -> GetGraphqlApi |
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:
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.
Constructors
| GetGraphqlApiResponse' | |
Fields
| |
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.