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.

ThrottleSettings

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

type ThrottleSettings struct { BurstLimit *int64 `locationName:"burstLimit" type:"integer"` RateLimit *float64 `locationName:"rateLimit" type:"double"` }

The API request rate limits.

BurstLimit

Type: *int64

The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.

RateLimit

Type: *float64

The API request steady-state rate limit.

Method

GoString

func (s ThrottleSettings) GoString() string

GoString returns the string representation

SetBurstLimit

func (s *ThrottleSettings) SetBurstLimit(v int64) *ThrottleSettings

SetBurstLimit sets the BurstLimit field's value.

SetRateLimit

func (s *ThrottleSettings) SetRateLimit(v float64) *ThrottleSettings

SetRateLimit sets the RateLimit field's value.

String

func (s ThrottleSettings) String() string

String returns the string representation

On this page: