aws_sdk_apigateway/client/
delete_usage_plan_key.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeleteUsagePlanKey`](crate::operation::delete_usage_plan_key::builders::DeleteUsagePlanKeyFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`usage_plan_id(impl Into<String>)`](crate::operation::delete_usage_plan_key::builders::DeleteUsagePlanKeyFluentBuilder::usage_plan_id) / [`set_usage_plan_id(Option<String>)`](crate::operation::delete_usage_plan_key::builders::DeleteUsagePlanKeyFluentBuilder::set_usage_plan_id):<br>required: **true**<br><p>The Id of the UsagePlan resource representing the usage plan containing the to-be-deleted UsagePlanKey resource representing a plan customer.</p><br>
7    ///   - [`key_id(impl Into<String>)`](crate::operation::delete_usage_plan_key::builders::DeleteUsagePlanKeyFluentBuilder::key_id) / [`set_key_id(Option<String>)`](crate::operation::delete_usage_plan_key::builders::DeleteUsagePlanKeyFluentBuilder::set_key_id):<br>required: **true**<br><p>The Id of the UsagePlanKey resource to be deleted.</p><br>
8    /// - On success, responds with [`DeleteUsagePlanKeyOutput`](crate::operation::delete_usage_plan_key::DeleteUsagePlanKeyOutput)
9    /// - On failure, responds with [`SdkError<DeleteUsagePlanKeyError>`](crate::operation::delete_usage_plan_key::DeleteUsagePlanKeyError)
10    pub fn delete_usage_plan_key(&self) -> crate::operation::delete_usage_plan_key::builders::DeleteUsagePlanKeyFluentBuilder {
11        crate::operation::delete_usage_plan_key::builders::DeleteUsagePlanKeyFluentBuilder::new(self.handle.clone())
12    }
13}