NAME
Paws::Pinpoint::UpdateEndpoint - Arguments for method UpdateEndpoint on Paws::Pinpoint
DESCRIPTION
This class represents the parameters used for calling the method UpdateEndpoint on the Amazon Pinpoint service. Use the attributes of this class as arguments to method UpdateEndpoint.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateEndpoint.
SYNOPSIS
my $pinpoint = Paws->service('Pinpoint');
my $UpdateEndpointResponse = $pinpoint->UpdateEndpoint(
ApplicationId => 'My__string',
EndpointId => 'My__string',
EndpointRequest => {
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
},
);
# Results:
my $MessageBody = $UpdateEndpointResponse->MessageBody;
# Returns a L<Paws::Pinpoint::UpdateEndpointResponse> 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/UpdateEndpoint
ATTRIBUTES
REQUIRED ApplicationId => Str
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
REQUIRED EndpointId => Str
The unique identifier for the endpoint.
REQUIRED EndpointRequest => Paws::Pinpoint::EndpointRequest
SEE ALSO
This class forms part of Paws, documenting arguments for method UpdateEndpoint 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