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.

UpdateScheduledAuditInput

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

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

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.

ScheduledAuditName

Type: *string

The name of the scheduled audit. (Max. 128 chars)

ScheduledAuditName is a required field

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.)

Method

GoString

func (s UpdateScheduledAuditInput) GoString() string

GoString returns the string representation

SetDayOfMonth

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

SetDayOfMonth sets the DayOfMonth field's value.

SetDayOfWeek

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

SetDayOfWeek sets the DayOfWeek field's value.

SetFrequency

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

SetFrequency sets the Frequency field's value.

SetScheduledAuditName

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

SetScheduledAuditName sets the ScheduledAuditName field's value.

SetTargetCheckNames

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

SetTargetCheckNames sets the TargetCheckNames field's value.

String

func (s UpdateScheduledAuditInput) String() string

String returns the string representation

Validate

func (s *UpdateScheduledAuditInput) Validate() error

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

On this page: