Skip to content

/AWS1/CL_SGM=>CREATEFLOWDEFINITION()

About CreateFlowDefinition

Creates a flow definition.

Method Signature

IMPORTING

Required arguments:

IV_FLOWDEFINITIONNAME TYPE /AWS1/SGMFLOWDEFINITIONNAME /AWS1/SGMFLOWDEFINITIONNAME

The name of your flow definition.

IO_OUTPUTCONFIG TYPE REF TO /AWS1/CL_SGMFLOWDEFNOUTPUTCFG /AWS1/CL_SGMFLOWDEFNOUTPUTCFG

An object containing information about where the human review results will be uploaded.

IV_ROLEARN TYPE /AWS1/SGMROLEARN /AWS1/SGMROLEARN

The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example, arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298.

Optional arguments:

IO_HUMANLOOPREQUESTSOURCE TYPE REF TO /AWS1/CL_SGMHLREQUESTSOURCE /AWS1/CL_SGMHLREQUESTSOURCE

Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source.

IO_HUMANLOOPACTIVATIONCONFIG TYPE REF TO /AWS1/CL_SGMHUMANLOOPACTCONFIG /AWS1/CL_SGMHUMANLOOPACTCONFIG

An object containing information about the events that trigger a human workflow.

IO_HUMANLOOPCONFIG TYPE REF TO /AWS1/CL_SGMHUMANLOOPCONFIG /AWS1/CL_SGMHUMANLOOPCONFIG

An object containing information about the tasks the human reviewers will perform.

IT_TAGS TYPE /AWS1/CL_SGMTAG=>TT_TAGLIST TT_TAGLIST

An array of key-value pairs that contain metadata to help you categorize and organize a flow definition. Each tag consists of a key and a value, both of which you define.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SGMCREATEFLOWDEFNRSP /AWS1/CL_SGMCREATEFLOWDEFNRSP