2019/02/15 - AWS IoT - 1 updated api methods
Changes In this release, IoT Device Defender introduces support for tagging Scheduled Audit resources.
{'tags': [{'Key': 'string', 'Value': 'string'}]}
Creates a scheduled audit that is run at a specified time interval.
See also: AWS API Documentation
Request Syntax
client.create_scheduled_audit( frequency='DAILY'|'WEEKLY'|'BIWEEKLY'|'MONTHLY', dayOfMonth='string', dayOfWeek='SUN'|'MON'|'TUE'|'WED'|'THU'|'FRI'|'SAT', targetCheckNames=[ 'string', ], scheduledAuditName='string', tags=[ { 'Key': 'string', 'Value': 'string' }, ] )
string
[REQUIRED]
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.
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.
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".
list
[REQUIRED]
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.)
(string) --
An audit check name. 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.)
string
[REQUIRED]
The name you want to give to the scheduled audit. (Max. 128 chars)
list
Metadata which can be used to manage the scheduled audit.
(dict) --
A set of key/value pairs that are used to manage the resource.
Key (string) --
The tag's key.
Value (string) --
The tag's value.
dict
Response Syntax
{ 'scheduledAuditArn': 'string' }
Response Structure
(dict) --
scheduledAuditArn (string) --
The ARN of the scheduled audit.