Lists information about a resource.
apigateway_get_resource(restApiId, resourceId, embed)
[required] [Required] The string identifier of the associated RestApi.
[required] [Required] The identifier for the Resource resource.
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
.
svc$get_resource( restApiId = "string", resourceId = "string", embed = list( "string" ) )