« blib/lib/Paws/MachineLearning/CreateDataSourceFromS3Output.pm
↑ Summary
blib/lib/Paws/MachineLearning/CreateEvaluationOutput.pm »
| 1 | |||
| 2 | package Paws::MachineLearning::CreateEvaluation; | ||
| 3 | use Moose; | ||
| 4 | has EvaluationDataSourceId => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has EvaluationId => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has EvaluationName => (is => 'ro', isa => 'Str'); | ||
| 7 | has MLModelId => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateEvaluation'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MachineLearning::CreateEvaluationOutput'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::MachineLearning::CreateEvaluation - Arguments for method CreateEvaluation on L<Paws::MachineLearning> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method CreateEvaluation on the | ||
| 25 | L<Amazon Machine Learning|Paws::MachineLearning> service. Use the attributes of this class | ||
| 26 | as arguments to method CreateEvaluation. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateEvaluation. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $machinelearning = Paws->service('MachineLearning'); | ||
| 33 | my $CreateEvaluationOutput = $machinelearning->CreateEvaluation( | ||
| 34 | EvaluationDataSourceId => 'MyEntityId', | ||
| 35 | EvaluationId => 'MyEntityId', | ||
| 36 | MLModelId => 'MyEntityId', | ||
| 37 | EvaluationName => 'MyEntityName', # OPTIONAL | ||
| 38 | ); | ||
| 39 | |||
| 40 | # Results: | ||
| 41 | my $EvaluationId = $CreateEvaluationOutput->EvaluationId; | ||
| 42 | |||
| 43 | # Returns a L<Paws::MachineLearning::CreateEvaluationOutput> object. | ||
| 44 | |||
| 45 | 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. | ||
| 46 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/machinelearning/CreateEvaluation> | ||
| 47 | |||
| 48 | =head1 ATTRIBUTES | ||
| 49 | |||
| 50 | |||
| 51 | =head2 B<REQUIRED> EvaluationDataSourceId => Str | ||
| 52 | |||
| 53 | The ID of the C<DataSource> for the evaluation. The schema of the | ||
| 54 | C<DataSource> must match the schema used to create the C<MLModel>. | ||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | =head2 B<REQUIRED> EvaluationId => Str | ||
| 59 | |||
| 60 | A user-supplied ID that uniquely identifies the C<Evaluation>. | ||
| 61 | |||
| 62 | |||
| 63 | |||
| 64 | =head2 EvaluationName => Str | ||
| 65 | |||
| 66 | A user-supplied name or description of the C<Evaluation>. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 B<REQUIRED> MLModelId => Str | ||
| 71 | |||
| 72 | The ID of the C<MLModel> to evaluate. | ||
| 73 | |||
| 74 | The schema used in creating the C<MLModel> must match the schema of the | ||
| 75 | C<DataSource> used in the C<Evaluation>. | ||
| 76 | |||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head1 SEE ALSO | ||
| 81 | |||
| 82 | This class forms part of L<Paws>, documenting arguments for method CreateEvaluation in L<Paws::MachineLearning> | ||
| 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 |