#[non_exhaustive]pub struct UpdateTableReplicaAutoScalingInput { /* private fields */ }
Implementations§
source§impl UpdateTableReplicaAutoScalingInput
impl UpdateTableReplicaAutoScalingInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateTableReplicaAutoScaling, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateTableReplicaAutoScaling, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<UpdateTableReplicaAutoScaling
>
Examples found in repository?
src/client.rs (line 8336)
8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364
pub async fn customize(
self,
) -> std::result::Result<
crate::operation::customize::CustomizableOperation<
crate::operation::UpdateTableReplicaAutoScaling,
aws_http::retry::AwsResponseRetryClassifier,
>,
aws_smithy_http::result::SdkError<crate::error::UpdateTableReplicaAutoScalingError>,
> {
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::UpdateTableReplicaAutoScalingOutput,
aws_smithy_http::result::SdkError<crate::error::UpdateTableReplicaAutoScalingError>,
> {
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 UpdateTableReplicaAutoScalingInput
.
source§impl UpdateTableReplicaAutoScalingInput
impl UpdateTableReplicaAutoScalingInput
sourcepub fn global_secondary_index_updates(
&self
) -> Option<&[GlobalSecondaryIndexAutoScalingUpdate]>
pub fn global_secondary_index_updates(
&self
) -> Option<&[GlobalSecondaryIndexAutoScalingUpdate]>
Represents the auto scaling settings of the global secondary indexes of the replica to be updated.
sourcepub fn table_name(&self) -> Option<&str>
pub fn table_name(&self) -> Option<&str>
The name of the global table to be updated.
sourcepub fn provisioned_write_capacity_auto_scaling_update(
&self
) -> Option<&AutoScalingSettingsUpdate>
pub fn provisioned_write_capacity_auto_scaling_update(
&self
) -> Option<&AutoScalingSettingsUpdate>
Represents the auto scaling settings to be modified for a global table or global secondary index.
sourcepub fn replica_updates(&self) -> Option<&[ReplicaAutoScalingUpdate]>
pub fn replica_updates(&self) -> Option<&[ReplicaAutoScalingUpdate]>
Represents the auto scaling settings of replicas of the table that will be modified.
Trait Implementations§
source§impl Clone for UpdateTableReplicaAutoScalingInput
impl Clone for UpdateTableReplicaAutoScalingInput
source§fn clone(&self) -> UpdateTableReplicaAutoScalingInput
fn clone(&self) -> UpdateTableReplicaAutoScalingInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more