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 |
Deletes a Stage resource.
Synopsis
Creating a Request
data DeleteStage Source #
Requests API Gateway to delete a Stage resource.
See: newDeleteStage
smart constructor.
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.
Instances
Eq DeleteStageResponse Source # | |
Defined in Amazonka.APIGateway.DeleteStage (==) :: DeleteStageResponse -> DeleteStageResponse -> Bool # (/=) :: DeleteStageResponse -> DeleteStageResponse -> Bool # | |
Read DeleteStageResponse Source # | |
Show DeleteStageResponse Source # | |
Defined in Amazonka.APIGateway.DeleteStage showsPrec :: Int -> DeleteStageResponse -> ShowS # show :: DeleteStageResponse -> String # showList :: [DeleteStageResponse] -> ShowS # | |
Generic DeleteStageResponse Source # | |
Defined in Amazonka.APIGateway.DeleteStage type Rep DeleteStageResponse :: Type -> Type # from :: DeleteStageResponse -> Rep DeleteStageResponse x # to :: Rep DeleteStageResponse x -> DeleteStageResponse # | |
NFData DeleteStageResponse Source # | |
Defined in Amazonka.APIGateway.DeleteStage rnf :: DeleteStageResponse -> () # | |
type Rep DeleteStageResponse Source # | |
newDeleteStageResponse :: DeleteStageResponse Source #
Create a value of DeleteStageResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.