NAME
Paws::Pinpoint::PutEvents - Arguments for method PutEvents on Paws::Pinpoint
DESCRIPTION
This class represents the parameters used for calling the method PutEvents on the Amazon Pinpoint service. Use the attributes of this class as arguments to method PutEvents.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutEvents.
SYNOPSIS
my $pinpoint = Paws->service('Pinpoint');
my $PutEventsResponse = $pinpoint->PutEvents(
ApplicationId => 'My__string',
EventsRequest => {
BatchItem => {
'My__string' => {
Endpoint => {
Address => 'My__string',
Attributes => { 'My__string' => [ 'My__string', ... ], }
, # OPTIONAL
ChannelType => 'PUSH'
, # values: PUSH, GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, VOICE, EMAIL, BAIDU, CUSTOM; OPTIONAL
Demographic => {
AppVersion => 'My__string',
Locale => 'My__string',
Make => 'My__string',
Model => 'My__string',
ModelVersion => 'My__string',
Platform => 'My__string',
PlatformVersion => 'My__string',
Timezone => 'My__string',
}, # OPTIONAL
EffectiveDate => 'My__string',
EndpointStatus => 'My__string',
Location => {
City => 'My__string',
Country => 'My__string',
Latitude => 1, # OPTIONAL
Longitude => 1, # OPTIONAL
PostalCode => 'My__string',
Region => 'My__string',
}, # OPTIONAL
Metrics => {
'My__string' => 1, # , value: OPTIONAL
}, # OPTIONAL
OptOut => 'My__string',
RequestId => 'My__string',
User => {
UserAttributes => { 'My__string' => [ 'My__string', ... ], }
, # OPTIONAL
UserId => 'My__string',
}, # OPTIONAL
},
Events => {
'My__string' => {
EventType => 'My__string',
Timestamp => 'My__string',
AppPackageName => 'My__string',
AppTitle => 'My__string',
AppVersionCode => 'My__string',
Attributes => { 'My__string' => 'My__string', }, # OPTIONAL
ClientSdkVersion => 'My__string',
Metrics => {
'My__string' => 1, # , value: OPTIONAL
}, # OPTIONAL
SdkName => 'My__string',
Session => {
Id => 'My__string',
StartTimestamp => 'My__string',
Duration => 1, # OPTIONAL
StopTimestamp => 'My__string',
}, # OPTIONAL
},
},
},
},
},
);
# Results:
my $EventsResponse = $PutEventsResponse->EventsResponse;
# Returns a L<Paws::Pinpoint::PutEventsResponse> object.
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. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/pinpoint/PutEvents
ATTRIBUTES
REQUIRED ApplicationId => Str
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
REQUIRED EventsRequest => Paws::Pinpoint::EventsRequest
SEE ALSO
This class forms part of Paws, documenting arguments for method PutEvents in Paws::Pinpoint
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues