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 |
Updates a GraphqlApi
object.
Synopsis
- data UpdateGraphqlApi = UpdateGraphqlApi' {
- additionalAuthenticationProviders :: Maybe [AdditionalAuthenticationProvider]
- authenticationType :: Maybe AuthenticationType
- lambdaAuthorizerConfig :: Maybe LambdaAuthorizerConfig
- logConfig :: Maybe LogConfig
- openIDConnectConfig :: Maybe OpenIDConnectConfig
- userPoolConfig :: Maybe UserPoolConfig
- xrayEnabled :: Maybe Bool
- apiId :: Text
- name :: Text
- newUpdateGraphqlApi :: Text -> Text -> UpdateGraphqlApi
- updateGraphqlApi_additionalAuthenticationProviders :: Lens' UpdateGraphqlApi (Maybe [AdditionalAuthenticationProvider])
- updateGraphqlApi_authenticationType :: Lens' UpdateGraphqlApi (Maybe AuthenticationType)
- updateGraphqlApi_lambdaAuthorizerConfig :: Lens' UpdateGraphqlApi (Maybe LambdaAuthorizerConfig)
- updateGraphqlApi_logConfig :: Lens' UpdateGraphqlApi (Maybe LogConfig)
- updateGraphqlApi_openIDConnectConfig :: Lens' UpdateGraphqlApi (Maybe OpenIDConnectConfig)
- updateGraphqlApi_userPoolConfig :: Lens' UpdateGraphqlApi (Maybe UserPoolConfig)
- updateGraphqlApi_xrayEnabled :: Lens' UpdateGraphqlApi (Maybe Bool)
- 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:
UpdateGraphqlApi
, updateGraphqlApi_additionalAuthenticationProviders
- A list of additional authentication providers for the GraphqlApi
API.
UpdateGraphqlApi
, updateGraphqlApi_authenticationType
- The new authentication type for the GraphqlApi
object.
UpdateGraphqlApi
, updateGraphqlApi_lambdaAuthorizerConfig
- Configuration for Lambda function authorization.
UpdateGraphqlApi
, updateGraphqlApi_logConfig
- The Amazon CloudWatch Logs configuration for the GraphqlApi
object.
UpdateGraphqlApi
, updateGraphqlApi_openIDConnectConfig
- The OpenID Connect configuration for the GraphqlApi
object.
UpdateGraphqlApi
, updateGraphqlApi_userPoolConfig
- The new Amazon Cognito user pool configuration for the ~GraphqlApi
object.
UpdateGraphqlApi
, updateGraphqlApi_xrayEnabled
- A flag indicating whether to use X-Ray tracing for the GraphqlApi
.
UpdateGraphqlApi
, updateGraphqlApi_apiId
- The API ID.
UpdateGraphqlApi
, updateGraphqlApi_name
- The new name for the GraphqlApi
object.
Request Lenses
updateGraphqlApi_additionalAuthenticationProviders :: Lens' UpdateGraphqlApi (Maybe [AdditionalAuthenticationProvider]) Source #
A list of additional authentication providers for the GraphqlApi
API.
updateGraphqlApi_authenticationType :: Lens' UpdateGraphqlApi (Maybe AuthenticationType) Source #
The new authentication type for the GraphqlApi
object.
updateGraphqlApi_lambdaAuthorizerConfig :: Lens' UpdateGraphqlApi (Maybe LambdaAuthorizerConfig) Source #
Configuration for Lambda function authorization.
updateGraphqlApi_logConfig :: Lens' UpdateGraphqlApi (Maybe LogConfig) Source #
The Amazon CloudWatch Logs configuration for the GraphqlApi
object.
updateGraphqlApi_openIDConnectConfig :: Lens' UpdateGraphqlApi (Maybe OpenIDConnectConfig) Source #
The OpenID Connect configuration for the GraphqlApi
object.
updateGraphqlApi_userPoolConfig :: Lens' UpdateGraphqlApi (Maybe UserPoolConfig) Source #
The new Amazon Cognito user pool configuration for the ~GraphqlApi
object.
updateGraphqlApi_xrayEnabled :: Lens' UpdateGraphqlApi (Maybe Bool) Source #
A flag indicating whether to use X-Ray tracing for the GraphqlApi
.
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.