pub struct Builder { /* private fields */ }
Expand description

A builder for UpdateDataSetInput.

Implementations§

The Amazon Web Services account ID.

Examples found in repository?
src/client.rs (line 13901)
13900
13901
13902
13903
        pub fn aws_account_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.aws_account_id(input.into());
            self
        }

The Amazon Web Services account ID.

Examples found in repository?
src/client.rs (line 13909)
13905
13906
13907
13908
13909
13910
13911
        pub fn set_aws_account_id(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.inner = self.inner.set_aws_account_id(input);
            self
        }

The ID for the dataset that you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

Examples found in repository?
src/client.rs (line 13914)
13913
13914
13915
13916
        pub fn data_set_id(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.data_set_id(input.into());
            self
        }

The ID for the dataset that you want to update. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

Examples found in repository?
src/client.rs (line 13919)
13918
13919
13920
13921
        pub fn set_data_set_id(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_data_set_id(input);
            self
        }

The display name for the dataset.

Examples found in repository?
src/client.rs (line 13924)
13923
13924
13925
13926
        pub fn name(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.name(input.into());
            self
        }

The display name for the dataset.

Examples found in repository?
src/client.rs (line 13929)
13928
13929
13930
13931
        pub fn set_name(mut self, input: std::option::Option<std::string::String>) -> Self {
            self.inner = self.inner.set_name(input);
            self
        }

Adds a key-value pair to physical_table_map.

To override the contents of this collection use set_physical_table_map.

Declares the physical tables that are available in the underlying data sources.

Examples found in repository?
src/client.rs (line 13942)
13937
13938
13939
13940
13941
13942
13943
13944
        pub fn physical_table_map(
            mut self,
            k: impl Into<std::string::String>,
            v: crate::model::PhysicalTable,
        ) -> Self {
            self.inner = self.inner.physical_table_map(k.into(), v);
            self
        }

Declares the physical tables that are available in the underlying data sources.

Examples found in repository?
src/client.rs (line 13952)
13946
13947
13948
13949
13950
13951
13952
13953
13954
        pub fn set_physical_table_map(
            mut self,
            input: std::option::Option<
                std::collections::HashMap<std::string::String, crate::model::PhysicalTable>,
            >,
        ) -> Self {
            self.inner = self.inner.set_physical_table_map(input);
            self
        }

Adds a key-value pair to logical_table_map.

To override the contents of this collection use set_logical_table_map.

Configures the combination and transformation of the data from the physical tables.

Examples found in repository?
src/client.rs (line 13965)
13960
13961
13962
13963
13964
13965
13966
13967
        pub fn logical_table_map(
            mut self,
            k: impl Into<std::string::String>,
            v: crate::model::LogicalTable,
        ) -> Self {
            self.inner = self.inner.logical_table_map(k.into(), v);
            self
        }

Configures the combination and transformation of the data from the physical tables.

Examples found in repository?
src/client.rs (line 13975)
13969
13970
13971
13972
13973
13974
13975
13976
13977
        pub fn set_logical_table_map(
            mut self,
            input: std::option::Option<
                std::collections::HashMap<std::string::String, crate::model::LogicalTable>,
            >,
        ) -> Self {
            self.inner = self.inner.set_logical_table_map(input);
            self
        }

Indicates whether you want to import the data into SPICE.

Examples found in repository?
src/client.rs (line 13980)
13979
13980
13981
13982
        pub fn import_mode(mut self, input: crate::model::DataSetImportMode) -> Self {
            self.inner = self.inner.import_mode(input);
            self
        }

Indicates whether you want to import the data into SPICE.

Examples found in repository?
src/client.rs (line 13988)
13984
13985
13986
13987
13988
13989
13990
        pub fn set_import_mode(
            mut self,
            input: std::option::Option<crate::model::DataSetImportMode>,
        ) -> Self {
            self.inner = self.inner.set_import_mode(input);
            self
        }

Appends an item to column_groups.

To override the contents of this collection use set_column_groups.

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

Examples found in repository?
src/client.rs (line 13997)
13996
13997
13998
13999
        pub fn column_groups(mut self, input: crate::model::ColumnGroup) -> Self {
            self.inner = self.inner.column_groups(input);
            self
        }

Groupings of columns that work together in certain Amazon QuickSight features. Currently, only geospatial hierarchy is supported.

Examples found in repository?
src/client.rs (line 14005)
14001
14002
14003
14004
14005
14006
14007
        pub fn set_column_groups(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::ColumnGroup>>,
        ) -> Self {
            self.inner = self.inner.set_column_groups(input);
            self
        }

Adds a key-value pair to field_folders.

To override the contents of this collection use set_field_folders.

The folder that contains fields and nested subfolders for your dataset.

Examples found in repository?
src/client.rs (line 14018)
14013
14014
14015
14016
14017
14018
14019
14020
        pub fn field_folders(
            mut self,
            k: impl Into<std::string::String>,
            v: crate::model::FieldFolder,
        ) -> Self {
            self.inner = self.inner.field_folders(k.into(), v);
            self
        }

The folder that contains fields and nested subfolders for your dataset.

