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.

AuditCheckDetails

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

type AuditCheckDetails struct { CheckCompliant *bool `locationName:"checkCompliant" type:"boolean"` CheckRunStatus *string `locationName:"checkRunStatus" type:"string" enum:"AuditCheckRunStatus"` ErrorCode *string `locationName:"errorCode" type:"string"` Message *string `locationName:"message" type:"string"` NonCompliantResourcesCount *int64 `locationName:"nonCompliantResourcesCount" type:"long"` TotalResourcesCount *int64 `locationName:"totalResourcesCount" type:"long"` }

Information about the audit check.

CheckCompliant

Type: *bool

True if the check completed and found all resources compliant.

CheckRunStatus

Type: *string

The completion status of this check, one of "IN_PROGRESS", "WAITING_FOR_DATA_COLLECTION", "CANCELED", "COMPLETED_COMPLIANT", "COMPLETED_NON_COMPLIANT", or "FAILED".

ErrorCode

Type: *string

The code of any error encountered when performing this check during this audit. One of "INSUFFICIENT_PERMISSIONS", or "AUDIT_CHECK_DISABLED".

Message

Type: *string

The message associated with any error encountered when performing this check during this audit.

NonCompliantResourcesCount

Type: *int64

The number of resources that the check found non-compliant.

TotalResourcesCount

Type: *int64

The number of resources on which the check was performed.

Method

GoString

func (s AuditCheckDetails) GoString() string

GoString returns the string representation

SetCheckCompliant

func (s *AuditCheckDetails) SetCheckCompliant(v bool) *AuditCheckDetails

SetCheckCompliant sets the CheckCompliant field's value.

SetCheckRunStatus

func (s *AuditCheckDetails) SetCheckRunStatus(v string) *AuditCheckDetails

SetCheckRunStatus sets the CheckRunStatus field's value.

SetErrorCode

func (s *AuditCheckDetails) SetErrorCode(v string) *AuditCheckDetails

SetErrorCode sets the ErrorCode field's value.

SetMessage

func (s *AuditCheckDetails) SetMessage(v string) *AuditCheckDetails

SetMessage sets the Message field's value.

SetNonCompliantResourcesCount

func (s *AuditCheckDetails) SetNonCompliantResourcesCount(v int64) *AuditCheckDetails

SetNonCompliantResourcesCount sets the NonCompliantResourcesCount field's value.

SetTotalResourcesCount

func (s *AuditCheckDetails) SetTotalResourcesCount(v int64) *AuditCheckDetails

SetTotalResourcesCount sets the TotalResourcesCount field's value.

String

func (s AuditCheckDetails) String() string

String returns the string representation

On this page: