fn delete_platform_application(
        &self,
        input: DeletePlatformApplicationInput,
    ) -> RusotoFuture<(), DeletePlatformApplicationError> {
        let mut request = SignedRequest::new("POST", "sns", &self.region, "/");
        let mut params = Params::new();

        params.put("Action", "DeletePlatformApplication");
        params.put("Version", "2010-03-31");
        DeletePlatformApplicationInputSerializer::serialize(&mut params, "", &input);
        request.set_payload(Some(serde_urlencoded::to_string(&params).unwrap()));
        request.set_content_type("application/x-www-form-urlencoded".to_owned());

        self.client.sign_and_dispatch(request, |response| {
            if !response.status.is_success() {
                return Box::new(response.buffer().from_err().and_then(|response| {
                    Err(DeletePlatformApplicationError::from_response(response))
                }));
            }

            Box::new(future::ok(::std::mem::drop(response)))
        })
    }
/// <p>Deletes a platform application object for one of the supported push notification services, such as APNS and GCM. For more information, see <a href="https://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html">Using Amazon SNS Mobile Push Notifications</a>. </p>
Deletes a platform application object for one of the supported push notification services, such as APNS and GCM. For more information, see Using Amazon SNS Mobile Push Notifications.
Deletes a platform application object for one of the supported push notification services such as APNS and GCM . For more information see Using Amazon SNS Mobile Push Notifications .
fn delete_platform_application(
        &self,
        input: DeletePlatformApplicationInput,
    ) -> RusotoFuture<(), DeletePlatformApplicationError> {
        let mut request = SignedRequest::new("POST", "sns", &self.region, "/");
        let mut params = Params::new();
        params.put("Action", "DeletePlatformApplication");
        params.put("Version", "2010-03-31");
        DeletePlatformApplicationInputSerializer::serialize(&mut params, "", &input);
        request.set_payload(Some(serde_urlencoded::to_string(&params).unwrap()));
        request.set_content_type("application/x-www-form-urlencoded".to_owned());
        self.client.sign_and_dispatch(request, |response| {
            if !response.status.is_success() {
                return Box::new(response.buffer().from_err().and_then(|response| {
                    Err(DeletePlatformApplicationError::from_response(response))
                }));
            }
            Box::new(future::ok(::std::mem::drop(response)))
        })
    }
fn delete_platform_application ( & self , input : DeletePlatformApplicationInput , ) -> RusotoFuture < ( ) , DeletePlatformApplicationError > { let mut request = SignedRequest :: new ( " " , " " , & self . region , " " ) ; let mut params = Params :: new ( ) ; params . put ( " " , " " ) ; params . put ( " " , " " ) ; DeletePlatformApplicationInputSerializer :: serialize ( & mut params , " " , & input ) ; request . set_payload ( Some ( serde_urlencoded :: to_string ( & params ) . unwrap ( ) ) ) ; request . set_content_type ( " " . to_owned ( ) ) ; self . client . sign_and_dispatch ( request , | response | { if ! response . status . is_success ( ) { return Box :: new ( response . buffer ( ) . from_err ( ) . and_then ( | response | { Err ( DeletePlatformApplicationError :: from_response ( response ) ) } ) ) ; } Box :: new ( future :: ok ( :: std :: mem :: drop ( response ) ) ) } ) }
<p>Deletes a platform application object for one of the supported push notification services, such as APNS and GCM.
<p > Deletes a platform application object for one of the supported push notification services such as APNS and GCM .
&self
input
DeletePlatformApplicationInput