// 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).
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).
// 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 ) .
func (c *Client) ListViolationEvents(ctx context.Context, params *ListViolationEventsInput, optFns ...func(*Options)) (*ListViolationEventsOutput, error) {
	if params == nil {
		params = &ListViolationEventsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListViolationEvents", params, optFns, addOperationListViolationEventsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListViolationEventsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListViolationEvents ( ctx context . Context , params * ListViolationEventsInput , optFns ... func ( * Options ) ) ( * ListViolationEventsOutput , error ) { if params == nil { params = & ListViolationEventsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListViolationEventsMiddlewares ) if err != nil { return nil , err } out := result . ( * ListViolationEventsOutput ) out . ResultMetadata = metadata return out , nil }
Lists the Device Defender security profile violations discovered during the
given time period.
Lists the Device Defender security profile violations discovered during the given time period .