| 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.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
Arguments
| :: Text | |
| -> Text | |
| -> DeleteStage |
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:
DeleteStage, deleteStage_restApiId - The string identifier of the associated RestApi.
DeleteStage, deleteStage_stageName - The name of the Stage resource to delete.
Request Lenses
deleteStage_restApiId :: Lens' DeleteStage Text Source #
The string identifier of the associated RestApi.
deleteStage_stageName :: Lens' DeleteStage Text Source #
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.