class Amazonite::ApiGateway::CreateUsagePlanRequest

Overview

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.

Included Modules

Defined in:

api_gateway/create_usage_plan_request.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(name : String, description : String | Nil = nil, api_stages : Array(ApiStage) | Nil = nil, throttle : ThrottleSettings | Nil = nil, quota : QuotaSettings | Nil = nil, tags : Hash(String, String) | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def api_stages : Array(ApiStage) | Nil #

The associated API stages of the usage plan.


[View source]
def api_stages=(api_stages : Array(ApiStage) | Nil) #

The associated API stages of the usage plan.


[View source]
def description : String | Nil #

The description of the usage plan.


[View source]
def description=(description : String | Nil) #

The description of the usage plan.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def name : String #

The name of the usage plan.


[View source]
def name=(name : String) #

The name of the usage plan.


[View source]
def quota : QuotaSettings | Nil #

The quota of the usage plan.


[View source]
def quota=(quota : QuotaSettings | Nil) #

The quota of the usage plan.


[View source]
def tags : Hash(String, String) | Nil #

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.


[View source]
def tags=(tags : Hash(String, String) | Nil) #

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.


[View source]
def throttle : ThrottleSettings | Nil #

The throttling limits of the usage plan.


[View source]
def throttle=(throttle : ThrottleSettings | Nil) #

The throttling limits of the usage plan.


[View source]
def validate! : Nil #

[View source]