amazonka-apigateway-1.3.6: 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.GetResource

Contents

Description

Lists information about a resource.

See: AWS API Reference for GetResource.

Synopsis

Creating a Request

getResource Source

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

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

Request Lenses

grRestAPIId :: Lens' GetResource Text Source

The RestApi identifier for the resource.

grResourceId :: Lens' GetResource Text Source

The identifier for the Resource resource.

Destructuring the Response

resource :: Resource Source

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

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

Response Lenses

rPathPart :: Lens' Resource (Maybe Text) Source

The last path segment for this resource.

rPath :: Lens' Resource (Maybe Text) Source

The full path for this resource.

rId :: Lens' Resource (Maybe Text) Source

The resource's identifier.

rResourceMethods :: Lens' Resource (HashMap Text Method) Source

Map of methods for this resource, which is included only if requested using the embed option.

rParentId :: Lens' Resource (Maybe Text) Source

The parent resource's identifier.