AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the ListAuditTasks operation. Lists the Device Defender audits that have been performed during a given time period.

Requires permission to access the ListAuditTasks action.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IoT.AmazonIoTRequest
      Amazon.IoT.Model.ListAuditTasksRequest

Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z

Syntax

C#
public class ListAuditTasksRequest : AmazonIoTRequest
         IAmazonWebServiceRequest

The ListAuditTasksRequest type exposes the following members

Constructors

NameDescription
Public Method ListAuditTasksRequest()

Properties

NameTypeDescription
Public Property EndTime System.DateTime

Gets and sets the property EndTimeUtc.

This property is deprecated. Setting this property results in non-UTC DateTimes not being marshalled correctly. Use EndTimeUtc instead. Setting either EndTime or EndTimeUtc results in both EndTime and EndTimeUtc being assigned, the latest assignment to either one of the two property is reflected in the value of both. EndTime is provided for backwards compatibility only and assigning a non-Utc DateTime to it results in the wrong timestamp being passed to the service.

The end of the time period.

Public Property EndTimeUtc System.DateTime

Gets and sets the property EndTimeUtc.

The end of the time period.

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of results to return at one time. The default is 25.

Public Property NextToken System.String

Gets and sets the property NextToken.

The token for the next set of results.

Public Property StartTime System.DateTime

Gets and sets the property StartTimeUtc.

This property is deprecated. Setting this property results in non-UTC DateTimes not being marshalled correctly. Use StartTimeUtc instead. Setting either StartTime or StartTimeUtc results in both StartTime and StartTimeUtc being assigned, the latest assignment to either one of the two property is reflected in the value of both. StartTime is provided for backwards compatibility only and assigning a non-Utc DateTime to it results in the wrong timestamp being passed to the service.

The beginning of the time period. Audit information is retained for a limited time (90 days). Requesting a start time prior to what is retained results in an "InvalidRequestException".

Public Property StartTimeUtc System.DateTime

Gets and sets the property StartTimeUtc.

The beginning of the time period. Audit information is retained for a limited time (90 days). Requesting a start time prior to what is retained results in an "InvalidRequestException".

Public Property TaskStatus Amazon.IoT.AuditTaskStatus

Gets and sets the property TaskStatus.

A filter to limit the output to audits with the specified completion status: can be one of "IN_PROGRESS", "COMPLETED", "FAILED", or "CANCELED".

Public Property TaskType Amazon.IoT.AuditTaskType

Gets and sets the property TaskType.

A filter to limit the output to the specified type of audit: can be one of "ON_DEMAND_AUDIT_TASK" or "SCHEDULED__AUDIT_TASK".

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5