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

Implementations§

The Region name of the replica.

The Region name of the replica.

Examples found in repository?
src/json_deser.rs (lines 8463-8469)
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
pub(crate) fn deser_structure_crate_model_replica_settings_description<'a, I>(
    tokens: &mut std::iter::Peekable<I>,
) -> Result<
    Option<crate::model::ReplicaSettingsDescription>,
    aws_smithy_json::deserialize::error::DeserializeError,
>
where
    I: Iterator<
        Item = Result<
            aws_smithy_json::deserialize::Token<'a>,
            aws_smithy_json::deserialize::error::DeserializeError,
        >,
    >,
{
    match tokens.next().transpose()? {
        Some(aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None),
        Some(aws_smithy_json::deserialize::Token::StartObject { .. }) => {
            #[allow(unused_mut)]
            let mut builder = crate::model::replica_settings_description::Builder::default();
            loop {
                match tokens.next().transpose()? {
                    Some(aws_smithy_json::deserialize::Token::EndObject { .. }) => break,
                    Some(aws_smithy_json::deserialize::Token::ObjectKey { key, .. }) => {
                        match key.to_unescaped()?.as_ref() {
                            "RegionName" => {
                                builder = builder.set_region_name(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| s.to_unescaped().map(|u| u.into_owned()))
                                    .transpose()?,
                                );
                            }
                            "ReplicaStatus" => {
                                builder = builder.set_replica_status(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| {
                                        s.to_unescaped()
                                            .map(|u| crate::model::ReplicaStatus::from(u.as_ref()))
                                    })
                                    .transpose()?,
                                );
                            }
                            "ReplicaBillingModeSummary" => {
                                builder = builder.set_replica_billing_mode_summary(
                                    crate::json_deser::deser_structure_crate_model_billing_mode_summary(tokens)?
                                );
                            }
                            "ReplicaProvisionedReadCapacityUnits" => {
                                builder = builder.set_replica_provisioned_read_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedReadCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_read_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaProvisionedWriteCapacityUnits" => {
                                builder = builder.set_replica_provisioned_write_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedWriteCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_write_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaGlobalSecondaryIndexSettings" => {
                                builder = builder.set_replica_global_secondary_index_settings(
                                    crate::json_deser::deser_list_com_amazonaws_dynamodb_replica_global_secondary_index_settings_description_list(tokens)?
                                );
                            }
                            "ReplicaTableClassSummary" => {
                                builder = builder.set_replica_table_class_summary(
                                    crate::json_deser::deser_structure_crate_model_table_class_summary(tokens)?
                                );
                            }
                            _ => aws_smithy_json::deserialize::token::skip_value(tokens)?,
                        }
                    }
                    other => {
                        return Err(
                            aws_smithy_json::deserialize::error::DeserializeError::custom(format!(
                                "expected object key or end object, found: {:?}",
                                other
                            )),
                        )
                    }
                }
            }
            Ok(Some(builder.build()))
        }
        _ => Err(
            aws_smithy_json::deserialize::error::DeserializeError::custom(
                "expected start object or null",
            ),
        ),
    }
}

The current state of the Region:

  • CREATING - The Region is being created.

  • UPDATING - The Region is being updated.

  • DELETING - The Region is being deleted.

  • ACTIVE - The Region is ready for use.

The current state of the Region:

  • CREATING - The Region is being created.

  • UPDATING - The Region is being updated.

  • DELETING - The Region is being deleted.

  • ACTIVE - The Region is ready for use.

Examples found in repository?
src/json_deser.rs (lines 8472-8481)
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
pub(crate) fn deser_structure_crate_model_replica_settings_description<'a, I>(
    tokens: &mut std::iter::Peekable<I>,
) -> Result<
    Option<crate::model::ReplicaSettingsDescription>,
    aws_smithy_json::deserialize::error::DeserializeError,
