deletePlatformApplication method

Future<void> deletePlatformApplication({
  1. required String platformApplicationArn,
})

Deletes a platform application object for one of the supported push notification services, such as APNS and GCM (Firebase Cloud Messaging). For more information, see Using Amazon SNS Mobile Push Notifications.

May throw AuthorizationErrorException. May throw InternalErrorException. May throw InvalidParameterException.

Parameter platformApplicationArn : PlatformApplicationArn of platform application object to delete.

Implementation

Future<void> deletePlatformApplication({
  required String platformApplicationArn,
}) async {
  final $request = <String, String>{
    'PlatformApplicationArn': platformApplicationArn,
  };
  await _protocol.send(
    $request,
    action: 'DeletePlatformApplication',
    version: '2010-03-31',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
  );
}