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 |
Updates a GraphqlApi
object.
Synopsis
- data UpdateGraphqlApi = UpdateGraphqlApi' {
- xrayEnabled :: Maybe Bool
- openIDConnectConfig :: Maybe OpenIDConnectConfig
- additionalAuthenticationProviders :: Maybe [AdditionalAuthenticationProvider]
- lambdaAuthorizerConfig :: Maybe LambdaAuthorizerConfig
- userPoolConfig :: Maybe UserPoolConfig
- authenticationType :: Maybe AuthenticationType
- logConfig :: Maybe LogConfig
- apiId :: Text
- name :: Text
- newUpdateGraphqlApi :: Text -> Text -> UpdateGraphqlApi
- updateGraphqlApi_xrayEnabled :: Lens' UpdateGraphqlApi (Maybe Bool)
- updateGraphqlApi_openIDConnectConfig :: Lens' UpdateGraphqlApi (Maybe OpenIDConnectConfig)
- updateGraphqlApi_additionalAuthenticationProviders :: Lens' UpdateGraphqlApi (Maybe [AdditionalAuthenticationProvider])
- updateGraphqlApi_lambdaAuthorizerConfig :: Lens' UpdateGraphqlApi (Maybe LambdaAuthorizerConfig)
- updateGraphqlApi_userPoolConfig :: Lens' UpdateGraphqlApi (Maybe UserPoolConfig)
- updateGraphqlApi_authenticationType :: Lens' UpdateGraphqlApi (Maybe AuthenticationType)
- updateGraphqlApi_logConfig :: Lens' UpdateGraphqlApi (Maybe LogConfig)
- updateGraphqlApi_apiId :: Lens' UpdateGraphqlApi Text
- updateGraphqlApi_name :: Lens' UpdateGraphqlApi Text
- data UpdateGraphqlApiResponse = UpdateGraphqlApiResponse' {}
- newUpdateGraphqlApiResponse :: Int -> UpdateGraphqlApiResponse
- updateGraphqlApiResponse_graphqlApi :: Lens' UpdateGraphqlApiResponse (Maybe GraphqlApi)
- updateGraphqlApiResponse_httpStatus :: Lens' UpdateGraphqlApiResponse Int
Creating a Request
data UpdateGraphqlApi Source #
See: newUpdateGraphqlApi
smart constructor.
UpdateGraphqlApi' | |
|
Instances
Create a value of UpdateGraphqlApi
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:xrayEnabled:UpdateGraphqlApi'
, updateGraphqlApi_xrayEnabled
- A flag indicating whether to enable X-Ray tracing for the GraphqlApi
.
$sel:openIDConnectConfig:UpdateGraphqlApi'
, updateGraphqlApi_openIDConnectConfig
- The OpenID Connect configuration for the GraphqlApi
object.
$sel:additionalAuthenticationProviders:UpdateGraphqlApi'
, updateGraphqlApi_additionalAuthenticationProviders
- A list of additional authentication providers for the GraphqlApi
API.
$sel:lambdaAuthorizerConfig:UpdateGraphqlApi'
, updateGraphqlApi_lambdaAuthorizerConfig
- Configuration for Amazon Web Services Lambda function authorization.
$sel:userPoolConfig:UpdateGraphqlApi'
, updateGraphqlApi_userPoolConfig
- The new Amazon Cognito user pool configuration for the GraphqlApi
object.
$sel:authenticationType:UpdateGraphqlApi'
, updateGraphqlApi_authenticationType
- The new authentication type for the GraphqlApi
object.
$sel:logConfig:UpdateGraphqlApi'
, updateGraphqlApi_logConfig
- The Amazon CloudWatch Logs configuration for the GraphqlApi
object.
$sel:apiId:UpdateGraphqlApi'
, updateGraphqlApi_apiId
- The API ID.
$sel:name:UpdateGraphqlApi'
, updateGraphqlApi_name
- The new name for the GraphqlApi
object.
Request Lenses
updateGraphqlApi_xrayEnabled :: Lens' UpdateGraphqlApi (Maybe Bool) Source #
A flag indicating whether to enable X-Ray tracing for the GraphqlApi
.
updateGraphqlApi_openIDConnectConfig :: Lens' UpdateGraphqlApi (Maybe OpenIDConnectConfig) Source #
The OpenID Connect configuration for the GraphqlApi
object.
updateGraphqlApi_additionalAuthenticationProviders :: Lens' UpdateGraphqlApi (Maybe [AdditionalAuthenticationProvider]) Source #
A list of additional authentication providers for the GraphqlApi
API.
updateGraphqlApi_lambdaAuthorizerConfig :: Lens' UpdateGraphqlApi (Maybe LambdaAuthorizerConfig) Source #
Configuration for Amazon Web Services Lambda function authorization.
updateGraphqlApi_userPoolConfig :: Lens' UpdateGraphqlApi (Maybe UserPoolConfig) Source #
The new Amazon Cognito user pool configuration for the GraphqlApi
object.
updateGraphqlApi_authenticationType :: Lens' UpdateGraphqlApi (Maybe AuthenticationType) Source #
The new authentication type for the GraphqlApi
object.
updateGraphqlApi_logConfig :: Lens' UpdateGraphqlApi (Maybe LogConfig) Source #
The Amazon CloudWatch Logs configuration for the GraphqlApi
object.
updateGraphqlApi_apiId :: Lens' UpdateGraphqlApi Text Source #
The API ID.
updateGraphqlApi_name :: Lens' UpdateGraphqlApi Text Source #
The new name for the GraphqlApi
object.
Destructuring the Response
data UpdateGraphqlApiResponse Source #
See: newUpdateGraphqlApiResponse
smart constructor.
UpdateGraphqlApiResponse' | |
|
Instances
newUpdateGraphqlApiResponse Source #
Create a value of UpdateGraphqlApiResponse
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:UpdateGraphqlApiResponse'
, updateGraphqlApiResponse_graphqlApi
- The updated GraphqlApi
object.
$sel:httpStatus:UpdateGraphqlApiResponse'
, updateGraphqlApiResponse_httpStatus
- The response's http status code.
Response Lenses
updateGraphqlApiResponse_graphqlApi :: Lens' UpdateGraphqlApiResponse (Maybe GraphqlApi) Source #
The updated GraphqlApi
object.
updateGraphqlApiResponse_httpStatus :: Lens' UpdateGraphqlApiResponse Int Source #
The response's http status code.