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.DeleteDeployment

Description

Deletes a Deployment resource. Deleting a deployment will only succeed if there are no Stage resources associated with it.

Synopsis

Creating a Request

data DeleteDeployment Source #

Requests API Gateway to delete a Deployment resource.

See: newDeleteDeployment smart constructor.

Constructors

DeleteDeployment' 

Fields

  • restApiId :: Text
    Required
    The string identifier of the associated RestApi.
  • deploymentId :: Text
    Required
    The identifier of the Deployment resource to delete.

Instances

Instances details
Eq DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Read DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Show DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Generic DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Associated Types

type Rep DeleteDeployment :: Type -> Type #

NFData DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Methods

rnf :: DeleteDeployment -> () #

Hashable DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

AWSRequest DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Associated Types

type AWSResponse DeleteDeployment #

ToHeaders DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

ToPath DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

ToQuery DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

type Rep DeleteDeployment Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

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

Defined in Amazonka.APIGateway.DeleteDeployment

newDeleteDeployment Source #

Create a value of DeleteDeployment 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:DeleteDeployment', deleteDeployment_restApiId - [Required] The string identifier of the associated RestApi.

$sel:deploymentId:DeleteDeployment', deleteDeployment_deploymentId - [Required] The identifier of the Deployment resource to delete.

Request Lenses

deleteDeployment_restApiId :: Lens' DeleteDeployment Text Source #

Required
The string identifier of the associated RestApi.

deleteDeployment_deploymentId :: Lens' DeleteDeployment Text Source #

Required
The identifier of the Deployment resource to delete.

Destructuring the Response

data DeleteDeploymentResponse Source #

See: newDeleteDeploymentResponse smart constructor.

Instances

Instances details
Eq DeleteDeploymentResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Read DeleteDeploymentResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Show DeleteDeploymentResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Generic DeleteDeploymentResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

Associated Types

type Rep DeleteDeploymentResponse :: Type -> Type #

NFData DeleteDeploymentResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

type Rep DeleteDeploymentResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteDeployment

type Rep DeleteDeploymentResponse = D1 ('MetaData "DeleteDeploymentResponse" "Amazonka.APIGateway.DeleteDeployment" "libZSservicesZSamazonka-apigatewayZSamazonka-apigateway" 'False) (C1 ('MetaCons "DeleteDeploymentResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeleteDeploymentResponse :: DeleteDeploymentResponse Source #

Create a value of DeleteDeploymentResponse with all optional fields omitted.

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