aws-sdk-cognitosync 1.99.0

AWS SDK for Amazon Cognito Sync
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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):<br>required: **true**<br><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><br>
    ///   - [`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):<br>required: **true**<br><p>Unique ID for this identity.</p><br>
    ///   - [`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):<br>required: **true**<br><p>The name of the dataset from which to unsubcribe.</p><br>
    ///   - [`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):<br>required: **true**<br><p>The unique ID generated for this device by Cognito.</p><br>
    /// - 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())
    }
}