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
sourceimpl 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.
sourceimpl 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
sourceimpl Clone for UpdateUsageInput
impl Clone for UpdateUsageInput
sourcefn clone(&self) -> UpdateUsageInput
fn clone(&self) -> UpdateUsageInput
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 UpdateUsageInput
impl Debug for UpdateUsageInput
sourceimpl PartialEq<UpdateUsageInput> for UpdateUsageInput
impl PartialEq<UpdateUsageInput> for UpdateUsageInput
sourcefn eq(&self, other: &UpdateUsageInput) -> bool
fn eq(&self, other: &UpdateUsageInput) -> bool
impl StructuralPartialEq for UpdateUsageInput
Auto Trait Implementations
impl RefUnwindSafe for UpdateUsageInput
impl Send for UpdateUsageInput
impl Sync for UpdateUsageInput
impl Unpin for UpdateUsageInput
impl UnwindSafe for UpdateUsageInput
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