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.

DeltaTime

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

type DeltaTime struct { OffsetSeconds *int64 `locationName:"offsetSeconds" type:"integer" required:"true"` TimeExpression *string `locationName:"timeExpression" type:"string" required:"true"` }

Used to limit data to that which has arrived since the last execution of the action.

OffsetSeconds

Type: *int64

The number of seconds of estimated "in flight" lag time of message data. When you create data set contents using message data from a specified time frame, some message data may still be "in flight" when processing begins, and so will not arrive in time to be processed. Use this field to make allowances for the "in flight" time of your message data, so that data not processed from a previous time frame will be included with the next time frame. Without this, missed message data would be excluded from processing during the next time frame as well, because its timestamp places it within the previous time frame.

OffsetSeconds is a required field

TimeExpression

Type: *string

An expression by which the time of the message data may be determined. This may be the name of a timestamp field, or a SQL expression which is used to derive the time the message data was generated.

TimeExpression is a required field

Method

GoString

func (s DeltaTime) GoString() string

GoString returns the string representation

SetOffsetSeconds

func (s *DeltaTime) SetOffsetSeconds(v int64) *DeltaTime

SetOffsetSeconds sets the OffsetSeconds field's value.

SetTimeExpression

func (s *DeltaTime) SetTimeExpression(v string) *DeltaTime

SetTimeExpression sets the TimeExpression field's value.

String

func (s DeltaTime) String() string

String returns the string representation

Validate

func (s *DeltaTime) Validate() error

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

On this page: