aws_sdk_connect/client/
delete_push_notification_registration.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeletePushNotificationRegistration`](crate::operation::delete_push_notification_registration::builders::DeletePushNotificationRegistrationFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeletePushNotificationRegistrationOutput`](crate::operation::delete_push_notification_registration::DeletePushNotificationRegistrationOutput)
    /// - On failure, responds with [`SdkError<DeletePushNotificationRegistrationError>`](crate::operation::delete_push_notification_registration::DeletePushNotificationRegistrationError)
    pub fn delete_push_notification_registration(
        &self,
    ) -> crate::operation::delete_push_notification_registration::builders::DeletePushNotificationRegistrationFluentBuilder {
        crate::operation::delete_push_notification_registration::builders::DeletePushNotificationRegistrationFluentBuilder::new(self.handle.clone())
    }
}