amazonka-apigateway-1.4.3: Amazon API Gateway SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.APIGateway.DeleteModel

Contents

Description

Deletes a model.

Synopsis

Creating a Request

deleteModel Source #

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

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

data DeleteModel Source #

Request to delete an existing model in an existing RestApi resource.

See: deleteModel smart constructor.

Instances

Eq DeleteModel Source # 
Data DeleteModel Source # 

Methods

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

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

toConstr :: DeleteModel -> Constr #

dataTypeOf :: DeleteModel -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteModel Source # 
Show DeleteModel Source # 
Generic DeleteModel Source # 

Associated Types

type Rep DeleteModel :: * -> * #

Hashable DeleteModel Source # 
NFData DeleteModel Source # 

Methods

rnf :: DeleteModel -> () #

AWSRequest DeleteModel Source # 
ToQuery DeleteModel Source # 
ToPath DeleteModel Source # 
ToHeaders DeleteModel Source # 

Methods

toHeaders :: DeleteModel -> [Header] #

type Rep DeleteModel Source # 
type Rep DeleteModel = D1 (MetaData "DeleteModel" "Network.AWS.APIGateway.DeleteModel" "amazonka-apigateway-1.4.3-GVOaWI3QK1e6b27bXNOifn" False) (C1 (MetaCons "DeleteModel'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_dModelName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteModel Source # 

Request Lenses

dRestAPIId :: Lens' DeleteModel Text Source #

The RestApi under which the model will be deleted.

dModelName :: Lens' DeleteModel Text Source #

The name of the model to delete.

Destructuring the Response

deleteModelResponse :: DeleteModelResponse Source #

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

data DeleteModelResponse Source #

See: deleteModelResponse smart constructor.

Instances

Eq DeleteModelResponse Source # 
Data DeleteModelResponse Source # 

Methods

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

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

toConstr :: DeleteModelResponse -> Constr #

dataTypeOf :: DeleteModelResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteModelResponse Source # 
Show DeleteModelResponse Source # 
Generic DeleteModelResponse Source # 
NFData DeleteModelResponse Source # 

Methods

rnf :: DeleteModelResponse -> () #

type Rep DeleteModelResponse Source # 
type Rep DeleteModelResponse = D1 (MetaData "DeleteModelResponse" "Network.AWS.APIGateway.DeleteModel" "amazonka-apigateway-1.4.3-GVOaWI3QK1e6b27bXNOifn" False) (C1 (MetaCons "DeleteModelResponse'" PrefixI False) U1)