1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UnsubscribeFromDataset`](crate::operation::unsubscribe_from_dataset::builders::UnsubscribeFromDatasetFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`identity_pool_id(impl Into<String>)`](crate::operation::unsubscribe_from_dataset::builders::UnsubscribeFromDatasetFluentBuilder::identity_pool_id) / [`set_identity_pool_id(Option<String>)`](crate::operation::unsubscribe_from_dataset::builders::UnsubscribeFromDatasetFluentBuilder::set_identity_pool_id): <p>A name-spaced GUID (for example, us-east-1:23EC4050-6AEA-7089-A2DD-08002EXAMPLE) created by Amazon Cognito. The ID of the pool to which this identity belongs.</p>
    ///   - [`identity_id(impl Into<String>)`](crate::operation::unsubscribe_from_dataset::builders::UnsubscribeFromDatasetFluentBuilder::identity_id) / [`set_identity_id(Option<String>)`](crate::operation::unsubscribe_from_dataset::builders::UnsubscribeFromDatasetFluentBuilder::set_identity_id): <p>Unique ID for this identity.</p>
    ///   - [`dataset_name(impl Into<String>)`](crate::operation::unsubscribe_from_dataset::builders::UnsubscribeFromDatasetFluentBuilder::dataset_name) / [`set_dataset_name(Option<String>)`](crate::operation::unsubscribe_from_dataset::builders::UnsubscribeFromDatasetFluentBuilder::set_dataset_name): <p>The name of the dataset from which to unsubcribe.</p>
    ///   - [`device_id(impl Into<String>)`](crate::operation::unsubscribe_from_dataset::builders::UnsubscribeFromDatasetFluentBuilder::device_id) / [`set_device_id(Option<String>)`](crate::operation::unsubscribe_from_dataset::builders::UnsubscribeFromDatasetFluentBuilder::set_device_id): <p>The unique ID generated for this device by Cognito.</p>
    /// - On success, responds with [`UnsubscribeFromDatasetOutput`](crate::operation::unsubscribe_from_dataset::UnsubscribeFromDatasetOutput)
    /// - On failure, responds with [`SdkError<UnsubscribeFromDatasetError>`](crate::operation::unsubscribe_from_dataset::UnsubscribeFromDatasetError)
    pub fn unsubscribe_from_dataset(
        &self,
    ) -> crate::operation::unsubscribe_from_dataset::builders::UnsubscribeFromDatasetFluentBuilder
    {
        crate::operation::unsubscribe_from_dataset::builders::UnsubscribeFromDatasetFluentBuilder::new(self.handle.clone())
    }
}