Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes a usage plan key and remove the underlying API key from the associated usage plan.
Creating a Request
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 theUsagePlan
resource representing the usage plan containing the to-be-deletedUsagePlanKey
resource representing a plan customer.dupkKeyId
- The Id of theUsagePlanKey
resource 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.
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.
data DeleteUsagePlanKeyResponse Source #
See: deleteUsagePlanKeyResponse
smart constructor.