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.

ListActiveViolationsOutput

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

type ListActiveViolationsOutput struct { ActiveViolations []*ActiveViolation `locationName:"activeViolations" type:"list"` NextToken *string `locationName:"nextToken" type:"string"` }

ActiveViolations

Information about an active Device Defender security profile behavior violation.

NextToken

Type: *string

A token that can be used to retrieve the next set of results, or null if there are no additional results.

Method

GoString

func (s ListActiveViolationsOutput) GoString() string

GoString returns the string representation

SetActiveViolations

func (s *ListActiveViolationsOutput) SetActiveViolations(v []*ActiveViolation) *ListActiveViolationsOutput

SetActiveViolations sets the ActiveViolations field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

String

func (s ListActiveViolationsOutput) String() string

String returns the string representation

On this page: