Struct aws_sdk_apigateway::input::GetUsageInput
source · #[non_exhaustive]pub struct GetUsageInput { /* private fields */ }Expand description
The GET request to get the usage data of a usage plan in a specified time interval.
Implementations§
source§impl GetUsageInput
impl GetUsageInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetUsage, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetUsage, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<GetUsage>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetUsageInput.
source§impl GetUsageInput
impl GetUsageInput
sourcepub fn usage_plan_id(&self) -> Option<&str>
pub fn usage_plan_id(&self) -> Option<&str>
The Id of the usage plan associated with the usage data.
sourcepub fn key_id(&self) -> Option<&str>
pub fn key_id(&self) -> Option<&str>
The Id of the API key associated with the resultant usage data.
sourcepub fn start_date(&self) -> Option<&str>
pub fn start_date(&self) -> Option<&str>
The starting date (e.g., 2016-01-01) of the usage data.
Trait Implementations§
source§impl Clone for GetUsageInput
impl Clone for GetUsageInput
source§fn clone(&self) -> GetUsageInput
fn clone(&self) -> GetUsageInput
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 GetUsageInput
impl Debug for GetUsageInput
source§impl PartialEq<GetUsageInput> for GetUsageInput
impl PartialEq<GetUsageInput> for GetUsageInput
source§fn eq(&self, other: &GetUsageInput) -> bool
fn eq(&self, other: &GetUsageInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.