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.

CreateScheduledAuditInput

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

type CreateScheduledAuditInput struct { DayOfMonth *string `locationName:"dayOfMonth" type:"string"` DayOfWeek *string `locationName:"dayOfWeek" type:"string" enum:"DayOfWeek"` Frequency *string `locationName:"frequency" type:"string" required:"true" enum:"AuditFrequency"` ScheduledAuditName *string `location:"uri" locationName:"scheduledAuditName" min:"1" type:"string" required:"true"` Tags []*Tag `locationName:"tags" type:"list"` TargetCheckNames []*string `locationName:"targetCheckNames" type:"list" required:"true"` }

DayOfMonth

Type: *string

The day of the month on which the scheduled audit takes place. Can be "1" through "31" or "LAST". This field is required if the "frequency" parameter is set to "MONTHLY". If days 29-31 are specified, and the month does not have that many days, the audit takes place on the "LAST" day of the month.

DayOfWeek

Type: *string

The day of the week on which the scheduled audit takes place. Can be one of "SUN", "MON", "TUE", "WED", "THU", "FRI" or "SAT". This field is required if the "frequency" parameter is set to "WEEKLY" or "BIWEEKLY".

Frequency

Type: *string

How often the scheduled audit takes place. Can be one of "DAILY", "WEEKLY", "BIWEEKLY" or "MONTHLY". The actual start time of each audit is determined by the system.

Frequency is a required field

ScheduledAuditName

Type: *string

The name you want to give to the scheduled audit. (Max. 128 chars)

ScheduledAuditName is a required field

Tags

A set of key/value pairs that are used to manage the resource.

TargetCheckNames

Type: []*string

Which checks are performed during the scheduled audit. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration to see the list of all checks including those that are enabled or UpdateAccountAuditConfiguration to select which checks are enabled.)

TargetCheckNames is a required field

Method

GoString

func (s CreateScheduledAuditInput) GoString() string

GoString returns the string representation

SetDayOfMonth

func (s *CreateScheduledAuditInput) SetDayOfMonth(v string) *CreateScheduledAuditInput

SetDayOfMonth sets the DayOfMonth field's value.

SetDayOfWeek

func (s *CreateScheduledAuditInput) SetDayOfWeek(v string) *CreateScheduledAuditInput

SetDayOfWeek sets the DayOfWeek field's value.

SetFrequency

func (s *CreateScheduledAuditInput) SetFrequency(v string) *CreateScheduledAuditInput

SetFrequency sets the Frequency field's value.

SetScheduledAuditName

func (s *CreateScheduledAuditInput) SetScheduledAuditName(v string) *CreateScheduledAuditInput

SetScheduledAuditName sets the ScheduledAuditName field's value.

SetTags

func (s *CreateScheduledAuditInput) SetTags(v []*Tag) *CreateScheduledAuditInput

SetTags sets the Tags field's value.

SetTargetCheckNames

func (s *CreateScheduledAuditInput) SetTargetCheckNames(v []*string) *CreateScheduledAuditInput

SetTargetCheckNames sets the TargetCheckNames field's value.

String

func (s CreateScheduledAuditInput) String() string

String returns the string representation

Validate

func (s *CreateScheduledAuditInput) Validate() error

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

On this page: