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

Contents

Description

Deletes a DataSource object.

Synopsis

Creating a Request

deleteDataSource Source #

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

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

data DeleteDataSource Source #

See: deleteDataSource smart constructor.

Instances

Eq DeleteDataSource Source # 
Data DeleteDataSource Source # 

Methods

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

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

toConstr :: DeleteDataSource -> Constr #

dataTypeOf :: DeleteDataSource -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteDataSource Source # 
Show DeleteDataSource Source # 
Generic DeleteDataSource Source # 
Hashable DeleteDataSource Source # 
NFData DeleteDataSource Source # 

Methods

rnf :: DeleteDataSource -> () #

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

Request Lenses

ddsName :: Lens' DeleteDataSource Text Source #

The name of the data source.

Destructuring the Response

deleteDataSourceResponse Source #

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

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

data DeleteDataSourceResponse Source #

See: deleteDataSourceResponse smart constructor.

Instances

Eq DeleteDataSourceResponse Source # 
Data DeleteDataSourceResponse Source # 

Methods

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

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

toConstr :: DeleteDataSourceResponse -> Constr #

dataTypeOf :: DeleteDataSourceResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteDataSourceResponse Source # 
Show DeleteDataSourceResponse Source # 
Generic DeleteDataSourceResponse Source # 
NFData DeleteDataSourceResponse Source # 
type Rep DeleteDataSourceResponse Source # 
type Rep DeleteDataSourceResponse = D1 * (MetaData "DeleteDataSourceResponse" "Network.AWS.AppSync.DeleteDataSource" "amazonka-appsync-1.6.0-T90u3sf1xIAHhsH8NXxyF" True) (C1 * (MetaCons "DeleteDataSourceResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_ddsrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses