« blib/lib/Paws/Personalize/CreateDatasetGroupResponse.pm
↑ Summary
blib/lib/Paws/Personalize/CreateDatasetImportJobResponse.pm »
| 1 | |||
| 2 | package Paws::Personalize::CreateDatasetImportJob; | ||
| 3 | use Moose; | ||
| 4 | has DatasetArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'datasetArn' , required => 1); | ||
| 5 | has DataSource => (is => 'ro', isa => 'Paws::Personalize::DataSource', traits => ['NameInRequest'], request_name => 'dataSource' , required => 1); | ||
| 6 | has JobName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'jobName' , required => 1); | ||
| 7 | has RoleArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'roleArn' , required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateDatasetImportJob'); | ||
| 12 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Personalize::CreateDatasetImportJobResponse'); | ||
| 13 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::Personalize::CreateDatasetImportJob - Arguments for method CreateDatasetImportJob on L<Paws::Personalize> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method CreateDatasetImportJob on the | ||
| 25 | L<Amazon Personalize|Paws::Personalize> service. Use the attributes of this class | ||
| 26 | as arguments to method CreateDatasetImportJob. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateDatasetImportJob. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $personalize = Paws->service('Personalize'); | ||
| 33 | my $CreateDatasetImportJobResponse = $personalize->CreateDatasetImportJob( | ||
| 34 | DataSource => { | ||
| 35 | DataLocation => 'MyS3Location', # max: 256; OPTIONAL | ||
| 36 | }, | ||
| 37 | DatasetArn => 'MyArn', | ||
| 38 | JobName => 'MyName', | ||
| 39 | RoleArn => 'MyRoleArn', | ||
| 40 | |||
| 41 | ); | ||
| 42 | |||
| 43 | # Results: | ||
| 44 | my $DatasetImportJobArn = | ||
| 45 | $CreateDatasetImportJobResponse->DatasetImportJobArn; | ||
| 46 | |||
| 47 | # Returns a L<Paws::Personalize::CreateDatasetImportJobResponse> object. | ||
| 48 | |||
| 49 | 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. | ||
| 50 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/personalize/CreateDatasetImportJob> | ||
| 51 | |||
| 52 | =head1 ATTRIBUTES | ||
| 53 | |||
| 54 | |||
| 55 | =head2 B<REQUIRED> DatasetArn => Str | ||
| 56 | |||
| 57 | The ARN of the dataset that receives the imported data. | ||
| 58 | |||
| 59 | |||
| 60 | |||
| 61 | =head2 B<REQUIRED> DataSource => L<Paws::Personalize::DataSource> | ||
| 62 | |||
| 63 | The Amazon S3 bucket that contains the training data to import. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> JobName => Str | ||
| 68 | |||
| 69 | The name for the dataset import job. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 B<REQUIRED> RoleArn => Str | ||
| 74 | |||
| 75 | The ARN of the IAM role that has permissions to read from the Amazon S3 | ||
| 76 | data source. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head1 SEE ALSO | ||
| 82 | |||
| 83 | This class forms part of L<Paws>, documenting arguments for method CreateDatasetImportJob in L<Paws::Personalize> | ||
| 84 | |||
| 85 | =head1 BUGS and CONTRIBUTIONS | ||
| 86 | |||
| 87 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 88 | |||
| 89 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 90 | |||
| 91 | =cut | ||
| 92 |