Skip to content

CreateFlowDefinitionRequest

Source code in docs_src/capo_sagemaker/types/create_flow_definition_request.py
class CreateFlowDefinitionRequest(TypedDict, closed=True):
    flow_definition_name: NotRequired[
        "capo_sagemaker.types.flow_definition_name.FlowDefinitionName"
    ]
    """<p>The name of your flow definition.</p>"""
    human_loop_request_source: NotRequired[
        "capo_sagemaker.types.human_loop_request_source.HumanLoopRequestSource"
    ]
    """<p>Container for configuring the source of human task requests. Use to specify if Amazon Rekognition or Amazon Textract is used as an integration source.</p>"""
    human_loop_activation_config: NotRequired[
        "capo_sagemaker.types.human_loop_activation_config.HumanLoopActivationConfig"
    ]
    """<p>An object containing information about the events that trigger a human workflow.</p>"""
    human_loop_config: NotRequired[
        "capo_sagemaker.types.human_loop_config.HumanLoopConfig"
    ]
    """<p>An object containing information about the tasks the human reviewers will perform.</p>"""
    output_config: NotRequired[
        "capo_sagemaker.types.flow_definition_output_config.FlowDefinitionOutputConfig"
    ]
    """<p>An object containing information about where the human review results will be uploaded.</p>"""
    role_arn: NotRequired["capo_sagemaker.types.role_arn.RoleArn"]
    """<p>The Amazon Resource Name (ARN) of the role needed to call other services on your behalf. For example, <code>arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298</code>.</p>"""
    tags: NotRequired["capo_sagemaker.types.tag_list.TagList"]
    """<p>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.</p>"""

flow_definition_name instance-attribute

flow_definition_name: NotRequired[FlowDefinitionName]

The name of your flow definition.

human_loop_activation_config instance-attribute

human_loop_activation_config: NotRequired[HumanLoopActivationConfig]

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

human_loop_config instance-attribute

human_loop_config: NotRequired[HumanLoopConfig]

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

human_loop_request_source instance-attribute

human_loop_request_source: NotRequired[HumanLoopRequestSource]

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

output_config instance-attribute

output_config: NotRequired[FlowDefinitionOutputConfig]

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

role_arn instance-attribute

role_arn: NotRequired[RoleArn]

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.

tags instance-attribute

tags: NotRequired[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.