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

Contents

Description

Deletes a usage plan key and remove the underlying API key from the associated usage plan.

Synopsis

Creating a Request

deleteUsagePlanKey Source #

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

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

data DeleteUsagePlanKey Source #

The DELETE request to delete a usage plan key and remove the underlying API key from the associated usage plan.

See: deleteUsagePlanKey smart constructor.

Instances

Eq DeleteUsagePlanKey Source # 
Data DeleteUsagePlanKey Source # 

Methods

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

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

toConstr :: DeleteUsagePlanKey -> Constr #

dataTypeOf :: DeleteUsagePlanKey -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteUsagePlanKey Source # 
Show DeleteUsagePlanKey Source # 
Generic DeleteUsagePlanKey Source # 
Hashable DeleteUsagePlanKey Source # 
NFData DeleteUsagePlanKey Source # 

Methods

rnf :: DeleteUsagePlanKey -> () #

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

Request Lenses

dupkUsagePlanId :: Lens' DeleteUsagePlanKey Text Source #

Required
The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.

dupkKeyId :: Lens' DeleteUsagePlanKey Text Source #

Required
The Id of the UsagePlanKey resource to be deleted.

Destructuring the Response

deleteUsagePlanKeyResponse :: DeleteUsagePlanKeyResponse Source #

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

data DeleteUsagePlanKeyResponse Source #

See: deleteUsagePlanKeyResponse smart constructor.

Instances

Eq DeleteUsagePlanKeyResponse Source # 
Data DeleteUsagePlanKeyResponse Source # 

Methods

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

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

toConstr :: DeleteUsagePlanKeyResponse -> Constr #

dataTypeOf :: DeleteUsagePlanKeyResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteUsagePlanKeyResponse Source # 
Show DeleteUsagePlanKeyResponse Source # 
Generic DeleteUsagePlanKeyResponse Source # 
NFData DeleteUsagePlanKeyResponse Source # 
type Rep DeleteUsagePlanKeyResponse Source # 
type Rep DeleteUsagePlanKeyResponse = D1 * (MetaData "DeleteUsagePlanKeyResponse" "Network.AWS.APIGateway.DeleteUsagePlanKey" "amazonka-apigateway-1.6.0-JJ9NJtNe0aRBcVRYpJCEA2" False) (C1 * (MetaCons "DeleteUsagePlanKeyResponse'" PrefixI False) (U1 *))