| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.AppSync.UpdateGraphqlAPI
Description
Updates a GraphqlApi object.
- updateGraphqlAPI :: Text -> Text -> UpdateGraphqlAPI
- data UpdateGraphqlAPI
- ugaOpenIdConnectConfig :: Lens' UpdateGraphqlAPI (Maybe OpenIdConnectConfig)
- ugaUserPoolConfig :: Lens' UpdateGraphqlAPI (Maybe UserPoolConfig)
- ugaAuthenticationType :: Lens' UpdateGraphqlAPI (Maybe AuthenticationType)
- ugaLogConfig :: Lens' UpdateGraphqlAPI (Maybe LogConfig)
- ugaApiId :: Lens' UpdateGraphqlAPI Text
- ugaName :: Lens' UpdateGraphqlAPI Text
- updateGraphqlAPIResponse :: Int -> UpdateGraphqlAPIResponse
- data UpdateGraphqlAPIResponse
- ugarsGraphqlAPI :: Lens' UpdateGraphqlAPIResponse (Maybe GraphqlAPI)
- ugarsResponseStatus :: Lens' UpdateGraphqlAPIResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> UpdateGraphqlAPI |
Creates a value of UpdateGraphqlAPI with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ugaOpenIdConnectConfig- The Open Id Connect configuration configuration for theGraphqlApiobject.ugaUserPoolConfig- The new Amazon Cognito User Pool configuration for theGraphqlApiobject.ugaAuthenticationType- The new authentication type for theGraphqlApiobject.ugaLogConfig- The Amazon CloudWatch logs configuration for theGraphqlApiobject.ugaApiId- The API ID.ugaName- The new name for theGraphqlApiobject.
data UpdateGraphqlAPI Source #
See: updateGraphqlAPI smart constructor.
Instances
Request Lenses
ugaOpenIdConnectConfig :: Lens' UpdateGraphqlAPI (Maybe OpenIdConnectConfig) Source #
The Open Id Connect configuration configuration for the GraphqlApi object.
ugaUserPoolConfig :: Lens' UpdateGraphqlAPI (Maybe UserPoolConfig) Source #
The new Amazon Cognito User Pool configuration for the GraphqlApi object.
ugaAuthenticationType :: Lens' UpdateGraphqlAPI (Maybe AuthenticationType) Source #
The new authentication type for the GraphqlApi object.
ugaLogConfig :: Lens' UpdateGraphqlAPI (Maybe LogConfig) Source #
The Amazon CloudWatch logs configuration for the GraphqlApi object.
Destructuring the Response
updateGraphqlAPIResponse Source #
Arguments
| :: Int | |
| -> UpdateGraphqlAPIResponse |
Creates a value of UpdateGraphqlAPIResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ugarsGraphqlAPI- The updatedGraphqlApiobject.ugarsResponseStatus- -- | The response status code.
data UpdateGraphqlAPIResponse Source #
See: updateGraphqlAPIResponse smart constructor.
Response Lenses
ugarsGraphqlAPI :: Lens' UpdateGraphqlAPIResponse (Maybe GraphqlAPI) Source #
The updated GraphqlApi object.
ugarsResponseStatus :: Lens' UpdateGraphqlAPIResponse Int Source #
- - | The response status code.