Struct aws_sdk_apigateway::operation::get_usage::GetUsageInput
source · #[non_exhaustive]pub struct GetUsageInput {
pub usage_plan_id: Option<String>,
pub key_id: Option<String>,
pub start_date: Option<String>,
pub end_date: Option<String>,
pub position: Option<String>,
pub limit: Option<i32>,
}
Expand description
The GET request to get the usage data of a usage plan in a specified time interval.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.usage_plan_id: Option<String>
The Id of the usage plan associated with the usage data.
key_id: Option<String>
The Id of the API key associated with the resultant usage data.
start_date: Option<String>
The starting date (e.g., 2016-01-01) of the usage data.
end_date: Option<String>
The ending date (e.g., 2016-12-31) of the usage data.
position: Option<String>
The current pagination position in the paged result set.
limit: Option<i32>
The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
Implementations§
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.
source§impl GetUsageInput
impl GetUsageInput
sourcepub fn builder() -> GetUsageInputBuilder
pub fn builder() -> GetUsageInputBuilder
Creates a new builder-style object to manufacture GetUsageInput
.
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 for GetUsageInput
impl PartialEq 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 ==
.impl StructuralPartialEq for GetUsageInput
Auto Trait Implementations§
impl RefUnwindSafe for GetUsageInput
impl Send for GetUsageInput
impl Sync for GetUsageInput
impl Unpin for GetUsageInput
impl UnwindSafe for GetUsageInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.