amazonka-appsync-1.6.0: Amazon AppSync SDK.

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

Network.AWS.AppSync.CreateGraphqlAPI

Contents

Description

Creates a GraphqlApi object.

Synopsis

Creating a Request

createGraphqlAPI Source #

Creates a value of CreateGraphqlAPI with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateGraphqlAPI Source #

See: createGraphqlAPI smart constructor.

Instances

Eq CreateGraphqlAPI Source # 
Data CreateGraphqlAPI Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateGraphqlAPI -> c CreateGraphqlAPI #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateGraphqlAPI #

toConstr :: CreateGraphqlAPI -> Constr #

dataTypeOf :: CreateGraphqlAPI -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateGraphqlAPI) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateGraphqlAPI) #

gmapT :: (forall b. Data b => b -> b) -> CreateGraphqlAPI -> CreateGraphqlAPI #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateGraphqlAPI -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateGraphqlAPI -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateGraphqlAPI -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateGraphqlAPI -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateGraphqlAPI -> m CreateGraphqlAPI #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateGraphqlAPI -> m CreateGraphqlAPI #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateGraphqlAPI -> m CreateGraphqlAPI #

Read CreateGraphqlAPI Source # 
Show CreateGraphqlAPI Source # 
Generic CreateGraphqlAPI Source # 
Hashable CreateGraphqlAPI Source # 
ToJSON CreateGraphqlAPI Source # 
NFData CreateGraphqlAPI Source # 

Methods

rnf :: CreateGraphqlAPI -> () #

AWSRequest CreateGraphqlAPI Source # 
ToHeaders CreateGraphqlAPI Source # 
ToPath CreateGraphqlAPI Source # 
ToQuery CreateGraphqlAPI Source # 
type Rep CreateGraphqlAPI Source # 
type Rep CreateGraphqlAPI = D1 * (MetaData "CreateGraphqlAPI" "Network.AWS.AppSync.CreateGraphqlAPI" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "CreateGraphqlAPI'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cgaOpenIdConnectConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe OpenIdConnectConfig))) (S1 * (MetaSel (Just Symbol "_cgaUserPoolConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe UserPoolConfig)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cgaLogConfig") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe LogConfig))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cgaName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_cgaAuthenticationType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * AuthenticationType))))))
type Rs CreateGraphqlAPI Source # 

Request Lenses

cgaOpenIdConnectConfig :: Lens' CreateGraphqlAPI (Maybe OpenIdConnectConfig) Source #

The Open Id Connect configuration configuration.

cgaUserPoolConfig :: Lens' CreateGraphqlAPI (Maybe UserPoolConfig) Source #

The Amazon Cognito User Pool configuration.

cgaLogConfig :: Lens' CreateGraphqlAPI (Maybe LogConfig) Source #

The Amazon CloudWatch logs configuration.

cgaName :: Lens' CreateGraphqlAPI Text Source #

A user-supplied name for the GraphqlApi .

cgaAuthenticationType :: Lens' CreateGraphqlAPI AuthenticationType Source #

The authentication type: API key, IAM, or Amazon Cognito User Pools.

Destructuring the Response

createGraphqlAPIResponse Source #

Creates a value of CreateGraphqlAPIResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateGraphqlAPIResponse Source #

See: createGraphqlAPIResponse smart constructor.

Instances

Eq CreateGraphqlAPIResponse Source # 
Data CreateGraphqlAPIResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateGraphqlAPIResponse -> c CreateGraphqlAPIResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateGraphqlAPIResponse #

toConstr :: CreateGraphqlAPIResponse -> Constr #

dataTypeOf :: CreateGraphqlAPIResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c CreateGraphqlAPIResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateGraphqlAPIResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateGraphqlAPIResponse -> CreateGraphqlAPIResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateGraphqlAPIResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateGraphqlAPIResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateGraphqlAPIResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateGraphqlAPIResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateGraphqlAPIResponse -> m CreateGraphqlAPIResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateGraphqlAPIResponse -> m CreateGraphqlAPIResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateGraphqlAPIResponse -> m CreateGraphqlAPIResponse #

Read CreateGraphqlAPIResponse Source # 
Show CreateGraphqlAPIResponse Source # 
Generic CreateGraphqlAPIResponse Source # 
NFData CreateGraphqlAPIResponse Source # 
type Rep CreateGraphqlAPIResponse Source # 
type Rep CreateGraphqlAPIResponse = D1 * (MetaData "CreateGraphqlAPIResponse" "Network.AWS.AppSync.CreateGraphqlAPI" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "CreateGraphqlAPIResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_cgarsGraphqlAPI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe GraphqlAPI))) (S1 * (MetaSel (Just Symbol "_cgarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses