Struct aws_sdk_apigateway::client::fluent_builders::GetUsagePlanKey
source · pub struct GetUsagePlanKey { /* private fields */ }Expand description
Fluent builder constructing a request to GetUsagePlanKey.
Gets a usage plan key of a given key identifier.
Implementations§
source§impl GetUsagePlanKey
impl GetUsagePlanKey
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<GetUsagePlanKey, AwsResponseRetryClassifier>, SdkError<GetUsagePlanKeyError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<GetUsagePlanKey, AwsResponseRetryClassifier>, SdkError<GetUsagePlanKeyError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<GetUsagePlanKeyOutput, SdkError<GetUsagePlanKeyError>>
pub async fn send(
self
) -> Result<GetUsagePlanKeyOutput, SdkError<GetUsagePlanKeyError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn usage_plan_id(self, input: impl Into<String>) -> Self
pub fn usage_plan_id(self, input: impl Into<String>) -> Self
The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.
sourcepub fn set_usage_plan_id(self, input: Option<String>) -> Self
pub fn set_usage_plan_id(self, input: Option<String>) -> Self
The Id of the UsagePlan resource representing the usage plan containing the to-be-retrieved UsagePlanKey resource representing a plan customer.
sourcepub fn key_id(self, input: impl Into<String>) -> Self
pub fn key_id(self, input: impl Into<String>) -> Self
The key Id of the to-be-retrieved UsagePlanKey resource representing a plan customer.
sourcepub fn set_key_id(self, input: Option<String>) -> Self
pub fn set_key_id(self, input: Option<String>) -> Self
The key Id of the to-be-retrieved UsagePlanKey resource representing a plan customer.
Trait Implementations§
source§impl Clone for GetUsagePlanKey
impl Clone for GetUsagePlanKey
source§fn clone(&self) -> GetUsagePlanKey
fn clone(&self) -> GetUsagePlanKey
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more