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 ListViolationEvents operation. Lists the Device Defender security profile violations discovered during the given time period. You can use filters to limit the results to those alerts issued for a particular security profile, behavior, or thing (device).

Requires permission to access the ListViolationEvents action.

Inheritance Hierarchy

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

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

Syntax

C#
public class ListViolationEventsRequest : AmazonIoTRequest
         IAmazonWebServiceRequest

The ListViolationEventsRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property BehaviorCriteriaType Amazon.IoT.BehaviorCriteriaType

Gets and sets the property BehaviorCriteriaType.

The criteria for a behavior.

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 time for the alerts to be listed.

Public Property EndTimeUtc System.DateTime

Gets and sets the property EndTimeUtc.

The end time for the alerts to be listed.

Public Property ListSuppressedAlerts System.Boolean

Gets and sets the property ListSuppressedAlerts.

A list of all suppressed alerts.

Public Property MaxResults System.Int32

Gets and sets the property MaxResults.

The maximum number of results to return at one time.

Public Property NextToken System.String

Gets and sets the property NextToken.

The token for the next set of results.

Public Property SecurityProfileName System.String

Gets and sets the property SecurityProfileName.

A filter to limit results to those alerts generated by the specified security profile.

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 start time for the alerts to be listed.

Public Property StartTimeUtc System.DateTime

Gets and sets the property StartTimeUtc.

The start time for the alerts to be listed.

Public Property ThingName System.String

Gets and sets the property ThingName.

A filter to limit results to those alerts caused by the specified thing.

Public Property VerificationState Amazon.IoT.VerificationState

Gets and sets the property VerificationState.

The verification state of the violation (detect alarm).

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