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.

ListViolationEventsInput

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

type ListViolationEventsInput struct { EndTime *time.Time `location:"querystring" locationName:"endTime" type:"timestamp" required:"true"` MaxResults *int64 `location:"querystring" locationName:"maxResults" min:"1" type:"integer"` NextToken *string `location:"querystring" locationName:"nextToken" type:"string"` SecurityProfileName *string `location:"querystring" locationName:"securityProfileName" min:"1" type:"string"` StartTime *time.Time `location:"querystring" locationName:"startTime" type:"timestamp" required:"true"` ThingName *string `location:"querystring" locationName:"thingName" min:"1" type:"string"` }

EndTime

Type: *time.Time

The end time for the alerts to be listed.

EndTime is a required field

MaxResults

Type: *int64

The maximum number of results to return at one time.

NextToken

Type: *string

The token for the next set of results.

SecurityProfileName

Type: *string

A filter to limit results to those alerts generated by the specified security profile.

StartTime

Type: *time.Time

The start time for the alerts to be listed.

StartTime is a required field

ThingName

Type: *string

A filter to limit results to those alerts caused by the specified thing.

Method

GoString

func (s ListViolationEventsInput) GoString() string

GoString returns the string representation

SetEndTime

func (s *ListViolationEventsInput) SetEndTime(v time.Time) *ListViolationEventsInput

SetEndTime sets the EndTime field's value.

SetMaxResults

func (s *ListViolationEventsInput) SetMaxResults(v int64) *ListViolationEventsInput

SetMaxResults sets the MaxResults field's value.

SetNextToken

func (s *ListViolationEventsInput) SetNextToken(v string) *ListViolationEventsInput

SetNextToken sets the NextToken field's value.

SetSecurityProfileName

func (s *ListViolationEventsInput) SetSecurityProfileName(v string) *ListViolationEventsInput

SetSecurityProfileName sets the SecurityProfileName field's value.

SetStartTime

func (s *ListViolationEventsInput) SetStartTime(v time.Time) *ListViolationEventsInput

SetStartTime sets the StartTime field's value.

SetThingName

func (s *ListViolationEventsInput) SetThingName(v string) *ListViolationEventsInput

SetThingName sets the ThingName field's value.

String

func (s ListViolationEventsInput) String() string

String returns the string representation

Validate

func (s *ListViolationEventsInput) Validate() error

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

On this page: