GetResourceRequest
import type { GetResourceRequest } from "https://aws-api.deno.dev/v0.3/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
.