class Aws::APIGateway::Types::GetResourceRequest
Request to list information about a resource.
@note When making an API call, you may pass GetResourceRequest
data as a hash: { rest_api_id: "String", # required resource_id: "String", # required embed: ["String"], }
@!attribute [rw] rest_api_id
\[Required\] The string identifier of the associated RestApi. @return [String]
@!attribute [rw] resource_id
\[Required\] The identifier for the Resource resource. @return [String]
@!attribute [rw] embed
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`. @return [Array<String>]
Constants
- SENSITIVE