>
where
    I: Iterator<
        Item = Result<
            aws_smithy_json::deserialize::Token<'a>,
            aws_smithy_json::deserialize::error::DeserializeError,
        >,
    >,
{
    match tokens.next().transpose()? {
        Some(aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None),
        Some(aws_smithy_json::deserialize::Token::StartObject { .. }) => {
            #[allow(unused_mut)]
            let mut builder = crate::model::replica_settings_description::Builder::default();
            loop {
                match tokens.next().transpose()? {
                    Some(aws_smithy_json::deserialize::Token::EndObject { .. }) => break,
                    Some(aws_smithy_json::deserialize::Token::ObjectKey { key, .. }) => {
                        match key.to_unescaped()?.as_ref() {
                            "RegionName" => {
                                builder = builder.set_region_name(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| s.to_unescaped().map(|u| u.into_owned()))
                                    .transpose()?,
                                );
                            }
                            "ReplicaStatus" => {
                                builder = builder.set_replica_status(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| {
                                        s.to_unescaped()
                                            .map(|u| crate::model::ReplicaStatus::from(u.as_ref()))
                                    })
                                    .transpose()?,
                                );
                            }
                            "ReplicaBillingModeSummary" => {
                                builder = builder.set_replica_billing_mode_summary(
                                    crate::json_deser::deser_structure_crate_model_billing_mode_summary(tokens)?
                                );
                            }
                            "ReplicaProvisionedReadCapacityUnits" => {
                                builder = builder.set_replica_provisioned_read_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedReadCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_read_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaProvisionedWriteCapacityUnits" => {
                                builder = builder.set_replica_provisioned_write_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedWriteCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_write_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaGlobalSecondaryIndexSettings" => {
                                builder = builder.set_replica_global_secondary_index_settings(
                                    crate::json_deser::deser_list_com_amazonaws_dynamodb_replica_global_secondary_index_settings_description_list(tokens)?
                                );
                            }
                            "ReplicaTableClassSummary" => {
                                builder = builder.set_replica_table_class_summary(
                                    crate::json_deser::deser_structure_crate_model_table_class_summary(tokens)?
                                );
                            }
                            _ => aws_smithy_json::deserialize::token::skip_value(tokens)?,
                        }
                    }
                    other => {
                        return Err(
                            aws_smithy_json::deserialize::error::DeserializeError::custom(format!(
                                "expected object key or end object, found: {:?}",
                                other
                            )),
                        )
                    }
                }
            }
            Ok(Some(builder.build()))
        }
        _ => Err(
            aws_smithy_json::deserialize::error::DeserializeError::custom(
                "expected start object or null",
            ),
        ),
    }
}

The read/write capacity mode of the replica.

The read/write capacity mode of the replica.

Examples found in repository?
src/json_deser.rs (lines 8484-8486)
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
pub(crate) fn deser_structure_crate_model_replica_settings_description<'a, I>(
    tokens: &mut std::iter::Peekable<I>,
) -> Result<
    Option<crate::model::ReplicaSettingsDescription>,
    aws_smithy_json::deserialize::error::DeserializeError,
