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.

StatisticalThreshold

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

type StatisticalThreshold struct { Statistic *string `locationName:"statistic" type:"string"` }

A statistical ranking (percentile) which indicates a threshold value by which a behavior is determined to be in compliance or in violation of the behavior.

Statistic

Type: *string

The percentile which resolves to a threshold value by which compliance with a behavior is determined. Metrics are collected over the specified period (durationSeconds) from all reporting devices in your account and statistical ranks are calculated. Then, the measurements from a device are collected over the same period. If the accumulated measurements from the device fall above or below (comparisonOperator) the value associated with the percentile specified, then the device is considered to be in compliance with the behavior, otherwise a violation occurs.

Method

GoString

func (s StatisticalThreshold) GoString() string

GoString returns the string representation

SetStatistic

func (s *StatisticalThreshold) SetStatistic(v string) *StatisticalThreshold

SetStatistic sets the Statistic field's value.

String

func (s StatisticalThreshold) String() string

String returns the string representation

On this page: