NAME
Paws::SageMaker::CreateFlowDefinition - Arguments for method CreateFlowDefinition on Paws::SageMaker
DESCRIPTION
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.
SYNOPSIS
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
ATTRIBUTES
REQUIRED FlowDefinitionName => Str
The name of your flow definition.
HumanLoopActivationConfig => Paws::SageMaker::HumanLoopActivationConfig
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.
HumanLoopRequestSource => Paws::SageMaker::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.
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
.
Tags => ArrayRef[Paws::SageMaker::Tag]
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.
SEE ALSO
This class forms part of Paws, documenting arguments for method CreateFlowDefinition in Paws::SageMaker
BUGS and CONTRIBUTIONS
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