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.

UpdateAccountAuditConfigurationInput

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

type UpdateAccountAuditConfigurationInput struct { AuditCheckConfigurations map[string]*AuditCheckConfiguration `locationName:"auditCheckConfigurations" type:"map"` AuditNotificationTargetConfigurations map[string]*AuditNotificationTarget `locationName:"auditNotificationTargetConfigurations" type:"map"` RoleArn *string `locationName:"roleArn" min:"20" type:"string"` }

AuditCheckConfigurations

Type: map[string]*AuditCheckConfiguration

Specifies which audit checks are enabled and disabled for this account. Use DescribeAccountAuditConfiguration to see the list of all checks including those that are currently enabled.

Note that some data collection may begin immediately when certain checks are enabled. When a check is disabled, any data collected so far in relation to the check is deleted.

You cannot disable a check if it is used by any scheduled audit. You must first delete the check from the scheduled audit or delete the scheduled audit itself.

On the first call to UpdateAccountAuditConfiguration this parameter is required and must specify at least one enabled check.

AuditNotificationTargetConfigurations

Type: map[string]*AuditNotificationTarget

Information about the targets to which audit notifications are sent.

RoleArn

Type: *string

The ARN of the role that grants permission to AWS IoT to access information about your devices, policies, certificates and other items as necessary when performing an audit.

Method

GoString

func (s UpdateAccountAuditConfigurationInput) GoString() string

GoString returns the string representation

SetAuditCheckConfigurations

func (s *UpdateAccountAuditConfigurationInput) SetAuditCheckConfigurations(v map[string]*AuditCheckConfiguration) *UpdateAccountAuditConfigurationInput

SetAuditCheckConfigurations sets the AuditCheckConfigurations field's value.

SetAuditNotificationTargetConfigurations

func (s *UpdateAccountAuditConfigurationInput) SetAuditNotificationTargetConfigurations(v map[string]*AuditNotificationTarget) *UpdateAccountAuditConfigurationInput

SetAuditNotificationTargetConfigurations sets the AuditNotificationTargetConfigurations field's value.

SetRoleArn

func (s *UpdateAccountAuditConfigurationInput) SetRoleArn(v string) *UpdateAccountAuditConfigurationInput

SetRoleArn sets the RoleArn field's value.

String

func (s UpdateAccountAuditConfigurationInput) String() string

String returns the string representation

Validate

func (s *UpdateAccountAuditConfigurationInput) Validate() error

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

On this page: