| Copyright | (c) 2013-2021 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 |
Amazonka.APIGateway.DeleteUsagePlan
Description
Deletes a usage plan of a given plan Id.
Creating a Request
data DeleteUsagePlan Source #
The DELETE request to delete a usage plan of a given plan Id.
See: newDeleteUsagePlan smart constructor.
Constructors
| DeleteUsagePlan' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DeleteUsagePlan |
Create a value of DeleteUsagePlan with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:usagePlanId:DeleteUsagePlan', deleteUsagePlan_usagePlanId - [Required] The Id of the to-be-deleted usage plan.
Request Lenses
deleteUsagePlan_usagePlanId :: Lens' DeleteUsagePlan Text Source #
- Required
- The Id of the to-be-deleted usage plan.
Destructuring the Response
data DeleteUsagePlanResponse Source #
See: newDeleteUsagePlanResponse smart constructor.
Constructors
| DeleteUsagePlanResponse' | |
Instances
newDeleteUsagePlanResponse :: DeleteUsagePlanResponse Source #
Create a value of DeleteUsagePlanResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.