amazonka-apigateway-1.6.1: Amazon API Gateway 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.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:

  • dRestAPIId - [Required] The string identifier of the associated RestApi .
  • dModelName - [Required] The name of the model to delete.

data DeleteModel Source #

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

See: deleteModel smart constructor.

Instances
Eq DeleteModel Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

Data DeleteModel Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

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 # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

Show DeleteModel Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

Generic DeleteModel Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

Associated Types

type Rep DeleteModel :: Type -> Type #

Hashable DeleteModel Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

AWSRequest DeleteModel Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

Associated Types

type Rs DeleteModel :: Type #

ToHeaders DeleteModel Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

Methods

toHeaders :: DeleteModel -> [Header] #

ToPath DeleteModel Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

ToQuery DeleteModel Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

NFData DeleteModel Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

Methods

rnf :: DeleteModel -> () #

type Rep DeleteModel Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

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

Defined in Network.AWS.APIGateway.DeleteModel

Request Lenses

dRestAPIId :: Lens' DeleteModel Text Source #

Required
The string identifier of the associated RestApi .

dModelName :: Lens' DeleteModel Text Source #

Required
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 # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

Data DeleteModelResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

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 # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

Show DeleteModelResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

Generic DeleteModelResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

Associated Types

type Rep DeleteModelResponse :: Type -> Type #

NFData DeleteModelResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

Methods

rnf :: DeleteModelResponse -> () #

type Rep DeleteModelResponse Source # 
Instance details

Defined in Network.AWS.APIGateway.DeleteModel

type Rep DeleteModelResponse = D1 (MetaData "DeleteModelResponse" "Network.AWS.APIGateway.DeleteModel" "amazonka-apigateway-1.6.1-BCCM2RP3l9Q2ENgHvKrj59" False) (C1 (MetaCons "DeleteModelResponse'" PrefixI False) (U1 :: Type -> Type))