Struct aws_sdk_apigateway::input::UpdateUsageInput
source · #[non_exhaustive]pub struct UpdateUsageInput { /* private fields */ }Expand description
The PATCH request to grant a temporary extension to the remaining quota of a usage plan associated with a specified API key.
Implementations§
source§impl UpdateUsageInput
impl UpdateUsageInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateUsage, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateUsage, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateUsage>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateUsageInput.
source§impl UpdateUsageInput
impl UpdateUsageInput
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 identifier of the API key associated with the usage plan in which a temporary extension is granted to the remaining quota.
sourcepub fn patch_operations(&self) -> Option<&[PatchOperation]>
pub fn patch_operations(&self) -> Option<&[PatchOperation]>
For more information about supported patch operations, see Patch Operations.
Trait Implementations§
source§impl Clone for UpdateUsageInput
impl Clone for UpdateUsageInput
source§fn clone(&self) -> UpdateUsageInput
fn clone(&self) -> UpdateUsageInput
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 UpdateUsageInput
impl Debug for UpdateUsageInput
source§impl PartialEq<UpdateUsageInput> for UpdateUsageInput
impl PartialEq<UpdateUsageInput> for UpdateUsageInput
source§fn eq(&self, other: &UpdateUsageInput) -> bool
fn eq(&self, other: &UpdateUsageInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.