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.CreateType

Contents

Description

Creates a Type object.

Synopsis

Creating a Request

createType Source #

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

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

data CreateType Source #

See: createType smart constructor.

Instances

Eq CreateType Source # 
Data CreateType Source # 

Methods

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

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

toConstr :: CreateType -> Constr #

dataTypeOf :: CreateType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateType Source # 
Show CreateType Source # 
Generic CreateType Source # 

Associated Types

type Rep CreateType :: * -> * #

Hashable CreateType Source # 
ToJSON CreateType Source # 
NFData CreateType Source # 

Methods

rnf :: CreateType -> () #

AWSRequest CreateType Source # 
ToHeaders CreateType Source # 

Methods

toHeaders :: CreateType -> [Header] #

ToPath CreateType Source # 
ToQuery CreateType Source # 
type Rep CreateType Source # 
type Rep CreateType = D1 * (MetaData "CreateType" "Network.AWS.AppSync.CreateType" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "CreateType'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ctApiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_ctDefinition") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_ctFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * TypeDefinitionFormat)))))
type Rs CreateType Source # 

Request Lenses

ctDefinition :: Lens' CreateType Text Source #

The type definition, in GraphQL Schema Definition Language (SDL) format. For more information, see the GraphQL SDL documentation .

ctFormat :: Lens' CreateType TypeDefinitionFormat Source #

The type format: SDL or JSON.

Destructuring the Response

createTypeResponse Source #

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

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

data CreateTypeResponse Source #

See: createTypeResponse smart constructor.

Instances

Eq CreateTypeResponse Source # 
Data CreateTypeResponse Source # 

Methods

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

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

toConstr :: CreateTypeResponse -> Constr #

dataTypeOf :: CreateTypeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateTypeResponse Source # 
Show CreateTypeResponse Source # 
Generic CreateTypeResponse Source # 
NFData CreateTypeResponse Source # 

Methods

rnf :: CreateTypeResponse -> () #

type Rep CreateTypeResponse Source # 
type Rep CreateTypeResponse = D1 * (MetaData "CreateTypeResponse" "Network.AWS.AppSync.CreateType" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "CreateTypeResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_ctrsType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Type))) (S1 * (MetaSel (Just Symbol "_ctrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

ctrsResponseStatus :: Lens' CreateTypeResponse Int Source #

  • - | The response status code.