libZSservicesZSamazonka-apigatewayZSamazonka-apigateway
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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

  • restApiId :: Text
    Required
    The string identifier of the associated RestApi.
  • stageName :: Text
    Required
    The name of the Stage resource to delete.

Instances

Instances details
Eq DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Read DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Show DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Generic DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Associated Types

type Rep DeleteStage :: Type -> Type #

NFData DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Methods

rnf :: DeleteStage -> () #

Hashable DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

AWSRequest DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Associated Types

type AWSResponse DeleteStage #

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

type Rep DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

type Rep DeleteStage = D1 ('MetaData "DeleteStage" "Amazonka.APIGateway.DeleteStage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteStage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "restApiId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "stageName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteStage Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

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:

$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

Instances details
Eq DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Read DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Show DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Generic DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Associated Types

type Rep DeleteStageResponse :: Type -> Type #

NFData DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

Methods

rnf :: DeleteStageResponse -> () #

type Rep DeleteStageResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteStage

type Rep DeleteStageResponse = D1 ('MetaData "DeleteStageResponse" "Amazonka.APIGateway.DeleteStage" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" '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.