AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

QuotaSettings

import "github.com/aws/aws-sdk-go/service/apigateway"

type QuotaSettings struct { Limit *int64 `locationName:"limit" type:"integer"` Offset *int64 `locationName:"offset" type:"integer"` Period *string `locationName:"period" type:"string" enum:"QuotaPeriodType"` }

Quotas configured for a usage plan.

Limit

Type: *int64

The maximum number of requests that can be made in a given time period.

Offset

Type: *int64

The number of requests subtracted from the given limit in the initial time period.

Period

Type: *string

The time period in which the limit applies. Valid values are "DAY", "WEEK" or "MONTH".

Method

GoString

func (s QuotaSettings) GoString() string

GoString returns the string representation

SetLimit

func (s *QuotaSettings) SetLimit(v int64) *QuotaSettings

SetLimit sets the Limit field's value.

SetOffset

func (s *QuotaSettings) SetOffset(v int64) *QuotaSettings

SetOffset sets the Offset field's value.

SetPeriod

func (s *QuotaSettings) SetPeriod(v string) *QuotaSettings

SetPeriod sets the Period field's value.

String

func (s QuotaSettings) String() string

String returns the string representation

On this page: