// Creates a Device Defender audit suppression.
Creates a Device Defender audit suppression.
// Creates a Device Defender audit suppression .
func (c *Client) CreateAuditSuppression(ctx context.Context, params *CreateAuditSuppressionInput, optFns ...func(*Options)) (*CreateAuditSuppressionOutput, error) {
	if params == nil {
		params = &CreateAuditSuppressionInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateAuditSuppression", params, optFns, addOperationCreateAuditSuppressionMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateAuditSuppressionOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateAuditSuppression ( ctx context . Context , params * CreateAuditSuppressionInput , optFns ... func ( * Options ) ) ( * CreateAuditSuppressionOutput , error ) { if params == nil { params = & CreateAuditSuppressionInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateAuditSuppressionMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateAuditSuppressionOutput ) out . ResultMetadata = metadata return out , nil }
Creates a Device Defender audit suppression.
Creates a Device Defender audit suppression .