GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::SageMaker::CreateFlowDefinition(3) User Contributed Perl Documentation Paws::SageMaker::CreateFlowDefinition(3)

Paws::SageMaker::CreateFlowDefinition - Arguments for method CreateFlowDefinition on Paws::SageMaker

This class represents the parameters used for calling the method CreateFlowDefinition on the Amazon SageMaker Service service. Use the attributes of this class as arguments to method CreateFlowDefinition.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateFlowDefinition.

    my $api.sagemaker = Paws->service('SageMaker');
    my $CreateFlowDefinitionResponse = $api . sagemaker->CreateFlowDefinition(
      FlowDefinitionName => 'MyFlowDefinitionName',
      HumanLoopConfig    => {
        HumanTaskUiArn  => 'MyHumanTaskUiArn',                # max: 1024
        TaskCount       => 1,                                 # min: 1, max: 3
        TaskDescription => 'MyFlowDefinitionTaskDescription', # min: 1, max: 255
        TaskTitle       => 'MyFlowDefinitionTaskTitle',       # min: 1, max: 128
        WorkteamArn     => 'MyWorkteamArn',                   # max: 256
        PublicWorkforceTaskPrice => {
          AmountInUsd => {
            Cents                 => 1,    # max: 99; OPTIONAL
            Dollars               => 1,    # max: 2; OPTIONAL
            TenthFractionsOfACent => 1,    # max: 9; OPTIONAL
          },    # OPTIONAL
        },    # OPTIONAL
        TaskAvailabilityLifetimeInSeconds => 1,  # min: 1, max: 864000; OPTIONAL
        TaskKeywords                      => [
          'MyFlowDefinitionTaskKeyword', ...     # min: 1, max: 30
        ],    # min: 1, max: 5; OPTIONAL
        TaskTimeLimitInSeconds => 1,    # min: 30, max: 28800; OPTIONAL
      },
      OutputConfig => {
        S3OutputPath => 'MyS3Uri',       # max: 1024
        KmsKeyId     => 'MyKmsKeyId',    # max: 2048; OPTIONAL
      },
      RoleArn                   => 'MyRoleArn',
      HumanLoopActivationConfig => {
        HumanLoopActivationConditionsConfig => {
          HumanLoopActivationConditions =>
            'MyHumanLoopActivationConditions',    # max: 10240
        },
      },    # OPTIONAL
      HumanLoopRequestSource => {
        AwsManagedHumanLoopRequestSource =>
          'AWS/Rekognition/DetectModerationLabels/Image/V3'
        , # values: AWS/Rekognition/DetectModerationLabels/Image/V3, AWS/Textract/AnalyzeDocument/Forms/V1
      },    # OPTIONAL
      Tags => [
        {
          Key   => 'MyTagKey',      # min: 1, max: 128
          Value => 'MyTagValue',    # max: 256
        },
        ...
      ],    # OPTIONAL
    );
    # Results:
    my $FlowDefinitionArn = $CreateFlowDefinitionResponse->FlowDefinitionArn;
    # Returns a L<Paws::SageMaker::CreateFlowDefinitionResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/CreateFlowDefinition>

REQUIRED FlowDefinitionName => Str

The name of your flow definition.

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

REQUIRED HumanLoopConfig => Paws::SageMaker::HumanLoopConfig

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

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

REQUIRED OutputConfig => Paws::SageMaker::FlowDefinitionOutputConfig

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

REQUIRED RoleArn => Str

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".

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.

This class forms part of Paws, documenting arguments for method CreateFlowDefinition in Paws::SageMaker

The source code is located here: <https://github.com/pplu/aws-sdk-perl>

Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.