amazonka-apigateway-2.0: Amazon API Gateway SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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' 

Fields

Instances

Instances details
ToHeaders DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Methods

toHeaders :: DeleteStage -> [Header] #

ToPath DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

ToQuery DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

AWSRequest DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Associated Types

type AWSResponse DeleteStage #

Generic DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Associated Types

type Rep DeleteStage :: Type -> Type #

Read DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Show DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

NFData DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Methods

rnf :: DeleteStage -> () #

Eq DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Hashable DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

type AWSResponse DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

type Rep DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

type Rep DeleteStage = D1 ('MetaData "DeleteStage" "Amazonka.APIGateway.DeleteStage" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "DeleteStage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteStage Source #

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

Instances details
Generic DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Associated Types

type Rep DeleteStageResponse :: Type -> Type #

Read DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Show DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

NFData DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Methods

rnf :: DeleteStageResponse -> () #

Eq DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

type Rep DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

type Rep DeleteStageResponse = D1 ('MetaData "DeleteStageResponse" "Amazonka.APIGateway.DeleteStage" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "DeleteStageResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteStageResponse :: DeleteStageResponse Source #

Create a value of DeleteStageResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.