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.

ExponentialRolloutRate

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

type ExponentialRolloutRate struct { BaseRatePerMinute *int64 `locationName:"baseRatePerMinute" min:"1" type:"integer" required:"true"` IncrementFactor *float64 `locationName:"incrementFactor" min:"1" type:"double" required:"true"` RateIncreaseCriteria *RateIncreaseCriteria `locationName:"rateIncreaseCriteria" type:"structure" required:"true"` }

Allows you to create an exponential rate of rollout for a job.

BaseRatePerMinute

Type: *int64

The minimum number of things that will be notified of a pending job, per minute at the start of job rollout. This parameter allows you to define the initial rate of rollout.

BaseRatePerMinute is a required field

IncrementFactor

Type: *float64

The exponential factor to increase the rate of rollout for a job.

IncrementFactor is a required field

RateIncreaseCriteria

Allows you to define a criteria to initiate the increase in rate of rollout for a job.

Method

GoString

func (s ExponentialRolloutRate) GoString() string

GoString returns the string representation

SetBaseRatePerMinute

func (s *ExponentialRolloutRate) SetBaseRatePerMinute(v int64) *ExponentialRolloutRate

SetBaseRatePerMinute sets the BaseRatePerMinute field's value.

SetIncrementFactor

func (s *ExponentialRolloutRate) SetIncrementFactor(v float64) *ExponentialRolloutRate

SetIncrementFactor sets the IncrementFactor field's value.

SetRateIncreaseCriteria

func (s *ExponentialRolloutRate) SetRateIncreaseCriteria(v *RateIncreaseCriteria) *ExponentialRolloutRate

SetRateIncreaseCriteria sets the RateIncreaseCriteria field's value.

String

func (s ExponentialRolloutRate) String() string

String returns the string representation

Validate

func (s *ExponentialRolloutRate) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: