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

Contents

Description

Retrieves a DataSource object.

Synopsis

Creating a Request

getDataSource Source #

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

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

data GetDataSource Source #

See: getDataSource smart constructor.

Instances
Eq GetDataSource Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

Data GetDataSource Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

Methods

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

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

toConstr :: GetDataSource -> Constr #

dataTypeOf :: GetDataSource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDataSource Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

Show GetDataSource Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

Generic GetDataSource Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

Associated Types

type Rep GetDataSource :: Type -> Type #

Hashable GetDataSource Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

AWSRequest GetDataSource Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

Associated Types

type Rs GetDataSource :: Type #

ToHeaders GetDataSource Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

ToPath GetDataSource Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

ToQuery GetDataSource Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

NFData GetDataSource Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

Methods

rnf :: GetDataSource -> () #

type Rep GetDataSource Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

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

Defined in Network.AWS.AppSync.GetDataSource

Request Lenses

gdsName :: Lens' GetDataSource Text Source #

The name of the data source.

Destructuring the Response

getDataSourceResponse Source #

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

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

data GetDataSourceResponse Source #

See: getDataSourceResponse smart constructor.

Instances
Eq GetDataSourceResponse Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

Data GetDataSourceResponse Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

Methods

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

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

toConstr :: GetDataSourceResponse -> Constr #

dataTypeOf :: GetDataSourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetDataSourceResponse Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

Show GetDataSourceResponse Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

Generic GetDataSourceResponse Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

Associated Types

type Rep GetDataSourceResponse :: Type -> Type #

NFData GetDataSourceResponse Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

Methods

rnf :: GetDataSourceResponse -> () #

type Rep GetDataSourceResponse Source # 
Instance details

Defined in Network.AWS.AppSync.GetDataSource

type Rep GetDataSourceResponse = D1 (MetaData "GetDataSourceResponse" "Network.AWS.AppSync.GetDataSource" "amazonka-appsync-1.6.1-4DHxIkxAhvS86OTagCP3cH" False) (C1 (MetaCons "GetDataSourceResponse'" PrefixI True) (S1 (MetaSel (Just "_gdsrsDataSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe DataSource)) :*: S1 (MetaSel (Just "_gdsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

gdsrsResponseStatus :: Lens' GetDataSourceResponse Int Source #

  • - | The response status code.