amazonka-appsync-2.0: Amazon AppSync SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
ToJSON CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.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

AWSRequest CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Associated Types

type AWSResponse CreateGraphqlApi #

Generic CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Associated Types

type Rep CreateGraphqlApi :: Type -> Type #

Read CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Show CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

NFData CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Methods

rnf :: CreateGraphqlApi -> () #

Eq CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Hashable CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

type AWSResponse CreateGraphqlApi Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

type Rep 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:

CreateGraphqlApi, createGraphqlApi_additionalAuthenticationProviders - A list of additional authentication providers for the GraphqlApi API.

CreateGraphqlApi, createGraphqlApi_lambdaAuthorizerConfig - Configuration for Lambda function authorization.

CreateGraphqlApi, createGraphqlApi_logConfig - The Amazon CloudWatch Logs configuration.

CreateGraphqlApi, createGraphqlApi_openIDConnectConfig - The OIDC configuration.

CreateGraphqlApi, createGraphqlApi_tags - A TagMap object.

CreateGraphqlApi, createGraphqlApi_userPoolConfig - The Amazon Cognito user pool configuration.

CreateGraphqlApi, createGraphqlApi_xrayEnabled - A flag indicating whether to use X-Ray tracing for the GraphqlApi.

CreateGraphqlApi, createGraphqlApi_name - A user-supplied name for the GraphqlApi.

CreateGraphqlApi, createGraphqlApi_authenticationType - The authentication type: API key, Identity and Access Management (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.

Request Lenses

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

A list of additional authentication providers for the GraphqlApi API.

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

The Amazon CloudWatch Logs configuration.

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

The Amazon Cognito user pool configuration.

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

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

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 (IAM), OpenID Connect (OIDC), Amazon Cognito user pools, or Lambda.

Destructuring the Response

data CreateGraphqlApiResponse Source #

See: newCreateGraphqlApiResponse smart constructor.

Constructors

CreateGraphqlApiResponse' 

Fields

Instances

Instances details
Generic CreateGraphqlApiResponse Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Associated Types

type Rep CreateGraphqlApiResponse :: Type -> Type #

Read CreateGraphqlApiResponse Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Show CreateGraphqlApiResponse Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

NFData CreateGraphqlApiResponse Source # 
Instance details

Defined in Amazonka.AppSync.CreateGraphqlApi

Eq 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" "amazonka-appsync-2.0-4Pb6UqteLv1I9NIWaj90bg" '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