>
where
    I: Iterator<
        Item = Result<
            aws_smithy_json::deserialize::Token<'a>,
            aws_smithy_json::deserialize::error::DeserializeError,
        >,
    >,
{
    match tokens.next().transpose()? {
        Some(aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None),
        Some(aws_smithy_json::deserialize::Token::StartObject { .. }) => {
            #[allow(unused_mut)]
            let mut builder = crate::model::replica_settings_description::Builder::default();
            loop {
                match tokens.next().transpose()? {
                    Some(aws_smithy_json::deserialize::Token::EndObject { .. }) => break,
                    Some(aws_smithy_json::deserialize::Token::ObjectKey { key, .. }) => {
                        match key.to_unescaped()?.as_ref() {
                            "RegionName" => {
                                builder = builder.set_region_name(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| s.to_unescaped().map(|u| u.into_owned()))
                                    .transpose()?,
                                );
                            }
                            "ReplicaStatus" => {
                                builder = builder.set_replica_status(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| {
                                        s.to_unescaped()
                                            .map(|u| crate::model::ReplicaStatus::from(u.as_ref()))
                                    })
                                    .transpose()?,
                                );
                            }
                            "ReplicaBillingModeSummary" => {
                                builder = builder.set_replica_billing_mode_summary(
                                    crate::json_deser::deser_structure_crate_model_billing_mode_summary(tokens)?
                                );
                            }
                            "ReplicaProvisionedReadCapacityUnits" => {
                                builder = builder.set_replica_provisioned_read_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedReadCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_read_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaProvisionedWriteCapacityUnits" => {
                                builder = builder.set_replica_provisioned_write_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedWriteCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_write_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaGlobalSecondaryIndexSettings" => {
                                builder = builder.set_replica_global_secondary_index_settings(
                                    crate::json_deser::deser_list_com_amazonaws_dynamodb_replica_global_secondary_index_settings_description_list(tokens)?
                                );
                            }
                            "ReplicaTableClassSummary" => {
                                builder = builder.set_replica_table_class_summary(
                                    crate::json_deser::deser_structure_crate_model_table_class_summary(tokens)?
                                );
                            }
                            _ => aws_smithy_json::deserialize::token::skip_value(tokens)?,
                        }
                    }
                    other => {
                        return Err(
                            aws_smithy_json::deserialize::error::DeserializeError::custom(format!(
                                "expected object key or end object, found: {:?}",
                                other
                            )),
                        )
                    }
                }
            }
            Ok(Some(builder.build()))
        }
        _ => Err(
            aws_smithy_json::deserialize::error::DeserializeError::custom(
                "expected start object or null",
            ),
        ),
    }
}

The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.

The maximum number of strongly consistent reads consumed per second before DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.

Examples found in repository?
src/json_deser.rs (lines 8489-8495)
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
pub(crate) fn deser_structure_crate_model_replica_settings_description<'a, I>(
    tokens: &mut std::iter::Peekable<I>,
) -> Result<
    Option<crate::model::ReplicaSettingsDescription>,
    aws_smithy_json::deserialize::error::DeserializeError,
>
where
    I: Iterator<
        Item = Result<
            aws_smithy_json::deserialize::Token<'a>,
            aws_smithy_json::deserialize::error::DeserializeError,
        >,
    >,
{
    match tokens.next().transpose()? {
        Some(aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None),
        Some(aws_smithy_json::deserialize::Token::StartObject { .. }) => {
            #[allow(unused_mut)]
            let mut builder = crate::model::replica_settings_description::Builder::default();
            loop {
                match tokens.next().transpose()? {
                    Some(aws_smithy_json::deserialize::Token::EndObject { .. }) => break,
                    Some(aws_smithy_json::deserialize::Token::ObjectKey { key, .. }) => {
                        match key.to_unescaped()?.as_ref() {
                            "RegionName" => {
                                builder = builder.set_region_name(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| s.to_unescaped().map(|u| u.into_owned()))
                                    .transpose()?,
                                );
                            }
                            "ReplicaStatus" => {
                                builder = builder.set_replica_status(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| {
                                        s.to_unescaped()
                                            .map(|u| crate::model::ReplicaStatus::from(u.as_ref()))
                                    })
                                    .transpose()?,
                                );
                            }
                            "ReplicaBillingModeSummary" => {
                                builder = builder.set_replica_billing_mode_summary(
                                    crate::json_deser::deser_structure_crate_model_billing_mode_summary(tokens)?
                                );
                            }
                            "ReplicaProvisionedReadCapacityUnits" => {
                                builder = builder.set_replica_provisioned_read_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedReadCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_read_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaProvisionedWriteCapacityUnits" => {
                                builder = builder.set_replica_provisioned_write_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedWriteCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_write_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaGlobalSecondaryIndexSettings" => {
                                builder = builder.set_replica_global_secondary_index_settings(
                                    crate::json_deser::deser_list_com_amazonaws_dynamodb_replica_global_secondary_index_settings_description_list(tokens)?
                                );
                            }
                            "ReplicaTableClassSummary" => {
                                builder = builder.set_replica_table_class_summary(
                                    crate::json_deser::deser_structure_crate_model_table_class_summary(tokens)?
                                );
                            }
                            _ => aws_smithy_json::deserialize::token::skip_value(tokens)?,
                        }
                    }
                    other => {
                        return Err(
                            aws_smithy_json::deserialize::error::DeserializeError::custom(format!(
                                "expected object key or end object, found: {:?}",
                                other
                            )),
                        )
                    }
                }
            }
            Ok(Some(builder.build()))
        }
        _ => Err(
            aws_smithy_json::deserialize::error::DeserializeError::custom(
                "expected start object or null",
            ),
        ),
    }
}

Auto scaling settings for a global table replica's read capacity units.

Auto scaling settings for a global table replica's read capacity units.

Examples found in repository?
src/json_deser.rs (lines 8498-8500)
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
pub(crate) fn deser_structure_crate_model_replica_settings_description<'a, I>(
    tokens: &mut std::iter::Peekable<I>,
) -> Result<
    Option<crate::model::ReplicaSettingsDescription>,
    aws_smithy_json::deserialize::error::DeserializeError,
>
where
    I: Iterator<
        Item = Result<
            aws_smithy_json::deserialize::Token<'a>,
            aws_smithy_json::deserialize::error::DeserializeError,
        >,
    >,
{
    match tokens.next().transpose()? {
        Some(aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None),
        Some(aws_smithy_json::deserialize::Token::StartObject { .. }) => {
            #[allow(unused_mut)]
            let mut builder = crate::model::replica_settings_description::Builder::default();
            loop {
                match tokens.next().transpose()? {
                    Some(aws_smithy_json::deserialize::Token::EndObject { .. }) => break,
                    Some(aws_smithy_json::deserialize::Token::ObjectKey { key, .. }) => {
                        match key.to_unescaped()?.as_ref() {
                            "RegionName" => {
                                builder = builder.set_region_name(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| s.to_unescaped().map(|u| u.into_owned()))
                                    .transpose()?,
                                );
                            }
                            "ReplicaStatus" => {
                                builder = builder.set_replica_status(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| {
                                        s.to_unescaped()
                                            .map(|u| crate::model::ReplicaStatus::from(u.as_ref()))
                                    })
                                    .transpose()?,
                                );
                            }
                            "ReplicaBillingModeSummary" => {
                                builder = builder.set_replica_billing_mode_summary(
                                    crate::json_deser::deser_structure_crate_model_billing_mode_summary(tokens)?
                                );
                            }
                            "ReplicaProvisionedReadCapacityUnits" => {
                                builder = builder.set_replica_provisioned_read_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedReadCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_read_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaProvisionedWriteCapacityUnits" => {
                                builder = builder.set_replica_provisioned_write_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedWriteCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_write_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaGlobalSecondaryIndexSettings" => {
                                builder = builder.set_replica_global_secondary_index_settings(
                                    crate::json_deser::deser_list_com_amazonaws_dynamodb_replica_global_secondary_index_settings_description_list(tokens)?
                                );
                            }
                            "ReplicaTableClassSummary" => {
                                builder = builder.set_replica_table_class_summary(
                                    crate::json_deser::deser_structure_crate_model_table_class_summary(tokens)?
                                );
                            }
                            _ => aws_smithy_json::deserialize::token::skip_value(tokens)?,
                        }
                    }
                    other => {
                        return Err(
                            aws_smithy_json::deserialize::error::DeserializeError::custom(format!(
                                "expected object key or end object, found: {:?}",
                                other
                            )),
                        )
                    }
                }
            }
            Ok(Some(builder.build()))
        }
        _ => Err(
            aws_smithy_json::deserialize::error::DeserializeError::custom(
                "expected start object or null",
            ),
        ),
    }
}

The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.

The maximum number of writes consumed per second before DynamoDB returns a ThrottlingException. For more information, see Specifying Read and Write Requirements in the Amazon DynamoDB Developer Guide.

