| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
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:
DeleteUsagePlan, deleteUsagePlan_usagePlanId - The Id of the to-be-deleted usage plan.
Request Lenses
deleteUsagePlan_usagePlanId :: Lens' DeleteUsagePlan Text Source #
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.