[][src]Struct rusoto_apigateway::UsagePlan

pub struct UsagePlan {
    pub api_stages: Option<Vec<ApiStage>>,
    pub description: Option<String>,
    pub id: Option<String>,
    pub name: Option<String>,
    pub product_code: Option<String>,
    pub quota: Option<QuotaSettings>,
    pub tags: Option<HashMap<String, String>>,
    pub throttle: Option<ThrottleSettings>,
}

Represents a usage plan than can specify who can assess associated API stages with specified request limits and quotas.

In a usage plan, you associate an API by specifying the API's Id and a stage name of the specified API. You add plan customers by adding API keys to the plan.

Fields

api_stages: Option<Vec<ApiStage>>

The associated API stages of a usage plan.

description: Option<String>

The description of a usage plan.

id: Option<String>

The identifier of a UsagePlan resource.

name: Option<String>

The name of a usage plan.

product_code: Option<String>

The AWS Markeplace product identifier to associate with the usage plan as a SaaS product on AWS Marketplace.

quota: Option<QuotaSettings>

The maximum number of permitted requests per a given unit time interval.

tags: Option<HashMap<String, String>>

The collection of tags. Each tag element is associated with a given resource.

throttle: Option<ThrottleSettings>

The request throttle limits of a usage plan.

Trait Implementations

impl Clone for UsagePlan[src]

impl Debug for UsagePlan[src]

impl Default for UsagePlan[src]

impl<'de> Deserialize<'de> for UsagePlan[src]

impl PartialEq<UsagePlan> for UsagePlan[src]

impl StructuralPartialEq for UsagePlan[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.