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.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 # 
Data GetDataSource Source # 

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 # 
Show GetDataSource Source # 
Generic GetDataSource Source # 

Associated Types

type Rep GetDataSource :: * -> * #

Hashable GetDataSource Source # 
NFData GetDataSource Source # 

Methods

rnf :: GetDataSource -> () #

AWSRequest GetDataSource Source # 
ToHeaders GetDataSource Source # 
ToPath GetDataSource Source # 
ToQuery GetDataSource Source # 
type Rep GetDataSource Source # 
type Rep GetDataSource = D1 * (MetaData "GetDataSource" "Network.AWS.AppSync.GetDataSource" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "GetDataSource'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gdsApiId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_gdsName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs GetDataSource Source # 

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 # 
Data GetDataSourceResponse Source # 

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 # 
Show GetDataSourceResponse Source # 
Generic GetDataSourceResponse Source # 
NFData GetDataSourceResponse Source # 

Methods

rnf :: GetDataSourceResponse -> () #

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

Response Lenses

gdsrsResponseStatus :: Lens' GetDataSourceResponse Int Source #

  • - | The response status code.