Examples found in repository?
src/json_deser.rs (lines 8503-8509)
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
pub(crate) fn deser_structure_crate_model_replica_settings_description<'a, I>(
    tokens: &mut std::iter::Peekable<I>,
) -> Result<
    Option<crate::model::ReplicaSettingsDescription>,
    aws_smithy_json::deserialize::error::DeserializeError,
>
where
    I: Iterator<
        Item = Result<
            aws_smithy_json::deserialize::Token<'a>,
            aws_smithy_json::deserialize::error::DeserializeError,
        >,
    >,
{
    match tokens.next().transpose()? {
        Some(aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None),
        Some(aws_smithy_json::deserialize::Token::StartObject { .. }) => {
            #[allow(unused_mut)]
            let mut builder = crate::model::replica_settings_description::Builder::default();
            loop {
                match tokens.next().transpose()? {
                    Some(aws_smithy_json::deserialize::Token::EndObject { .. }) => break,
                    Some(aws_smithy_json::deserialize::Token::ObjectKey { key, .. }) => {
                        match key.to_unescaped()?.as_ref() {
                            "RegionName" => {
                                builder = builder.set_region_name(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| s.to_unescaped().map(|u| u.into_owned()))
                                    .transpose()?,
                                );
                            }
                            "ReplicaStatus" => {
                                builder = builder.set_replica_status(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| {
                                        s.to_unescaped()
                                            .map(|u| crate::model::ReplicaStatus::from(u.as_ref()))
                                    })
                                    .transpose()?,
                                );
                            }
                            "ReplicaBillingModeSummary" => {
                                builder = builder.set_replica_billing_mode_summary(
                                    crate::json_deser::deser_structure_crate_model_billing_mode_summary(tokens)?
                                );
                            }
                            "ReplicaProvisionedReadCapacityUnits" => {
                                builder = builder.set_replica_provisioned_read_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedReadCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_read_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaProvisionedWriteCapacityUnits" => {
                                builder = builder.set_replica_provisioned_write_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedWriteCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_write_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaGlobalSecondaryIndexSettings" => {
                                builder = builder.set_replica_global_secondary_index_settings(
                                    crate::json_deser::deser_list_com_amazonaws_dynamodb_replica_global_secondary_index_settings_description_list(tokens)?
                                );
                            }
                            "ReplicaTableClassSummary" => {
                                builder = builder.set_replica_table_class_summary(
                                    crate::json_deser::deser_structure_crate_model_table_class_summary(tokens)?
                                );
                            }
                            _ => aws_smithy_json::deserialize::token::skip_value(tokens)?,
                        }
                    }
                    other => {
                        return Err(
                            aws_smithy_json::deserialize::error::DeserializeError::custom(format!(
                                "expected object key or end object, found: {:?}",
                                other
                            )),
                        )
                    }
                }
            }
            Ok(Some(builder.build()))
        }
        _ => Err(
            aws_smithy_json::deserialize::error::DeserializeError::custom(
                "expected start object or null",
            ),
        ),
    }
}

Auto scaling settings for a global table replica's write capacity units.

Auto scaling settings for a global table replica's write capacity units.

Examples found in repository?
src/json_deser.rs (lines 8512-8514)
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
pub(crate) fn deser_structure_crate_model_replica_settings_description<'a, I>(
    tokens: &mut std::iter::Peekable<I>,
) -> Result<
    Option<crate::model::ReplicaSettingsDescription>,
    aws_smithy_json::deserialize::error::DeserializeError,
