amazonka-appsync-1.6.1: 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.GetType

Contents

Description

Retrieves a Type object.

Synopsis

Creating a Request

getType Source #

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

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

data GetType Source #

See: getType smart constructor.

Instances
Eq GetType Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Methods

(==) :: GetType -> GetType -> Bool #

(/=) :: GetType -> GetType -> Bool #

Data GetType Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Methods

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

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

toConstr :: GetType -> Constr #

dataTypeOf :: GetType -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetType Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Show GetType Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Generic GetType Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Associated Types

type Rep GetType :: Type -> Type #

Methods

from :: GetType -> Rep GetType x #

to :: Rep GetType x -> GetType #

Hashable GetType Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Methods

hashWithSalt :: Int -> GetType -> Int #

hash :: GetType -> Int #

AWSRequest GetType Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Associated Types

type Rs GetType :: Type #

ToHeaders GetType Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Methods

toHeaders :: GetType -> [Header] #

ToPath GetType Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Methods

toPath :: GetType -> ByteString #

ToQuery GetType Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

NFData GetType Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Methods

rnf :: GetType -> () #

type Rep GetType Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

type Rep GetType = D1 (MetaData "GetType" "Network.AWS.AppSync.GetType" "amazonka-appsync-1.6.1-4DHxIkxAhvS86OTagCP3cH" False) (C1 (MetaCons "GetType'" PrefixI True) (S1 (MetaSel (Just "_gtApiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_gtTypeName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_gtFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TypeDefinitionFormat))))
type Rs GetType Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Request Lenses

gtTypeName :: Lens' GetType Text Source #

The type name.

gtFormat :: Lens' GetType TypeDefinitionFormat Source #

The type format: SDL or JSON.

Destructuring the Response

getTypeResponse Source #

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

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

data GetTypeResponse Source #

See: getTypeResponse smart constructor.

Instances
Eq GetTypeResponse Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Data GetTypeResponse Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Methods

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

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

toConstr :: GetTypeResponse -> Constr #

dataTypeOf :: GetTypeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetTypeResponse Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Show GetTypeResponse Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Generic GetTypeResponse Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Associated Types

type Rep GetTypeResponse :: Type -> Type #

NFData GetTypeResponse Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

Methods

rnf :: GetTypeResponse -> () #

type Rep GetTypeResponse Source # 
Instance details

Defined in Network.AWS.AppSync.GetType

type Rep GetTypeResponse = D1 (MetaData "GetTypeResponse" "Network.AWS.AppSync.GetType" "amazonka-appsync-1.6.1-4DHxIkxAhvS86OTagCP3cH" False) (C1 (MetaCons "GetTypeResponse'" PrefixI True) (S1 (MetaSel (Just "_gtrsType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Type)) :*: S1 (MetaSel (Just "_gtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

gtrsResponseStatus :: Lens' GetTypeResponse Int Source #

  • - | The response status code.