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

Contents

Description

Updates a DataSource object.

Synopsis

Creating a Request

updateDataSource Source #

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

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

data UpdateDataSource Source #

See: updateDataSource smart constructor.

Instances

Eq UpdateDataSource Source # 
Data UpdateDataSource Source # 

Methods

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

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

toConstr :: UpdateDataSource -> Constr #

dataTypeOf :: UpdateDataSource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDataSource Source # 
Show UpdateDataSource Source # 
Generic UpdateDataSource Source # 
Hashable UpdateDataSource Source # 
ToJSON UpdateDataSource Source # 
NFData UpdateDataSource Source # 

Methods

rnf :: UpdateDataSource -> () #

AWSRequest UpdateDataSource Source # 
ToHeaders UpdateDataSource Source # 
ToPath UpdateDataSource Source # 
ToQuery UpdateDataSource Source # 
type Rep UpdateDataSource Source # 
type Rs UpdateDataSource Source # 

Request Lenses

udsServiceRoleARN :: Lens' UpdateDataSource (Maybe Text) Source #

The new service role ARN for the data source.

udsDescription :: Lens' UpdateDataSource (Maybe Text) Source #

The new description for the data source.

udsName :: Lens' UpdateDataSource Text Source #

The new name for the data source.

udsType :: Lens' UpdateDataSource DataSourceType Source #

The new data source type.

Destructuring the Response

updateDataSourceResponse Source #

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

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

data UpdateDataSourceResponse Source #

See: updateDataSourceResponse smart constructor.

Instances

Eq UpdateDataSourceResponse Source # 
Data UpdateDataSourceResponse Source # 

Methods

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

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

toConstr :: UpdateDataSourceResponse -> Constr #

dataTypeOf :: UpdateDataSourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateDataSourceResponse Source # 
Show UpdateDataSourceResponse Source # 
Generic UpdateDataSourceResponse Source # 
NFData UpdateDataSourceResponse Source # 
type Rep UpdateDataSourceResponse Source # 
type Rep UpdateDataSourceResponse = D1 * (MetaData "UpdateDataSourceResponse" "Network.AWS.AppSync.UpdateDataSource" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" False) (C1 * (MetaCons "UpdateDataSourceResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_udsrsDataSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe DataSource))) (S1 * (MetaSel (Just Symbol "_udsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses