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

Contents

Description

Lists the types for a given API.

Synopsis

Creating a Request

listTypes Source #

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

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

  • ltNextToken - An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.
  • ltMaxResults - The maximum number of results you want the request to return.
  • ltApiId - The API ID.
  • ltFormat - The type format: SDL or JSON.

data ListTypes Source #

See: listTypes smart constructor.

Instances
Eq ListTypes Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

Data ListTypes Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

Methods

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

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

toConstr :: ListTypes -> Constr #

dataTypeOf :: ListTypes -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTypes Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

Show ListTypes Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

Generic ListTypes Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

Associated Types

type Rep ListTypes :: Type -> Type #

Hashable ListTypes Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

AWSRequest ListTypes Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

Associated Types

type Rs ListTypes :: Type #

ToHeaders ListTypes Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

Methods

toHeaders :: ListTypes -> [Header] #

ToPath ListTypes Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

ToQuery ListTypes Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

NFData ListTypes Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

Methods

rnf :: ListTypes -> () #

type Rep ListTypes Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

type Rep ListTypes = D1 (MetaData "ListTypes" "Network.AWS.AppSync.ListTypes" "amazonka-appsync-1.6.1-4DHxIkxAhvS86OTagCP3cH" False) (C1 (MetaCons "ListTypes'" PrefixI True) ((S1 (MetaSel (Just "_ltNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) :*: (S1 (MetaSel (Just "_ltApiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_ltFormat") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TypeDefinitionFormat))))
type Rs ListTypes Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

Request Lenses

ltNextToken :: Lens' ListTypes (Maybe Text) Source #

An identifier that was returned from the previous call to this operation, which can be used to return the next set of items in the list.

ltMaxResults :: Lens' ListTypes (Maybe Natural) Source #

The maximum number of results you want the request to return.

ltFormat :: Lens' ListTypes TypeDefinitionFormat Source #

The type format: SDL or JSON.

Destructuring the Response

listTypesResponse Source #

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

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

  • ltrsTypes - The Type objects.
  • ltrsNextToken - An identifier to be passed in the next request to this operation to return the next set of items in the list.
  • ltrsResponseStatus - -- | The response status code.

data ListTypesResponse Source #

See: listTypesResponse smart constructor.

Instances
Eq ListTypesResponse Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

Data ListTypesResponse Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

Methods

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

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

toConstr :: ListTypesResponse -> Constr #

dataTypeOf :: ListTypesResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ListTypesResponse Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

Show ListTypesResponse Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

Generic ListTypesResponse Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

Associated Types

type Rep ListTypesResponse :: Type -> Type #

NFData ListTypesResponse Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

Methods

rnf :: ListTypesResponse -> () #

type Rep ListTypesResponse Source # 
Instance details

Defined in Network.AWS.AppSync.ListTypes

type Rep ListTypesResponse = D1 (MetaData "ListTypesResponse" "Network.AWS.AppSync.ListTypes" "amazonka-appsync-1.6.1-4DHxIkxAhvS86OTagCP3cH" False) (C1 (MetaCons "ListTypesResponse'" PrefixI True) (S1 (MetaSel (Just "_ltrsTypes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Type])) :*: (S1 (MetaSel (Just "_ltrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ltrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

ltrsNextToken :: Lens' ListTypesResponse (Maybe Text) Source #

An identifier to be passed in the next request to this operation to return the next set of items in the list.

ltrsResponseStatus :: Lens' ListTypesResponse Int Source #

  • - | The response status code.