Struct aws_sdk_apigateway::input::GetUsageInput [−][src]
#[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
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.usage_plan_id: Option<String>
[Required] 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>
[Required] The starting date (e.g., 2016-01-01) of the usage data.
end_date: Option<String>
[Required] 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
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetUsage, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetUsage, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetUsage
>
Creates a new builder-style object to manufacture GetUsageInput
[Required] The Id of the usage plan associated with the usage data.
The Id of the API key associated with the resultant usage data.
[Required] The starting date (e.g., 2016-01-01) of the usage data.
[Required] The ending date (e.g., 2016-12-31) of the usage data.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more