amazonka-apigateway-1.6.0: 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.DeleteMethod

Contents

Description

Deletes an existing Method resource.

Synopsis

Creating a Request

deleteMethod Source #

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

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

data DeleteMethod Source #

Request to delete an existing Method resource.

See: deleteMethod smart constructor.

Instances

Eq DeleteMethod Source # 
Data DeleteMethod Source # 

Methods

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

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

toConstr :: DeleteMethod -> Constr #

dataTypeOf :: DeleteMethod -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteMethod Source # 
Show DeleteMethod Source # 
Generic DeleteMethod Source # 

Associated Types

type Rep DeleteMethod :: * -> * #

Hashable DeleteMethod Source # 
NFData DeleteMethod Source # 

Methods

rnf :: DeleteMethod -> () #

AWSRequest DeleteMethod Source # 
ToHeaders DeleteMethod Source # 
ToPath DeleteMethod Source # 
ToQuery DeleteMethod Source # 
type Rep DeleteMethod Source # 
type Rep DeleteMethod = D1 * (MetaData "DeleteMethod" "Network.AWS.APIGateway.DeleteMethod" "amazonka-apigateway-1.6.0-JJ9NJtNe0aRBcVRYpJCEA2" False) (C1 * (MetaCons "DeleteMethod'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmmRestAPIId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmmResourceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_dmmHttpMethod") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs DeleteMethod Source # 

Request Lenses

dmmRestAPIId :: Lens' DeleteMethod Text Source #

Required
The string identifier of the associated RestApi .

dmmResourceId :: Lens' DeleteMethod Text Source #

Required
The Resource identifier for the Method resource.

dmmHttpMethod :: Lens' DeleteMethod Text Source #

Required
The HTTP verb of the Method resource.

Destructuring the Response

deleteMethodResponse' :: DeleteMethodResponse' Source #

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

data DeleteMethodResponse' Source #

See: deleteMethodResponse' smart constructor.

Instances

Eq DeleteMethodResponse' Source # 
Data DeleteMethodResponse' Source # 

Methods

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

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

toConstr :: DeleteMethodResponse' -> Constr #

dataTypeOf :: DeleteMethodResponse' -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteMethodResponse' Source # 
Show DeleteMethodResponse' Source # 
Generic DeleteMethodResponse' Source # 
NFData DeleteMethodResponse' Source # 

Methods

rnf :: DeleteMethodResponse' -> () #

type Rep DeleteMethodResponse' Source # 
type Rep DeleteMethodResponse' = D1 * (MetaData "DeleteMethodResponse'" "Network.AWS.APIGateway.DeleteMethod" "amazonka-apigateway-1.6.0-JJ9NJtNe0aRBcVRYpJCEA2" False) (C1 * (MetaCons "DeleteMethodResponse''" PrefixI False) (U1 *))