Struct rusoto_apigateway::GetResourceRequest
[−]
[src]
pub struct GetResourceRequest { pub embed: Option<Vec<String>>, pub resource_id: String, pub rest_api_id: String, }
Request to list information about a resource.
Fields
embed: Option<Vec<String>>
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
.
resource_id: String
The identifier for the Resource resource.
rest_api_id: String
The string identifier of the associated RestApi.
Trait Implementations
impl Default for GetResourceRequest
[src]
fn default() -> GetResourceRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for GetResourceRequest
[src]
impl Clone for GetResourceRequest
[src]
fn clone(&self) -> GetResourceRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more