« blib/lib/Paws/LookoutVision/UntagResourceResponse.pm
↑ Summary
blib/lib/Paws/LookoutVision/UpdateDatasetEntriesResponse.pm »
| 1 | |||
| 2 | package Paws::LookoutVision::UpdateDatasetEntries; | ||
| 3 | use Moose; | ||
| 4 | has Changes => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has ClientToken => (is => 'ro', isa => 'Str', traits => ['ParamInHeader'], header_name => 'X-Amzn-Client-Token'); | ||
| 6 | has DatasetType => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'datasetType', required => 1); | ||
| 7 | has ProjectName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'projectName', required => 1); | ||
| 8 | |||
| 9 | use MooseX::ClassAttribute; | ||
| 10 | |||
| 11 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateDatasetEntries'); | ||
| 12 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries'); | ||
| 13 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'PATCH'); | ||
| 14 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::LookoutVision::UpdateDatasetEntriesResponse'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::LookoutVision::UpdateDatasetEntries - Arguments for method UpdateDatasetEntries on L<Paws::LookoutVision> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method UpdateDatasetEntries on the | ||
| 26 | L<Amazon Lookout for Vision|Paws::LookoutVision> service. Use the attributes of this class | ||
| 27 | as arguments to method UpdateDatasetEntries. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateDatasetEntries. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $lookoutvision = Paws->service('LookoutVision'); | ||
| 34 | my $UpdateDatasetEntriesResponse = $lookoutvision->UpdateDatasetEntries( | ||
| 35 | Changes => 'BlobDatasetChanges', | ||
| 36 | DatasetType => 'MyDatasetType', | ||
| 37 | ProjectName => 'MyProjectName', | ||
| 38 | ClientToken => 'MyClientToken', # OPTIONAL | ||
| 39 | ); | ||
| 40 | |||
| 41 | # Results: | ||
| 42 | my $Status = $UpdateDatasetEntriesResponse->Status; | ||
| 43 | |||
| 44 | # Returns a L<Paws::LookoutVision::UpdateDatasetEntriesResponse> object. | ||
| 45 | |||
| 46 | 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. | ||
| 47 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lookoutvision/UpdateDatasetEntries> | ||
| 48 | |||
| 49 | =head1 ATTRIBUTES | ||
| 50 | |||
| 51 | |||
| 52 | =head2 B<REQUIRED> Changes => Str | ||
| 53 | |||
| 54 | The entries to add to the dataset. | ||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | =head2 ClientToken => Str | ||
| 59 | |||
| 60 | ClientToken is an idempotency token that ensures a call to | ||
| 61 | C<UpdateDatasetEntries> completes only once. You choose the value to | ||
| 62 | pass. For example, An issue, such as an network outage, might prevent | ||
| 63 | you from getting a response from C<UpdateDatasetEntries>. In this case, | ||
| 64 | safely retry your call to C<UpdateDatasetEntries> by using the same | ||
| 65 | C<ClientToken> parameter value. An error occurs if the other input | ||
| 66 | parameters are not the same as in the first request. Using a different | ||
| 67 | value for C<ClientToken> is considered a new call to | ||
| 68 | C<UpdateDatasetEntries>. An idempotency token is active for 8 hours. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head2 B<REQUIRED> DatasetType => Str | ||
| 73 | |||
| 74 | The type of the dataset that you want to update. Specify C<train> to | ||
| 75 | update the training dataset. Specify C<test> to update the test | ||
| 76 | dataset. If you have a single dataset project, specify C<train>. | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | =head2 B<REQUIRED> ProjectName => Str | ||
| 81 | |||
| 82 | The name of the project that contains the dataset that you want to | ||
| 83 | update. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | =head1 SEE ALSO | ||
| 89 | |||
| 90 | This class forms part of L<Paws>, documenting arguments for method UpdateDatasetEntries in L<Paws::LookoutVision> | ||
| 91 | |||
| 92 | =head1 BUGS and CONTRIBUTIONS | ||
| 93 | |||
| 94 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 95 | |||
| 96 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 97 | |||
| 98 | =cut | ||
| 99 |