Skip to content

/AWS1/CL_TBD=>CREATEWORKER()

About CreateWorker

Creates a worker. A worker tells your instance how much processing power (vCPU), and memory (GiB) you’ll need to assemble the digital assets held within a particular instance. You can specify certain instance types to use, or let the worker know which instances types to exclude.

Method Signature

IMPORTING

Required arguments:

IV_FARMID TYPE /AWS1/TBDFARMID /AWS1/TBDFARMID

The farm ID of the farm to connect to the worker.

IV_FLEETID TYPE /AWS1/TBDFLEETID /AWS1/TBDFLEETID

The fleet ID to connect to the worker.

Optional arguments:

IO_HOSTPROPERTIES TYPE REF TO /AWS1/CL_TBDHOSTPRPSREQUEST /AWS1/CL_TBDHOSTPRPSREQUEST

The IP address and host name of the worker.

IV_CLIENTTOKEN TYPE /AWS1/TBDCLIENTTOKEN /AWS1/TBDCLIENTTOKEN

The unique token which the server uses to recognize retries of the same request.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_TBDCREATEWORKERRSP /AWS1/CL_TBDCREATEWORKERRSP