libZSservicesZSamazonka-appsyncZSamazonka-appsync
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppSync.CreateGraphqlApi

Description

Creates a GraphqlApi object.

Synopsis

Creating a Request

data CreateGraphqlApi Source #

See: newCreateGraphqlApi smart constructor.

Constructors

CreateGraphqlApi' 

Fields

Instances

Instances details
Eq CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Read CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Show CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Generic CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Associated Types

type Rep CreateGraphqlApi :: Type -> Type #

NFData CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Methods

rnf :: CreateGraphqlApi -> () #

Hashable CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

ToJSON CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

AWSRequest CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Associated Types

type AWSResponse CreateGraphqlApi #

ToHeaders CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

ToPath CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

ToQuery CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

type Rep CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

type AWSResponse CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

newCreateGraphqlApi Source #

Create a value of CreateGraphqlApi 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:CreateGraphqlApi', createGraphqlApi_xrayEnabled - A flag indicating whether to enable X-Ray tracing for the GraphqlApi.

$sel:openIDConnectConfig:CreateGraphqlApi', createGraphqlApi_openIDConnectConfig - The OpenID Connect configuration.

$sel:additionalAuthenticationProviders:CreateGraphqlApi', createGraphqlApi_additionalAuthenticationProviders - A list of additional authentication providers for the GraphqlApi API.

$sel:lambdaAuthorizerConfig:CreateGraphqlApi', createGraphqlApi_lambdaAuthorizerConfig - Configuration for Amazon Web Services Lambda function authorization.

$sel:userPoolConfig:CreateGraphqlApi', createGraphqlApi_userPoolConfig - The Amazon Cognito user pool configuration.

$sel:logConfig:CreateGraphqlApi', createGraphqlApi_logConfig - The Amazon CloudWatch Logs configuration.

$sel:tags:CreateGraphqlApi', createGraphqlApi_tags - A TagMap object.

$sel:name:CreateGraphqlApi', createGraphqlApi_name - A user-supplied name for the GraphqlApi.

$sel:authenticationType:CreateGraphqlApi', createGraphqlApi_authenticationType - The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.

Request Lenses

createGraphqlApi_xrayEnabled :: Lens' CreateGraphqlApi (Maybe Bool) Source #

A flag indicating whether to enable X-Ray tracing for the GraphqlApi.

createGraphqlApi_additionalAuthenticationProviders :: Lens' CreateGraphqlApi (Maybe [AdditionalAuthenticationProvider]) Source #

A list of additional authentication providers for the GraphqlApi API.

createGraphqlApi_lambdaAuthorizerConfig :: Lens' CreateGraphqlApi (Maybe LambdaAuthorizerConfig) Source #

Configuration for Amazon Web Services Lambda function authorization.

createGraphqlApi_userPoolConfig :: Lens' CreateGraphqlApi (Maybe UserPoolConfig) Source #

The Amazon Cognito user pool configuration.

createGraphqlApi_logConfig :: Lens' CreateGraphqlApi (Maybe LogConfig) Source #

The Amazon CloudWatch Logs configuration.

createGraphqlApi_name :: Lens' CreateGraphqlApi Text Source #

A user-supplied name for the GraphqlApi.

createGraphqlApi_authenticationType :: Lens' CreateGraphqlApi AuthenticationType Source #

The authentication type: API key, Identity and Access Management, OIDC, Amazon Cognito user pools, or Amazon Web Services Lambda.

Destructuring the Response

data CreateGraphqlApiResponse Source #

See: newCreateGraphqlApiResponse smart constructor.

Constructors

CreateGraphqlApiResponse' 

Fields

Instances

Instances details
Eq CreateGraphqlApiResponse Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Read CreateGraphqlApiResponse Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Show CreateGraphqlApiResponse Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Generic CreateGraphqlApiResponse Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Associated Types

type Rep CreateGraphqlApiResponse :: Type -> Type #

NFData CreateGraphqlApiResponse Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

type Rep CreateGraphqlApiResponse Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

type Rep CreateGraphqlApiResponse = D1 ('MetaData "CreateGraphqlApiResponse" "Amazonka.AppSync.CreateGraphqlApi" "libZSservicesZSamazonka-appsyncZSamazonka-appsync" 'False) (C1 ('MetaCons "CreateGraphqlApiResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "graphqlApi") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GraphqlApi)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateGraphqlApiResponse Source #

Create a value of CreateGraphqlApiResponse 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:CreateGraphqlApiResponse', createGraphqlApiResponse_graphqlApi - The GraphqlApi.

$sel:httpStatus:CreateGraphqlApiResponse', createGraphqlApiResponse_httpStatus - The response's http status code.

Response Lenses