| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.APIGateway.DeleteUsagePlanKey
Description
Deletes a usage plan key and remove the underlying API key from the associated usage plan.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> DeleteUsagePlanKey |
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:
dupkUsagePlanId- The Id of theUsagePlanresource representing the usage plan containing the to-be-deletedUsagePlanKeyresource representing a plan customer.dupkKeyId- The Id of theUsagePlanKeyresource to be deleted.
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
Request Lenses
dupkUsagePlanId :: Lens' DeleteUsagePlanKey Text Source #
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 #
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.