// Lists the Device Defender audits that have been performed during a given time
// period.
Lists the Device Defender audits that have been performed during a given time
period.
// Lists the Device Defender audits that have been performed during a given time // period .
func (c *Client) ListAuditTasks(ctx context.Context, params *ListAuditTasksInput, optFns ...func(*Options)) (*ListAuditTasksOutput, error) {
	if params == nil {
		params = &ListAuditTasksInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "ListAuditTasks", params, optFns, addOperationListAuditTasksMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*ListAuditTasksOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) ListAuditTasks ( ctx context . Context , params * ListAuditTasksInput , optFns ... func ( * Options ) ) ( * ListAuditTasksOutput , error ) { if params == nil { params = & ListAuditTasksInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationListAuditTasksMiddlewares ) if err != nil { return nil , err } out := result . ( * ListAuditTasksOutput ) out . ResultMetadata = metadata return out , nil }
Lists the Device Defender audits that have been performed during a given time
period.
Lists the Device Defender audits that have been performed during a given time period .