>
where
    I: Iterator<
        Item = Result<
            aws_smithy_json::deserialize::Token<'a>,
            aws_smithy_json::deserialize::error::DeserializeError,
        >,
    >,
{
    match tokens.next().transpose()? {
        Some(aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None),
        Some(aws_smithy_json::deserialize::Token::StartObject { .. }) => {
            #[allow(unused_mut)]
            let mut builder = crate::model::replica_settings_description::Builder::default();
            loop {
                match tokens.next().transpose()? {
                    Some(aws_smithy_json::deserialize::Token::EndObject { .. }) => break,
                    Some(aws_smithy_json::deserialize::Token::ObjectKey { key, .. }) => {
                        match key.to_unescaped()?.as_ref() {
                            "RegionName" => {
                                builder = builder.set_region_name(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| s.to_unescaped().map(|u| u.into_owned()))
                                    .transpose()?,
                                );
                            }
                            "ReplicaStatus" => {
                                builder = builder.set_replica_status(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| {
                                        s.to_unescaped()
                                            .map(|u| crate::model::ReplicaStatus::from(u.as_ref()))
                                    })
                                    .transpose()?,
                                );
                            }
                            "ReplicaBillingModeSummary" => {
                                builder = builder.set_replica_billing_mode_summary(
                                    crate::json_deser::deser_structure_crate_model_billing_mode_summary(tokens)?
                                );
                            }
                            "ReplicaProvisionedReadCapacityUnits" => {
                                builder = builder.set_replica_provisioned_read_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedReadCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_read_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaProvisionedWriteCapacityUnits" => {
                                builder = builder.set_replica_provisioned_write_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedWriteCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_write_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaGlobalSecondaryIndexSettings" => {
                                builder = builder.set_replica_global_secondary_index_settings(
                                    crate::json_deser::deser_list_com_amazonaws_dynamodb_replica_global_secondary_index_settings_description_list(tokens)?
                                );
                            }
                            "ReplicaTableClassSummary" => {
                                builder = builder.set_replica_table_class_summary(
                                    crate::json_deser::deser_structure_crate_model_table_class_summary(tokens)?
                                );
                            }
                            _ => aws_smithy_json::deserialize::token::skip_value(tokens)?,
                        }
                    }
                    other => {
                        return Err(
                            aws_smithy_json::deserialize::error::DeserializeError::custom(format!(
                                "expected object key or end object, found: {:?}",
                                other
                            )),
                        )
                    }
                }
            }
            Ok(Some(builder.build()))
        }
        _ => Err(
            aws_smithy_json::deserialize::error::DeserializeError::custom(
                "expected start object or null",
            ),
        ),
    }
}

Appends an item to replica_global_secondary_index_settings.

To override the contents of this collection use set_replica_global_secondary_index_settings.

Replica global secondary index settings for the global table.

Replica global secondary index settings for the global table.

Examples found in repository?
src/json_deser.rs (lines 8517-8519)
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
pub(crate) fn deser_structure_crate_model_replica_settings_description<'a, I>(
    tokens: &mut std::iter::Peekable<I>,
) -> Result<
    Option<crate::model::ReplicaSettingsDescription>,
    aws_smithy_json::deserialize::error::DeserializeError,
>
where
    I: Iterator<
        Item = Result<
            aws_smithy_json::deserialize::Token<'a>,
            aws_smithy_json::deserialize::error::DeserializeError,
        >,
    >,
{
    match tokens.next().transpose()? {
        Some(aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None),
        Some(aws_smithy_json::deserialize::Token::StartObject { .. }) => {
            #[allow(unused_mut)]
            let mut builder = crate::model::replica_settings_description::Builder::default();
            loop {
                match tokens.next().transpose()? {
                    Some(aws_smithy_json::deserialize::Token::EndObject { .. }) => break,
                    Some(aws_smithy_json::deserialize::Token::ObjectKey { key, .. }) => {
                        match key.to_unescaped()?.as_ref() {
                            "RegionName" => {
                                builder = builder.set_region_name(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| s.to_unescaped().map(|u| u.into_owned()))
                                    .transpose()?,
                                );
                            }
                            "ReplicaStatus" => {
                                builder = builder.set_replica_status(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| {
                                        s.to_unescaped()
                                            .map(|u| crate::model::ReplicaStatus::from(u.as_ref()))
                                    })
                                    .transpose()?,
                                );
                            }
                            "ReplicaBillingModeSummary" => {
                                builder = builder.set_replica_billing_mode_summary(
                                    crate::json_deser::deser_structure_crate_model_billing_mode_summary(tokens)?
                                );
                            }
                            "ReplicaProvisionedReadCapacityUnits" => {
                                builder = builder.set_replica_provisioned_read_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedReadCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_read_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaProvisionedWriteCapacityUnits" => {
                                builder = builder.set_replica_provisioned_write_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedWriteCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_write_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaGlobalSecondaryIndexSettings" => {
                                builder = builder.set_replica_global_secondary_index_settings(
                                    crate::json_deser::deser_list_com_amazonaws_dynamodb_replica_global_secondary_index_settings_description_list(tokens)?
                                );
                            }
                            "ReplicaTableClassSummary" => {
                                builder = builder.set_replica_table_class_summary(
                                    crate::json_deser::deser_structure_crate_model_table_class_summary(tokens)?
                                );
                            }
                            _ => aws_smithy_json::deserialize::token::skip_value(tokens)?,
                        }
                    }
                    other => {
                        return Err(
                            aws_smithy_json::deserialize::error::DeserializeError::custom(format!(
                                "expected object key or end object, found: {:?}",
                                other
                            )),
                        )
                    }
                }
            }
            Ok(Some(builder.build()))
        }
        _ => Err(
            aws_smithy_json::deserialize::error::DeserializeError::custom(
                "expected start object or null",
            ),
        ),
    }
}

