#[non_exhaustive]pub struct UpdateGlobalTableSettingsInput { /* private fields */ }
Implementations§
source§impl UpdateGlobalTableSettingsInput
impl UpdateGlobalTableSettingsInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateGlobalTableSettings, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateGlobalTableSettings, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateGlobalTableSettings
>
Examples found in repository?
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
}
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture UpdateGlobalTableSettingsInput
.
source§impl UpdateGlobalTableSettingsInput
impl UpdateGlobalTableSettingsInput
sourcepub fn global_table_name(&self) -> Option<&str>
pub fn global_table_name(&self) -> Option<&str>
The name of the global table
sourcepub fn global_table_billing_mode(&self) -> Option<&BillingMode>
pub fn global_table_billing_mode(&self) -> Option<&BillingMode>
The billing mode of the global table. If GlobalTableBillingMode
is not specified, the global table defaults to PROVISIONED
capacity billing mode.
-
PROVISIONED
- We recommend usingPROVISIONED
for predictable workloads.PROVISIONED
sets the billing mode to Provisioned Mode. -
PAY_PER_REQUEST
- We recommend usingPAY_PER_REQUEST
for unpredictable workloads.PAY_PER_REQUEST
sets the billing mode to On-Demand Mode.
sourcepub fn global_table_provisioned_write_capacity_units(&self) -> Option<i64>
pub fn global_table_provisioned_write_capacity_units(&self) -> Option<i64>
The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException.
sourcepub fn global_table_provisioned_write_capacity_auto_scaling_settings_update(
&self
) -> Option<&AutoScalingSettingsUpdate>
pub fn global_table_provisioned_write_capacity_auto_scaling_settings_update(
&self
) -> Option<&AutoScalingSettingsUpdate>
Auto scaling settings for managing provisioned write capacity for the global table.
sourcepub fn global_table_global_secondary_index_settings_update(
&self
) -> Option<&[GlobalTableGlobalSecondaryIndexSettingsUpdate]>
pub fn global_table_global_secondary_index_settings_update(
&self
) -> Option<&[GlobalTableGlobalSecondaryIndexSettingsUpdate]>
Represents the settings of a global secondary index for a global table that will be modified.
sourcepub fn replica_settings_update(&self) -> Option<&[ReplicaSettingsUpdate]>
pub fn replica_settings_update(&self) -> Option<&[ReplicaSettingsUpdate]>
Represents the settings for a global table in a Region that will be modified.
Trait Implementations§
source§impl Clone for UpdateGlobalTableSettingsInput
impl Clone for UpdateGlobalTableSettingsInput
source§fn clone(&self) -> UpdateGlobalTableSettingsInput
fn clone(&self) -> UpdateGlobalTableSettingsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more