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.

AuditTaskMetadata

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

type AuditTaskMetadata struct { TaskId *string `locationName:"taskId" min:"1" type:"string"` TaskStatus *string `locationName:"taskStatus" type:"string" enum:"AuditTaskStatus"` TaskType *string `locationName:"taskType" type:"string" enum:"AuditTaskType"` }

The audits that were performed.

TaskId

Type: *string

The ID of this audit.

TaskStatus

Type: *string

The status of this audit: one of "IN_PROGRESS", "COMPLETED", "FAILED" or "CANCELED".

TaskType

Type: *string

The type of this audit: one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED_AUDIT_TASK".

Method

GoString

func (s AuditTaskMetadata) GoString() string

GoString returns the string representation

SetTaskId

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

SetTaskId sets the TaskId field's value.

SetTaskStatus

func (s *AuditTaskMetadata) SetTaskStatus(v string) *AuditTaskMetadata

SetTaskStatus sets the TaskStatus field's value.

SetTaskType

func (s *AuditTaskMetadata) SetTaskType(v string) *AuditTaskMetadata

SetTaskType sets the TaskType field's value.

String

func (s AuditTaskMetadata) String() string

String returns the string representation

On this page: