Struct aws_sdk_apigateway::input::GetResourceInput
source · [−]#[non_exhaustive]pub struct GetResourceInput { /* private fields */ }Expand description
Request to list information about a resource.
Implementations
sourceimpl 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.
sourceimpl 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
sourceimpl Clone for GetResourceInput
impl Clone for GetResourceInput
sourcefn clone(&self) -> GetResourceInput
fn clone(&self) -> GetResourceInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for GetResourceInput
impl Debug for GetResourceInput
sourceimpl PartialEq<GetResourceInput> for GetResourceInput
impl PartialEq<GetResourceInput> for GetResourceInput
sourcefn eq(&self, other: &GetResourceInput) -> bool
fn eq(&self, other: &GetResourceInput) -> bool
impl StructuralPartialEq for GetResourceInput
Auto Trait Implementations
impl RefUnwindSafe for GetResourceInput
impl Send for GetResourceInput
impl Sync for GetResourceInput
impl Unpin for GetResourceInput
impl UnwindSafe for GetResourceInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more