Examples found in repository?
src/client.rs (line 14028)
14022
14023
14024
14025
14026
14027
14028
14029
14030
        pub fn set_field_folders(
            mut self,
            input: std::option::Option<
                std::collections::HashMap<std::string::String, crate::model::FieldFolder>,
            >,
        ) -> Self {
            self.inner = self.inner.set_field_folders(input);
            self
        }

The row-level security configuration for the data you want to create.

Examples found in repository?
src/client.rs (line 14036)
14032
14033
14034
14035
14036
14037
14038
        pub fn row_level_permission_data_set(
            mut self,
            input: crate::model::RowLevelPermissionDataSet,
        ) -> Self {
            self.inner = self.inner.row_level_permission_data_set(input);
            self
        }

The row-level security configuration for the data you want to create.

Examples found in repository?
src/client.rs (line 14044)
14040
14041
14042
14043
14044
14045
14046
        pub fn set_row_level_permission_data_set(
            mut self,
            input: std::option::Option<crate::model::RowLevelPermissionDataSet>,
        ) -> Self {
            self.inner = self.inner.set_row_level_permission_data_set(input);
            self
        }

The configuration of tags on a dataset to set row-level security. Row-level security tags are currently supported for anonymous embedding only.

Examples found in repository?
src/client.rs (line 14052)
14048
14049
14050
14051
14052
14053
14054
        pub fn row_level_permission_tag_configuration(
            mut self,
            input: crate::model::RowLevelPermissionTagConfiguration,
        ) -> Self {
            self.inner = self.inner.row_level_permission_tag_configuration(input);
            self
        }

The configuration of tags on a dataset to set row-level security. Row-level security tags are currently supported for anonymous embedding only.

Examples found in repository?
src/client.rs (line 14060)
14056
14057
14058
14059
14060
14061
14062
        pub fn set_row_level_permission_tag_configuration(
            mut self,
            input: std::option::Option<crate::model::RowLevelPermissionTagConfiguration>,
        ) -> Self {
            self.inner = self.inner.set_row_level_permission_tag_configuration(input);
            self
        }

Appends an item to column_level_permission_rules.

To override the contents of this collection use set_column_level_permission_rules.

A set of one or more definitions of a ColumnLevelPermissionRule .

Examples found in repository?
src/client.rs (line 14072)
14068
14069
14070
14071
14072
14073
14074
        pub fn column_level_permission_rules(
            mut self,
            input: crate::model::ColumnLevelPermissionRule,
        ) -> Self {
            self.inner = self.inner.column_level_permission_rules(input);
            self
        }

A set of one or more definitions of a ColumnLevelPermissionRule .

Examples found in repository?
src/client.rs (line 14080)
14076
14077
14078
14079
14080
14081
14082
        pub fn set_column_level_permission_rules(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::ColumnLevelPermissionRule>>,
        ) -> Self {
            self.inner = self.inner.set_column_level_permission_rules(input);
            self
        }

The usage configuration to apply to child datasets that reference this dataset as a source.

Examples found in repository?
src/client.rs (line 14088)
14084
14085
14086
14087
14088
14089
14090
        pub fn data_set_usage_configuration(
            mut self,
            input: crate::model::DataSetUsageConfiguration,
        ) -> Self {
            self.inner = self.inner.data_set_usage_configuration(input);
            self
        }

The usage configuration to apply to child datasets that reference this dataset as a source.

Examples found in repository?
src/client.rs (line 14096)
14092
14093
14094
14095
14096
14097
14098
        pub fn set_data_set_usage_configuration(
            mut self,
            input: std::option::Option<crate::model::DataSetUsageConfiguration>,
        ) -> Self {
            self.inner = self.inner.set_data_set_usage_configuration(input);
            self
        }

Consumes the builder and constructs a UpdateDataSetInput.

Examples found in repository?
src/client.rs (line 13868)
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
        pub async fn customize(
            self,
        ) -> std::result::Result<
            crate::operation::customize::CustomizableOperation<
                crate::operation::UpdateDataSet,
                aws_http::retry::AwsResponseRetryClassifier,
            >,
            aws_smithy_http::result::SdkError<crate::error::UpdateDataSetError>,
        > {
            let handle = self.handle.clone();
            let operation = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            Ok(crate::operation::customize::CustomizableOperation { handle, operation })
        }

        /// Sends the request and returns the response.
        ///
        /// If an error occurs, an `SdkError` will be returned with additional details that
        /// can be matched against.
        ///
        /// By default, any retryable failures will be retried twice. Retry behavior
        /// is configurable with the [RetryConfig](aws_smithy_types::retry::RetryConfig), which can be
        /// set when configuring the client.
        pub async fn send(
            self,
        ) -> std::result::Result<
            crate::output::UpdateDataSetOutput,
            aws_smithy_http::result::SdkError<crate::error::UpdateDataSetError>,
        > {
            let op = self
                .inner
                .build()
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?
                .make_operation(&self.handle.conf)
                .await
                .map_err(aws_smithy_http::result::SdkError::construction_failure)?;
            self.handle.client.call(op).await
        }

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self
The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more