AWS.SNS.TSNSClient.CreatePlatformEndpoint

Creates an endpoint for a device and mobile app on a push notification platform.

function CreatePlatformEndpoint(const ARequest: ISNSCreatePlatformEndpointRequest): ISNSCreatePlatformEndpointResponse; overload; function CreatePlatformEndpoint(const APlatformApplicationArn: TARN; AToken: string): ISNSCreatePlatformEndpointResponse; overload;
__fastcall ISNSCreatePlatformEndpointResponse CreatePlatformEndpoint(const ISNSCreatePlatformEndpointRequest ARequest); __fastcall ISNSCreatePlatformEndpointResponse CreatePlatformEndpoint(const TARN APlatformApplicationArn, AnsiString AToken);

File: AWS.SNS.pas 

Namespace: AWS.SNS 

Module: Appercept AWS SDK for Delphi 

Parameters
Description
const ARequest: ISNSCreatePlatformEndpointRequest
A CreatePlatformEndpoint request object.
const APlatformApplicationArn: TARN
An Amazon Resource Name (ARN) for a platform application. As returned from CreatePlatformApplication.
AToken: string
Unique identifier created by the notification service for an app on a device.

Response containing CreatePlatformEndpoint results.

Exceptions
Description
The user has been denied access to the requested resource.
One of the request parameters does not comply with the associated constraints.
One of the request parameters does not comply with the associated constraints.
Indicated the specified phone number has opted out of receiving SMS messages from your AWS account.
Copyright © 2019-2021 Appercept Ltd. All rights reserved.