« blib/lib/Paws/SageMaker/CreateFlowDefinitionResponse.pm
↑ Summary
blib/lib/Paws/SageMaker/CreateHumanTaskUiResponse.pm »
| 1 | |||
| 2 | package Paws::SageMaker::CreateHumanTaskUi; | ||
| 3 | use Moose; | ||
| 4 | has HumanTaskUiName => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Tags => (is => 'ro', isa => 'ArrayRef[Paws::SageMaker::Tag]'); | ||
| 6 | has UiTemplate => (is => 'ro', isa => 'Paws::SageMaker::UiTemplate', required => 1); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateHumanTaskUi'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::SageMaker::CreateHumanTaskUiResponse'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::SageMaker::CreateHumanTaskUi - Arguments for method CreateHumanTaskUi on L<Paws::SageMaker> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method CreateHumanTaskUi on the | ||
| 24 | L<Amazon SageMaker Service|Paws::SageMaker> service. Use the attributes of this class | ||
| 25 | as arguments to method CreateHumanTaskUi. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateHumanTaskUi. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $api.sagemaker = Paws->service('SageMaker'); | ||
| 32 | my $CreateHumanTaskUiResponse = $api . sagemaker->CreateHumanTaskUi( | ||
| 33 | HumanTaskUiName => 'MyHumanTaskUiName', | ||
| 34 | UiTemplate => { | ||
| 35 | Content => 'MyTemplateContent', # min: 1, max: 128000 | ||
| 36 | |||
| 37 | }, | ||
| 38 | Tags => [ | ||
| 39 | { | ||
| 40 | Key => 'MyTagKey', # min: 1, max: 128 | ||
| 41 | Value => 'MyTagValue', # max: 256 | ||
| 42 | |||
| 43 | }, | ||
| 44 | ... | ||
| 45 | ], # OPTIONAL | ||
| 46 | ); | ||
| 47 | |||
| 48 | # Results: | ||
| 49 | my $HumanTaskUiArn = $CreateHumanTaskUiResponse->HumanTaskUiArn; | ||
| 50 | |||
| 51 | # Returns a L<Paws::SageMaker::CreateHumanTaskUiResponse> object. | ||
| 52 | |||
| 53 | 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. | ||
| 54 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/api.sagemaker/CreateHumanTaskUi> | ||
| 55 | |||
| 56 | =head1 ATTRIBUTES | ||
| 57 | |||
| 58 | |||
| 59 | =head2 B<REQUIRED> HumanTaskUiName => Str | ||
| 60 | |||
| 61 | The name of the user interface you are creating. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head2 Tags => ArrayRef[L<Paws::SageMaker::Tag>] | ||
| 66 | |||
| 67 | An array of key-value pairs that contain metadata to help you | ||
| 68 | categorize and organize a human review workflow user interface. Each | ||
| 69 | tag consists of a key and a value, both of which you define. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 B<REQUIRED> UiTemplate => L<Paws::SageMaker::UiTemplate> | ||
| 74 | |||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head1 SEE ALSO | ||
| 81 | |||
| 82 | This class forms part of L<Paws>, documenting arguments for method CreateHumanTaskUi in L<Paws::SageMaker> | ||
| 83 | |||
| 84 | =head1 BUGS and CONTRIBUTIONS | ||
| 85 | |||
| 86 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 87 | |||
| 88 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 89 | |||
| 90 | =cut | ||
| 91 |