Struct aws_sdk_apigateway::input::CreateUsagePlanInput
source · #[non_exhaustive]pub struct CreateUsagePlanInput { /* private fields */ }Expand description
The POST request to create a usage plan with the name, description, throttle limits and quota limits, as well as the associated API stages, specified in the payload.
Implementations§
source§impl CreateUsagePlanInput
impl CreateUsagePlanInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateUsagePlan, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateUsagePlan, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateUsagePlan>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateUsagePlanInput.
source§impl CreateUsagePlanInput
impl CreateUsagePlanInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the usage plan.
sourcepub fn api_stages(&self) -> Option<&[ApiStage]>
pub fn api_stages(&self) -> Option<&[ApiStage]>
The associated API stages of the usage plan.
sourcepub fn throttle(&self) -> Option<&ThrottleSettings>
pub fn throttle(&self) -> Option<&ThrottleSettings>
The throttling limits of the usage plan.
sourcepub fn quota(&self) -> Option<&QuotaSettings>
pub fn quota(&self) -> Option<&QuotaSettings>
The quota of the usage plan.
The key-value map of strings. The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.
Trait Implementations§
source§impl Clone for CreateUsagePlanInput
impl Clone for CreateUsagePlanInput
source§fn clone(&self) -> CreateUsagePlanInput
fn clone(&self) -> CreateUsagePlanInput
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 CreateUsagePlanInput
impl Debug for CreateUsagePlanInput
source§impl PartialEq<CreateUsagePlanInput> for CreateUsagePlanInput
impl PartialEq<CreateUsagePlanInput> for CreateUsagePlanInput
source§fn eq(&self, other: &CreateUsagePlanInput) -> bool
fn eq(&self, other: &CreateUsagePlanInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.