« blib/lib/Paws/SageMakerA2IRuntime/ListHumanLoopsResponse.pm
↑ Summary
blib/lib/Paws/SageMakerA2IRuntime/StartHumanLoopResponse.pm »
| 1 | |||
| 2 | package Paws::SageMakerA2IRuntime::StartHumanLoop; | ||
| 3 | use Moose; | ||
| 4 | has DataAttributes => (is => 'ro', isa => 'Paws::SageMakerA2IRuntime::HumanLoopDataAttributes'); | ||
| 5 | has FlowDefinitionArn => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has HumanLoopInput => (is => 'ro', isa => 'Paws::SageMakerA2IRuntime::HumanLoopInput', required => 1); | ||
| 7 | has HumanLoopName => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'StartHumanLoop'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/human-loops'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMakerA2IRuntime::StartHumanLoopResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::SageMakerA2IRuntime::StartHumanLoop - Arguments for method StartHumanLoop on L<Paws::SageMakerA2IRuntime> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method StartHumanLoop on the | ||
| 26 | L<Amazon Augmented AI Runtime|Paws::SageMakerA2IRuntime> service. Use the attributes of this class | ||
| 27 | as arguments to method StartHumanLoop. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartHumanLoop. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $a2i-runtime.sagemaker = Paws->service('SageMakerA2IRuntime'); | ||
| 34 | my $StartHumanLoopResponse = $a2i -runtime . sagemaker->StartHumanLoop( | ||
| 35 | FlowDefinitionArn => 'MyFlowDefinitionArn', | ||
| 36 | HumanLoopInput => { | ||
| 37 | InputContent => 'MyInputContent', # max: 3145728 | ||
| 38 | |||
| 39 | }, | ||
| 40 | HumanLoopName => 'MyHumanLoopName', | ||
| 41 | DataAttributes => { | ||
| 42 | ContentClassifiers => [ | ||
| 43 | 'FreeOfPersonallyIdentifiableInformation', | ||
| 44 | ... # values: FreeOfPersonallyIdentifiableInformation, FreeOfAdultContent | ||
| 45 | ], # max: 256 | ||
| 46 | |||
| 47 | }, # OPTIONAL | ||
| 48 | ); | ||
| 49 | |||
| 50 | # Results: | ||
| 51 | my $HumanLoopArn = $StartHumanLoopResponse->HumanLoopArn; | ||
| 52 | |||
| 53 | # Returns a L<Paws::SageMakerA2IRuntime::StartHumanLoopResponse> object. | ||
| 54 | |||
| 55 | 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. | ||
| 56 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/a2i-runtime.sagemaker/StartHumanLoop> | ||
| 57 | |||
| 58 | =head1 ATTRIBUTES | ||
| 59 | |||
| 60 | |||
| 61 | =head2 DataAttributes => L<Paws::SageMakerA2IRuntime::HumanLoopDataAttributes> | ||
| 62 | |||
| 63 | Attributes of the specified data. Use C<DataAttributes> to specify if | ||
| 64 | your data is free of personally identifiable information and/or free of | ||
| 65 | adult content. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 B<REQUIRED> FlowDefinitionArn => Str | ||
| 70 | |||
| 71 | The Amazon Resource Name (ARN) of the flow definition associated with | ||
| 72 | this human loop. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 B<REQUIRED> HumanLoopInput => L<Paws::SageMakerA2IRuntime::HumanLoopInput> | ||
| 77 | |||
| 78 | An object that contains information about the human loop. | ||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head2 B<REQUIRED> HumanLoopName => Str | ||
| 83 | |||
| 84 | The name of the human loop. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head1 SEE ALSO | ||
| 90 | |||
| 91 | This class forms part of L<Paws>, documenting arguments for method StartHumanLoop in L<Paws::SageMakerA2IRuntime> | ||
| 92 | |||
| 93 | =head1 BUGS and CONTRIBUTIONS | ||
| 94 | |||
| 95 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 96 | |||
| 97 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 98 | |||
| 99 | =cut | ||
| 100 |