Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GetResourceRequest

import type { GetResourceRequest } from "https://aws-api.deno.dev/v0.4/services/apigateway.ts?docs=full";

Request to list information about a resource.

interface GetResourceRequest {
embed?: string[] | null;
resourceId: string;
restApiId: string;
}

§Properties

§
embed?: string[] | null
[src]

A query parameter to retrieve the specified resources embedded in the returned Resource representation in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the "methods" string. For example, GET /restapis/{restapi_id}/resources/{resource_id}?embed=methods.

§
resourceId: string
[src]

The identifier for the Resource resource.

§
restApiId: string
[src]

The string identifier of the associated RestApi.