// Creates a new HarvestJob record.
Creates a new HarvestJob record.
// Creates a new HarvestJob record .
func (c *Client) CreateHarvestJob(ctx context.Context, params *CreateHarvestJobInput, optFns ...func(*Options)) (*CreateHarvestJobOutput, error) {
	if params == nil {
		params = &CreateHarvestJobInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "CreateHarvestJob", params, optFns, addOperationCreateHarvestJobMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*CreateHarvestJobOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) CreateHarvestJob ( ctx context . Context , params * CreateHarvestJobInput , optFns ... func ( * Options ) ) ( * CreateHarvestJobOutput , error ) { if params == nil { params = & CreateHarvestJobInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationCreateHarvestJobMiddlewares ) if err != nil { return nil , err } out := result . ( * CreateHarvestJobOutput ) out . ResultMetadata = metadata return out , nil }
Creates a new HarvestJob record.
Creates a new HarvestJob record .