aws_sdk_connect/client/
delete_push_notification_registration.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeletePushNotificationRegistration`](crate::operation::delete_push_notification_registration::builders::DeletePushNotificationRegistrationFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`instance_id(impl Into<String>)`](crate::operation::delete_push_notification_registration::builders::DeletePushNotificationRegistrationFluentBuilder::instance_id) / [`set_instance_id(Option<String>)`](crate::operation::delete_push_notification_registration::builders::DeletePushNotificationRegistrationFluentBuilder::set_instance_id):<br>required: **true**<br><p>The identifier of the Amazon Connect instance. You can <a href="https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html">find the instance ID</a> in the Amazon Resource Name (ARN) of the instance.</p><br>
7    ///   - [`registration_id(impl Into<String>)`](crate::operation::delete_push_notification_registration::builders::DeletePushNotificationRegistrationFluentBuilder::registration_id) / [`set_registration_id(Option<String>)`](crate::operation::delete_push_notification_registration::builders::DeletePushNotificationRegistrationFluentBuilder::set_registration_id):<br>required: **true**<br><p>The identifier for the registration.</p><br>
8    ///   - [`contact_id(impl Into<String>)`](crate::operation::delete_push_notification_registration::builders::DeletePushNotificationRegistrationFluentBuilder::contact_id) / [`set_contact_id(Option<String>)`](crate::operation::delete_push_notification_registration::builders::DeletePushNotificationRegistrationFluentBuilder::set_contact_id):<br>required: **true**<br><p>The identifier of the contact within the Amazon Connect instance.</p><br>
9    /// - On success, responds with [`DeletePushNotificationRegistrationOutput`](crate::operation::delete_push_notification_registration::DeletePushNotificationRegistrationOutput)
10    /// - On failure, responds with [`SdkError<DeletePushNotificationRegistrationError>`](crate::operation::delete_push_notification_registration::DeletePushNotificationRegistrationError)
11    pub fn delete_push_notification_registration(
12        &self,
13    ) -> crate::operation::delete_push_notification_registration::builders::DeletePushNotificationRegistrationFluentBuilder {
14        crate::operation::delete_push_notification_registration::builders::DeletePushNotificationRegistrationFluentBuilder::new(self.handle.clone())
15    }
16}