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

Implementations§

The name of the global table

Examples found in repository?
src/client.rs (line 7531)
7530
7531
7532
7533
        pub fn global_table_name(mut self, input: impl Into<std::string::String>) -> Self {
            self.inner = self.inner.global_table_name(input.into());
            self
        }

The name of the global table

Examples found in repository?
src/client.rs (line 7539)
7535
7536
7537
7538
7539
7540
7541
        pub fn set_global_table_name(
            mut self,
            input: std::option::Option<std::string::String>,
        ) -> Self {
            self.inner = self.inner.set_global_table_name(input);
            self
        }

The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table defaults to PROVISIONED capacity billing mode.

  • PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.

  • PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode.

Examples found in repository?
src/client.rs (line 7548)
7547
7548
7549
7550
        pub fn global_table_billing_mode(mut self, input: crate::model::BillingMode) -> Self {
            self.inner = self.inner.global_table_billing_mode(input);
            self
        }

The billing mode of the global table. If GlobalTableBillingMode is not specified, the global table defaults to PROVISIONED capacity billing mode.

  • PROVISIONED - We recommend using PROVISIONED for predictable workloads. PROVISIONED sets the billing mode to Provisioned Mode.

  • PAY_PER_REQUEST - We recommend using PAY_PER_REQUEST for unpredictable workloads. PAY_PER_REQUEST sets the billing mode to On-Demand Mode.

Examples found in repository?
src/client.rs (line 7560)
7556
7557
7558
7559
7560
7561
7562
        pub fn set_global_table_billing_mode(
            mut self,
            input: std::option::Option<crate::model::BillingMode>,
        ) -> Self {
            self.inner = self.inner.set_global_table_billing_mode(input);
            self
        }

The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.

Examples found in repository?
src/client.rs (line 7567)
7564
7565
7566
7567
7568
7569
        pub fn global_table_provisioned_write_capacity_units(mut self, input: i64) -> Self {
            self.inner = self
                .inner
                .global_table_provisioned_write_capacity_units(input);
            self
        }

The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.

Examples found in repository?
src/client.rs (line 7577)
7571
7572
7573
7574
7575
7576
7577
7578
7579
        pub fn set_global_table_provisioned_write_capacity_units(
            mut self,
            input: std::option::Option<i64>,
        ) -> Self {
            self.inner = self
                .inner
                .set_global_table_provisioned_write_capacity_units(input);
            self
        }

Auto scaling settings for managing provisioned write capacity for the global table.

Examples found in repository?
src/client.rs (line 7587)
7581
7582
7583
7584
7585
7586
7587
7588
7589
        pub fn global_table_provisioned_write_capacity_auto_scaling_settings_update(
            mut self,
            input: crate::model::AutoScalingSettingsUpdate,
        ) -> Self {
            self.inner = self
                .inner
                .global_table_provisioned_write_capacity_auto_scaling_settings_update(input);
            self
        }

Auto scaling settings for managing provisioned write capacity for the global table.

Examples found in repository?
src/client.rs (line 7597)
7591
7592
7593
7594
7595
7596
7597
7598
7599
        pub fn set_global_table_provisioned_write_capacity_auto_scaling_settings_update(
            mut self,
            input: std::option::Option<crate::model::AutoScalingSettingsUpdate>,
        ) -> Self {
            self.inner = self
                .inner
                .set_global_table_provisioned_write_capacity_auto_scaling_settings_update(input);
            self
        }

Appends an item to global_table_global_secondary_index_settings_update.

To override the contents of this collection use set_global_table_global_secondary_index_settings_update.

Represents the settings of a global secondary index for a global table that will be modified.

Examples found in repository?
src/client.rs (line 7611)
7605
7606
7607
7608
7609
7610
7611
7612
7613
        pub fn global_table_global_secondary_index_settings_update(
            mut self,
            input: crate::model::GlobalTableGlobalSecondaryIndexSettingsUpdate,
        ) -> Self {
            self.inner = self
                .inner
                .global_table_global_secondary_index_settings_update(input);
            self
        }

Represents the settings of a global secondary index for a global table that will be modified.

Examples found in repository?
src/client.rs (line 7623)
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
        pub fn set_global_table_global_secondary_index_settings_update(
            mut self,
            input: std::option::Option<
                std::vec::Vec<crate::model::GlobalTableGlobalSecondaryIndexSettingsUpdate>,
            >,
        ) -> Self {
            self.inner = self
                .inner
                .set_global_table_global_secondary_index_settings_update(input);
            self
        }

Appends an item to replica_settings_update.

To override the contents of this collection use set_replica_settings_update.

Represents the settings for a global table in a Region that will be modified.

Examples found in repository?
src/client.rs (line 7635)
7631
7632
7633
7634
7635
7636
7637
        pub fn replica_settings_update(
            mut self,
            input: crate::model::ReplicaSettingsUpdate,
        ) -> Self {
            self.inner = self.inner.replica_settings_update(input);
            self
        }

Represents the settings for a global table in a Region that will be modified.

Examples found in repository?
src/client.rs (line 7643)
7639
7640
7641
7642
7643
7644
7645
        pub fn set_replica_settings_update(
            mut self,
            input: std::option::Option<std::vec::Vec<crate::model::ReplicaSettingsUpdate>>,
        ) -> Self {
            self.inner = self.inner.set_replica_settings_update(input);
            self
        }

Consumes the builder and constructs a UpdateGlobalTableSettingsInput.

Examples found in repository?
src/client.rs (line 7498)
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
        pub async fn customize(
            self,
        ) -> std::result::Result<
            crate::operation::customize::CustomizableOperation<
                crate::operation::UpdateGlobalTableSettings,
                aws_http::retry::AwsResponseRetryClassifier,
            >,
            aws_smithy_http::result::SdkError<crate::error::UpdateGlobalTableSettingsError>,
        > {
            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::UpdateGlobalTableSettingsOutput,
            aws_smithy_http::result::SdkError<crate::error::UpdateGlobalTableSettingsError>,
        > {
            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