| 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.DeleteStage
Description
Deletes a Stage resource.
Synopsis
Creating a Request
data DeleteStage Source #
Requests API Gateway to delete a Stage resource.
See: newDeleteStage smart constructor.
Constructors
| DeleteStage' | |
Instances
Create a value of DeleteStage 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:restApiId:DeleteStage', deleteStage_restApiId - [Required] The string identifier of the associated RestApi.
$sel:stageName:DeleteStage', deleteStage_stageName - [Required] The name of the Stage resource to delete.
Request Lenses
deleteStage_restApiId :: Lens' DeleteStage Text Source #
- Required
- The string identifier of the associated RestApi.
deleteStage_stageName :: Lens' DeleteStage Text Source #
- Required
- The name of the Stage resource to delete.
Destructuring the Response
data DeleteStageResponse Source #
See: newDeleteStageResponse smart constructor.
Constructors
| DeleteStageResponse' | |
Instances
newDeleteStageResponse :: DeleteStageResponse Source #
Create a value of DeleteStageResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.