Contains details of the table class.

Contains details of the table class.

Examples found in repository?
src/json_deser.rs (lines 8522-8524)
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
pub(crate) fn deser_structure_crate_model_replica_settings_description<'a, I>(
    tokens: &mut std::iter::Peekable<I>,
) -> Result<
    Option<crate::model::ReplicaSettingsDescription>,
    aws_smithy_json::deserialize::error::DeserializeError,
>
where
    I: Iterator<
        Item = Result<
            aws_smithy_json::deserialize::Token<'a>,
            aws_smithy_json::deserialize::error::DeserializeError,
        >,
    >,
{
    match tokens.next().transpose()? {
        Some(aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None),
        Some(aws_smithy_json::deserialize::Token::StartObject { .. }) => {
            #[allow(unused_mut)]
            let mut builder = crate::model::replica_settings_description::Builder::default();
            loop {
                match tokens.next().transpose()? {
                    Some(aws_smithy_json::deserialize::Token::EndObject { .. }) => break,
                    Some(aws_smithy_json::deserialize::Token::ObjectKey { key, .. }) => {
                        match key.to_unescaped()?.as_ref() {
                            "RegionName" => {
                                builder = builder.set_region_name(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| s.to_unescaped().map(|u| u.into_owned()))
                                    .transpose()?,
                                );
                            }
                            "ReplicaStatus" => {
                                builder = builder.set_replica_status(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| {
                                        s.to_unescaped()
                                            .map(|u| crate::model::ReplicaStatus::from(u.as_ref()))
                                    })
                                    .transpose()?,
                                );
                            }
                            "ReplicaBillingModeSummary" => {
                                builder = builder.set_replica_billing_mode_summary(
                                    crate::json_deser::deser_structure_crate_model_billing_mode_summary(tokens)?
                                );
                            }
                            "ReplicaProvisionedReadCapacityUnits" => {
                                builder = builder.set_replica_provisioned_read_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedReadCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_read_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaProvisionedWriteCapacityUnits" => {
                                builder = builder.set_replica_provisioned_write_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedWriteCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_write_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaGlobalSecondaryIndexSettings" => {
                                builder = builder.set_replica_global_secondary_index_settings(
                                    crate::json_deser::deser_list_com_amazonaws_dynamodb_replica_global_secondary_index_settings_description_list(tokens)?
                                );
                            }
                            "ReplicaTableClassSummary" => {
                                builder = builder.set_replica_table_class_summary(
                                    crate::json_deser::deser_structure_crate_model_table_class_summary(tokens)?
                                );
                            }
                            _ => aws_smithy_json::deserialize::token::skip_value(tokens)?,
                        }
                    }
                    other => {
                        return Err(
                            aws_smithy_json::deserialize::error::DeserializeError::custom(format!(
                                "expected object key or end object, found: {:?}",
                                other
                            )),
                        )
                    }
                }
            }
            Ok(Some(builder.build()))
        }
        _ => Err(
            aws_smithy_json::deserialize::error::DeserializeError::custom(
                "expected start object or null",
            ),
        ),
    }
}

