« blib/lib/Paws/Personalize/UpdateCampaignResponse.pm
↑ Summary
blib/lib/Paws/PersonalizeEvents/Event.pm »
| 1 | package Paws::PersonalizeEvents; | ||
| 2 | use Moose; | ||
| 3 | sub service { 'personalize-events' } | ||
| 4 | sub signing_name { 'personalize' } | ||
| 5 | sub version { '2018-03-22' } | ||
| 6 | sub flattened_arrays { 0 } | ||
| 7 | has max_attempts => (is => 'ro', isa => 'Int', default => 5); | ||
| 8 | has retry => (is => 'ro', isa => 'HashRef', default => sub { | ||
| 9 | { base => 'rand', type => 'exponential', growth_factor => 2 } | ||
| 10 | }); | ||
| 11 | has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ | ||
| 12 | ] }); | ||
| 13 | |||
| 14 | with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller'; | ||
| 15 | |||
| 16 | |||
| 17 | sub PutEvents { | ||
| 18 | my $self = shift; | ||
| 19 | my $call_object = $self->new_with_coercions('Paws::PersonalizeEvents::PutEvents', @_); | ||
| 20 | return $self->caller->do_call($self, $call_object); | ||
| 21 | } | ||
| 22 | sub PutItems { | ||
| 23 | my $self = shift; | ||
| 24 | my $call_object = $self->new_with_coercions('Paws::PersonalizeEvents::PutItems', @_); | ||
| 25 | return $self->caller->do_call($self, $call_object); | ||
| 26 | } | ||
| 27 | sub PutUsers { | ||
| 28 | my $self = shift; | ||
| 29 | my $call_object = $self->new_with_coercions('Paws::PersonalizeEvents::PutUsers', @_); | ||
| 30 | return $self->caller->do_call($self, $call_object); | ||
| 31 | } | ||
| 32 | |||
| 33 | |||
| 34 | |||
| 35 | sub operations { qw/PutEvents PutItems PutUsers / } | ||
| 36 | |||
| 37 | 1; | ||
| 38 | |||
| 39 | ### main pod documentation begin ### | ||
| 40 | |||
| 41 | =head1 NAME | ||
| 42 | |||
| 43 | Paws::PersonalizeEvents - Perl Interface to AWS Amazon Personalize Events | ||
| 44 | |||
| 45 | =head1 SYNOPSIS | ||
| 46 | |||
| 47 | use Paws; | ||
| 48 | |||
| 49 | my $obj = Paws->service('PersonalizeEvents'); | ||
| 50 | my $res = $obj->Method( | ||
| 51 | Arg1 => $val1, | ||
| 52 | Arg2 => [ 'V1', 'V2' ], | ||
| 53 | # if Arg3 is an object, the HashRef will be used as arguments to the constructor | ||
| 54 | # of the arguments type | ||
| 55 | Arg3 => { Att1 => 'Val1' }, | ||
| 56 | # if Arg4 is an array of objects, the HashRefs will be passed as arguments to | ||
| 57 | # the constructor of the arguments type | ||
| 58 | Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], | ||
| 59 | ); | ||
| 60 | |||
| 61 | =head1 DESCRIPTION | ||
| 62 | |||
| 63 | Amazon Personalize can consume real-time user event data, such as | ||
| 64 | I<stream> or I<click> data, and use it for model training either alone | ||
| 65 | or combined with historical data. For more information see Recording | ||
| 66 | Events | ||
| 67 | (https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html). | ||
| 68 | |||
| 69 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/personalize-events-2018-03-22> | ||
| 70 | |||
| 71 | |||
| 72 | =head1 METHODS | ||
| 73 | |||
| 74 | =head2 PutEvents | ||
| 75 | |||
| 76 | =over | ||
| 77 | |||
| 78 | =item EventList => ArrayRef[L<Paws::PersonalizeEvents::Event>] | ||
| 79 | |||
| 80 | =item SessionId => Str | ||
| 81 | |||
| 82 | =item TrackingId => Str | ||
| 83 | |||
| 84 | =item [UserId => Str] | ||
| 85 | |||
| 86 | |||
| 87 | =back | ||
| 88 | |||
| 89 | Each argument is described in detail in: L<Paws::PersonalizeEvents::PutEvents> | ||
| 90 | |||
| 91 | Returns: nothing | ||
| 92 | |||
| 93 | Records user interaction event data. For more information see Recording | ||
| 94 | Events | ||
| 95 | (https://docs.aws.amazon.com/personalize/latest/dg/recording-events.html). | ||
| 96 | |||
| 97 | |||
| 98 | =head2 PutItems | ||
| 99 | |||
| 100 | =over | ||
| 101 | |||
| 102 | =item DatasetArn => Str | ||
| 103 | |||
| 104 | =item Items => ArrayRef[L<Paws::PersonalizeEvents::Item>] | ||
| 105 | |||
| 106 | |||
| 107 | =back | ||
| 108 | |||
| 109 | Each argument is described in detail in: L<Paws::PersonalizeEvents::PutItems> | ||
| 110 | |||
| 111 | Returns: nothing | ||
| 112 | |||
| 113 | Adds one or more items to an Items dataset. For more information see | ||
| 114 | Importing Items Incrementally | ||
| 115 | (https://docs.aws.amazon.com/personalize/latest/dg/importing-items.html). | ||
| 116 | |||
| 117 | |||
| 118 | =head2 PutUsers | ||
| 119 | |||
| 120 | =over | ||
| 121 | |||
| 122 | =item DatasetArn => Str | ||
| 123 | |||
| 124 | =item Users => ArrayRef[L<Paws::PersonalizeEvents::User>] | ||
| 125 | |||
| 126 | |||
| 127 | =back | ||
| 128 | |||
| 129 | Each argument is described in detail in: L<Paws::PersonalizeEvents::PutUsers> | ||
| 130 | |||
| 131 | Returns: nothing | ||
| 132 | |||
| 133 | Adds one or more users to a Users dataset. For more information see | ||
| 134 | Importing Users Incrementally | ||
| 135 | (https://docs.aws.amazon.com/personalize/latest/dg/importing-users.html). | ||
| 136 | |||
| 137 | |||
| 138 | |||
| 139 | |||
| 140 | =head1 PAGINATORS | ||
| 141 | |||
| 142 | Paginator methods are helpers that repetively call methods that return partial results | ||
| 143 | |||
| 144 | |||
| 145 | |||
| 146 | |||
| 147 | =head1 SEE ALSO | ||
| 148 | |||
| 149 | This service class forms part of L<Paws> | ||
| 150 | |||
| 151 | =head1 BUGS and CONTRIBUTIONS | ||
| 152 | |||
| 153 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 154 | |||
| 155 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 156 | |||
| 157 | =cut | ||
| 158 |