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

Description

Deletes the specified API.

Synopsis

Creating a Request

data DeleteRestApi Source #

Request to delete the specified API from your collection.

See: newDeleteRestApi smart constructor.

Constructors

DeleteRestApi' 

Fields

  • restApiId :: Text
    Required
    The string identifier of the associated RestApi.

Instances

Instances details
Eq DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Read DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Show DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Generic DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Associated Types

type Rep DeleteRestApi :: Type -> Type #

NFData DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Methods

rnf :: DeleteRestApi -> () #

Hashable DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

AWSRequest DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Associated Types

type AWSResponse DeleteRestApi #

ToHeaders DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

ToPath DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

ToQuery DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

type Rep DeleteRestApi Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

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

Defined in Amazonka.APIGateway.DeleteRestApi

newDeleteRestApi Source #

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

Request Lenses

deleteRestApi_restApiId :: Lens' DeleteRestApi Text Source #

Required
The string identifier of the associated RestApi.

Destructuring the Response

data DeleteRestApiResponse Source #

See: newDeleteRestApiResponse smart constructor.

Instances

Instances details
Eq DeleteRestApiResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Read DeleteRestApiResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Show DeleteRestApiResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Generic DeleteRestApiResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Associated Types

type Rep DeleteRestApiResponse :: Type -> Type #

NFData DeleteRestApiResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

Methods

rnf :: DeleteRestApiResponse -> () #

type Rep DeleteRestApiResponse Source # 
Instance details

Defined in Amazonka.APIGateway.DeleteRestApi

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

newDeleteRestApiResponse :: DeleteRestApiResponse Source #

Create a value of DeleteRestApiResponse with all optional fields omitted.

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