Consumes the builder and constructs a ReplicaSettingsDescription.

Examples found in repository?
src/json_deser.rs (line 8539)
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
pub(crate) fn deser_structure_crate_model_replica_settings_description<'a, I>(
    tokens: &mut std::iter::Peekable<I>,
) -> Result<
    Option<crate::model::ReplicaSettingsDescription>,
    aws_smithy_json::deserialize::error::DeserializeError,
>
where
    I: Iterator<
        Item = Result<
            aws_smithy_json::deserialize::Token<'a>,
            aws_smithy_json::deserialize::error::DeserializeError,
        >,
    >,
{
    match tokens.next().transpose()? {
        Some(aws_smithy_json::deserialize::Token::ValueNull { .. }) => Ok(None),
        Some(aws_smithy_json::deserialize::Token::StartObject { .. }) => {
            #[allow(unused_mut)]
            let mut builder = crate::model::replica_settings_description::Builder::default();
            loop {
                match tokens.next().transpose()? {
                    Some(aws_smithy_json::deserialize::Token::EndObject { .. }) => break,
                    Some(aws_smithy_json::deserialize::Token::ObjectKey { key, .. }) => {
                        match key.to_unescaped()?.as_ref() {
                            "RegionName" => {
                                builder = builder.set_region_name(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| s.to_unescaped().map(|u| u.into_owned()))
                                    .transpose()?,
                                );
                            }
                            "ReplicaStatus" => {
                                builder = builder.set_replica_status(
                                    aws_smithy_json::deserialize::token::expect_string_or_null(
                                        tokens.next(),
                                    )?
                                    .map(|s| {
                                        s.to_unescaped()
                                            .map(|u| crate::model::ReplicaStatus::from(u.as_ref()))
                                    })
                                    .transpose()?,
                                );
                            }
                            "ReplicaBillingModeSummary" => {
                                builder = builder.set_replica_billing_mode_summary(
                                    crate::json_deser::deser_structure_crate_model_billing_mode_summary(tokens)?
                                );
                            }
                            "ReplicaProvisionedReadCapacityUnits" => {
                                builder = builder.set_replica_provisioned_read_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedReadCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_read_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaProvisionedWriteCapacityUnits" => {
                                builder = builder.set_replica_provisioned_write_capacity_units(
                                    aws_smithy_json::deserialize::token::expect_number_or_null(
                                        tokens.next(),
                                    )?
                                    .map(i64::try_from)
                                    .transpose()?,
                                );
                            }
                            "ReplicaProvisionedWriteCapacityAutoScalingSettings" => {
                                builder = builder.set_replica_provisioned_write_capacity_auto_scaling_settings(
                                    crate::json_deser::deser_structure_crate_model_auto_scaling_settings_description(tokens)?
                                );
                            }
                            "ReplicaGlobalSecondaryIndexSettings" => {
                                builder = builder.set_replica_global_secondary_index_settings(
                                    crate::json_deser::deser_list_com_amazonaws_dynamodb_replica_global_secondary_index_settings_description_list(tokens)?
                                );
                            }
                            "ReplicaTableClassSummary" => {
                                builder = builder.set_replica_table_class_summary(
                                    crate::json_deser::deser_structure_crate_model_table_class_summary(tokens)?
                                );
                            }
                            _ => aws_smithy_json::deserialize::token::skip_value(tokens)?,
                        }
                    }
                    other => {
                        return Err(
                            aws_smithy_json::deserialize::error::DeserializeError::custom(format!(
                                "expected object key or end object, found: {:?}",
                                other
                            )),
                        )
                    }
                }
            }
            Ok(Some(builder.build()))
        }
        _ => Err(
            aws_smithy_json::deserialize::error::DeserializeError::custom(
                "expected start object or null",
            ),
        ),
    }
}

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