Struct aws_sdk_apigateway::input::GetResourceInput
source · #[non_exhaustive]pub struct GetResourceInput { /* private fields */ }Expand description
Request to list information about a resource.
Implementations§
source§impl GetResourceInput
impl GetResourceInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetResource, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetResource, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetResource>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetResourceInput.
source§impl GetResourceInput
impl GetResourceInput
sourcepub fn rest_api_id(&self) -> Option<&str>
pub fn rest_api_id(&self) -> Option<&str>
The string identifier of the associated RestApi.
sourcepub fn resource_id(&self) -> Option<&str>
pub fn resource_id(&self) -> Option<&str>
The identifier for the Resource resource.
sourcepub fn embed(&self) -> Option<&[String]>
pub fn embed(&self) -> Option<&[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.
Trait Implementations§
source§impl Clone for GetResourceInput
impl Clone for GetResourceInput
source§fn clone(&self) -> GetResourceInput
fn clone(&self) -> GetResourceInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GetResourceInput
impl Debug for GetResourceInput
source§impl PartialEq<GetResourceInput> for GetResourceInput
impl PartialEq<GetResourceInput> for GetResourceInput
source§fn eq(&self, other: &GetResourceInput) -> bool
fn eq(&self, other: &GetResourceInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.