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.

ListAuditFindingsInput

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

type ListAuditFindingsInput struct { CheckName *string `locationName:"checkName" type:"string"` EndTime *time.Time `locationName:"endTime" type:"timestamp"` MaxResults *int64 `locationName:"maxResults" min:"1" type:"integer"` NextToken *string `locationName:"nextToken" type:"string"` ResourceIdentifier *ResourceIdentifier `locationName:"resourceIdentifier" type:"structure"` StartTime *time.Time `locationName:"startTime" type:"timestamp"` TaskId *string `locationName:"taskId" min:"1" type:"string"` }

CheckName

Type: *string

A filter to limit results to the findings for the specified audit check.

EndTime

Type: *time.Time

A filter to limit results to those found before the specified time. You must specify either the startTime and endTime or the taskId, but not both.

MaxResults

Type: *int64

The maximum number of results to return at one time. The default is 25.

NextToken

Type: *string

The token for the next set of results.

ResourceIdentifier

Information identifying the non-compliant resource.

StartTime

Type: *time.Time

A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.

TaskId

Type: *string

A filter to limit results to the audit with the specified ID. You must specify either the taskId or the startTime and endTime, but not both.

Method

GoString

func (s ListAuditFindingsInput) GoString() string

GoString returns the string representation

SetCheckName

func (s *ListAuditFindingsInput) SetCheckName(v string) *ListAuditFindingsInput

SetCheckName sets the CheckName field's value.

SetEndTime

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

SetEndTime sets the EndTime field's value.

SetMaxResults

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

SetMaxResults sets the MaxResults field's value.

SetNextToken

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

SetNextToken sets the NextToken field's value.

SetResourceIdentifier

func (s *ListAuditFindingsInput) SetResourceIdentifier(v *ResourceIdentifier) *ListAuditFindingsInput

SetResourceIdentifier sets the ResourceIdentifier field's value.

SetStartTime

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

SetStartTime sets the StartTime field's value.

SetTaskId

func (s *ListAuditFindingsInput) SetTaskId(v string) *ListAuditFindingsInput

SetTaskId sets the TaskId field's value.

String

func (s ListAuditFindingsInput) String() string

String returns the string representation

Validate

func (s *ListAuditFindingsInput) Validate() error

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

On this page: