// Starts an asynchronous PII entity detection job for a collection of documents.
Starts an asynchronous PII entity detection job for a collection of documents.
// Starts an asynchronous PII entity detection job for a collection of documents .
func (c *Client) StartPiiEntitiesDetectionJob(ctx context.Context, params *StartPiiEntitiesDetectionJobInput, optFns ...func(*Options)) (*StartPiiEntitiesDetectionJobOutput, error) {
	if params == nil {
		params = &StartPiiEntitiesDetectionJobInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "StartPiiEntitiesDetectionJob", params, optFns, addOperationStartPiiEntitiesDetectionJobMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*StartPiiEntitiesDetectionJobOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) StartPiiEntitiesDetectionJob ( ctx context . Context , params * StartPiiEntitiesDetectionJobInput , optFns ... func ( * Options ) ) ( * StartPiiEntitiesDetectionJobOutput , error ) { if params == nil { params = & StartPiiEntitiesDetectionJobInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationStartPiiEntitiesDetectionJobMiddlewares ) if err != nil { return nil , err } out := result . ( * StartPiiEntitiesDetectionJobOutput ) out . ResultMetadata = metadata return out , nil }
Starts an asynchronous PII entity detection job for a collection of documents.
Starts an asynchronous PII entity detection job for a collection of documents .