amazonka-apigateway-1.3.7: Amazon API Gateway SDK.

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

Network.AWS.APIGateway.DeleteResource

Contents

Description

Deletes a Resource resource.

See: AWS API Reference for DeleteResource.

Synopsis

Creating a Request

deleteResource Source

Creates a value of DeleteResource with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

drRestAPIId :: Lens' DeleteResource Text Source

The RestApi identifier for the Resource resource.

drResourceId :: Lens' DeleteResource Text Source

The identifier of the Resource resource.

Destructuring the Response

deleteResourceResponse :: DeleteResourceResponse Source

Creates a value of DeleteResourceResponse with the minimum fields required to make a request.