libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2
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.ApiGatewayV2.DeleteStage

Description

Deletes a Stage.

Synopsis

Creating a Request

data DeleteStage Source #

See: newDeleteStage smart constructor.

Constructors

DeleteStage' 

Fields

  • stageName :: Text

    The stage name. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

  • apiId :: Text

    The API identifier.

Instances

Instances details
Eq DeleteStage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

Read DeleteStage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

Show DeleteStage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

Generic DeleteStage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

Associated Types

type Rep DeleteStage :: Type -> Type #

NFData DeleteStage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

Methods

rnf :: DeleteStage -> () #

Hashable DeleteStage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

AWSRequest DeleteStage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

Associated Types

type AWSResponse DeleteStage #

ToHeaders DeleteStage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

Methods

toHeaders :: DeleteStage -> [Header] #

ToPath DeleteStage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

ToQuery DeleteStage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

type Rep DeleteStage Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

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

Defined in Amazonka.ApiGatewayV2.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:stageName:DeleteStage', deleteStage_stageName - The stage name. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

$sel:apiId:DeleteStage', deleteStage_apiId - The API identifier.

Request Lenses

deleteStage_stageName :: Lens' DeleteStage Text Source #

The stage name. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.

Destructuring the Response

data DeleteStageResponse Source #

See: newDeleteStageResponse smart constructor.

Constructors

DeleteStageResponse' 

Instances

Instances details
Eq DeleteStageResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

Read DeleteStageResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

Show DeleteStageResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

Generic DeleteStageResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

Associated Types

type Rep DeleteStageResponse :: Type -> Type #

NFData DeleteStageResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

Methods

rnf :: DeleteStageResponse -> () #

type Rep DeleteStageResponse Source # 
Instance details

Defined in Amazonka.ApiGatewayV2.DeleteStage

type Rep DeleteStageResponse = D1 ('MetaData "DeleteStageResponse" "Amazonka.ApiGatewayV2.DeleteStage" "libZSservicesZSamazonka-apigatewayv2ZSamazonka-apigatewayv2" '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.