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 |
Synopsis
- data GraphqlApi = GraphqlApi' {
- additionalAuthenticationProviders :: Maybe [AdditionalAuthenticationProvider]
- apiId :: Maybe Text
- arn :: Maybe Text
- authenticationType :: Maybe AuthenticationType
- lambdaAuthorizerConfig :: Maybe LambdaAuthorizerConfig
- logConfig :: Maybe LogConfig
- name :: Maybe Text
- openIDConnectConfig :: Maybe OpenIDConnectConfig
- tags :: Maybe (HashMap Text Text)
- uris :: Maybe (HashMap Text Text)
- userPoolConfig :: Maybe UserPoolConfig
- wafWebAclArn :: Maybe Text
- xrayEnabled :: Maybe Bool
- newGraphqlApi :: GraphqlApi
- graphqlApi_additionalAuthenticationProviders :: Lens' GraphqlApi (Maybe [AdditionalAuthenticationProvider])
- graphqlApi_apiId :: Lens' GraphqlApi (Maybe Text)
- graphqlApi_arn :: Lens' GraphqlApi (Maybe Text)
- graphqlApi_authenticationType :: Lens' GraphqlApi (Maybe AuthenticationType)
- graphqlApi_lambdaAuthorizerConfig :: Lens' GraphqlApi (Maybe LambdaAuthorizerConfig)
- graphqlApi_logConfig :: Lens' GraphqlApi (Maybe LogConfig)
- graphqlApi_name :: Lens' GraphqlApi (Maybe Text)
- graphqlApi_openIDConnectConfig :: Lens' GraphqlApi (Maybe OpenIDConnectConfig)
- graphqlApi_tags :: Lens' GraphqlApi (Maybe (HashMap Text Text))
- graphqlApi_uris :: Lens' GraphqlApi (Maybe (HashMap Text Text))
- graphqlApi_userPoolConfig :: Lens' GraphqlApi (Maybe UserPoolConfig)
- graphqlApi_wafWebAclArn :: Lens' GraphqlApi (Maybe Text)
- graphqlApi_xrayEnabled :: Lens' GraphqlApi (Maybe Bool)
Documentation
data GraphqlApi Source #
Describes a GraphQL API.
See: newGraphqlApi
smart constructor.
GraphqlApi' | |
|
Instances
newGraphqlApi :: GraphqlApi Source #
Create a value of GraphqlApi
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:additionalAuthenticationProviders:GraphqlApi'
, graphqlApi_additionalAuthenticationProviders
- A list of additional authentication providers for the GraphqlApi
API.
$sel:apiId:GraphqlApi'
, graphqlApi_apiId
- The API ID.
$sel:arn:GraphqlApi'
, graphqlApi_arn
- The Amazon Resource Name (ARN).
GraphqlApi
, graphqlApi_authenticationType
- The authentication type.
GraphqlApi
, graphqlApi_lambdaAuthorizerConfig
- Configuration for Lambda function authorization.
$sel:logConfig:GraphqlApi'
, graphqlApi_logConfig
- The Amazon CloudWatch Logs configuration.
$sel:name:GraphqlApi'
, graphqlApi_name
- The API name.
GraphqlApi
, graphqlApi_openIDConnectConfig
- The OpenID Connect configuration.
$sel:tags:GraphqlApi'
, graphqlApi_tags
- The tags.
$sel:uris:GraphqlApi'
, graphqlApi_uris
- The URIs.
GraphqlApi
, graphqlApi_userPoolConfig
- The Amazon Cognito user pool configuration.
$sel:wafWebAclArn:GraphqlApi'
, graphqlApi_wafWebAclArn
- The ARN of the WAF access control list (ACL) associated with this
GraphqlApi
, if one exists.
$sel:xrayEnabled:GraphqlApi'
, graphqlApi_xrayEnabled
- A flag indicating whether to use X-Ray tracing for this GraphqlApi
.
graphqlApi_additionalAuthenticationProviders :: Lens' GraphqlApi (Maybe [AdditionalAuthenticationProvider]) Source #
A list of additional authentication providers for the GraphqlApi
API.
graphqlApi_apiId :: Lens' GraphqlApi (Maybe Text) Source #
The API ID.
graphqlApi_arn :: Lens' GraphqlApi (Maybe Text) Source #
The Amazon Resource Name (ARN).
graphqlApi_authenticationType :: Lens' GraphqlApi (Maybe AuthenticationType) Source #
The authentication type.
graphqlApi_lambdaAuthorizerConfig :: Lens' GraphqlApi (Maybe LambdaAuthorizerConfig) Source #
Configuration for Lambda function authorization.
graphqlApi_logConfig :: Lens' GraphqlApi (Maybe LogConfig) Source #
The Amazon CloudWatch Logs configuration.
graphqlApi_name :: Lens' GraphqlApi (Maybe Text) Source #
The API name.
graphqlApi_openIDConnectConfig :: Lens' GraphqlApi (Maybe OpenIDConnectConfig) Source #
The OpenID Connect configuration.
graphqlApi_tags :: Lens' GraphqlApi (Maybe (HashMap Text Text)) Source #
The tags.
graphqlApi_uris :: Lens' GraphqlApi (Maybe (HashMap Text Text)) Source #
The URIs.
graphqlApi_userPoolConfig :: Lens' GraphqlApi (Maybe UserPoolConfig) Source #
The Amazon Cognito user pool configuration.
graphqlApi_wafWebAclArn :: Lens' GraphqlApi (Maybe Text) Source #
The ARN of the WAF access control list (ACL) associated with this
GraphqlApi
, if one exists.
graphqlApi_xrayEnabled :: Lens' GraphqlApi (Maybe Bool) Source #
A flag indicating whether to use X-Ray tracing for this GraphqlApi
.