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 |
Updates a GraphqlApi
object.
Synopsis
- 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
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 theGraphqlApi
object.ugaUserPoolConfig
- The new Amazon Cognito User Pool configuration for theGraphqlApi
object.ugaAuthenticationType
- The new authentication type for theGraphqlApi
object.ugaLogConfig
- The Amazon CloudWatch logs configuration for theGraphqlApi
object.ugaApiId
- The API ID.ugaName
- The new name for theGraphqlApi
object.
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 #
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 updatedGraphqlApi
object.ugarsResponseStatus
- -- | The response status code.
data UpdateGraphqlAPIResponse Source #
See: updateGraphqlAPIResponse
smart constructor.
Instances
Response Lenses
ugarsGraphqlAPI :: Lens' UpdateGraphqlAPIResponse (Maybe GraphqlAPI) Source #
The updated GraphqlApi
object.
ugarsResponseStatus :: Lens' UpdateGraphqlAPIResponse Int Source #
- - | The response status code.