AWS SDK

AWS SDK

rev. 645b1734ce74ebbc529fecda676baac60fe4d581 (ignoring whitespace)

Files changed:

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/describe_contributor_insights.rs

@@ -240,240 +301,328 @@
  260    260   
                _input
  261    261   
                    .table_name
  262    262   
                    .clone()
  263    263   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  264    264   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("table_name", "A required field was not set"))?,
  265    265   
            ))
  266    266   
            .build()
  267    267   
            .map_err(|err| {
  268    268   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  269    269   
            })?;
         270  +
         271  +
        match cfg
         272  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         273  +
            .cloned()
         274  +
            .unwrap_or_default()
         275  +
        {
         276  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         277  +
                cfg.interceptor_state()
         278  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         279  +
            }
         280  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         281  +
                cfg.interceptor_state()
         282  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         283  +
            }
         284  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         285  +
                cfg.interceptor_state()
         286  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         287  +
            }
         288  +
            otherwise => {
         289  +
                ::tracing::warn!(
         290  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         291  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         292  +
                );
         293  +
            }
         294  +
        }
         295  +
  270    296   
        cfg.interceptor_state()
  271    297   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         298  +
  272    299   
        ::std::result::Result::Ok(())
  273    300   
    }
  274    301   
}
  275    302   
  276    303   
// The get_* functions below are generated from JMESPath expressions in the
  277    304   
// operationContextParams trait. They target the operation's input shape.
  278    305   
  279    306   
/// Error type for the `DescribeContributorInsightsError` operation.
  280    307   
#[non_exhaustive]
  281    308   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/describe_endpoints.rs

@@ -222,222 +283,310 @@
  242    242   
            .set_account_id_endpoint_mode(::std::option::Option::Some(
  243    243   
                cfg.load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
  244    244   
                    .cloned()
  245    245   
                    .unwrap_or_default()
  246    246   
                    .to_string(),
  247    247   
            ))
  248    248   
            .build()
  249    249   
            .map_err(|err| {
  250    250   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  251    251   
            })?;
         252  +
         253  +
        match cfg
         254  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         255  +
            .cloned()
         256  +
            .unwrap_or_default()
         257  +
        {
         258  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         259  +
                cfg.interceptor_state()
         260  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         261  +
            }
         262  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         263  +
                cfg.interceptor_state()
         264  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         265  +
            }
         266  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         267  +
                cfg.interceptor_state()
         268  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         269  +
            }
         270  +
            otherwise => {
         271  +
                ::tracing::warn!(
         272  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         273  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         274  +
                );
         275  +
            }
         276  +
        }
         277  +
  252    278   
        cfg.interceptor_state()
  253    279   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         280  +
  254    281   
        ::std::result::Result::Ok(())
  255    282   
    }
  256    283   
}
  257    284   
  258    285   
// The get_* functions below are generated from JMESPath expressions in the
  259    286   
// operationContextParams trait. They target the operation's input shape.
  260    287   
  261    288   
/// Error type for the `DescribeEndpointsError` operation.
  262    289   
#[non_exhaustive]
  263    290   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/describe_export.rs

@@ -232,232 +293,320 @@
  252    252   
                _input
  253    253   
                    .export_arn
  254    254   
                    .clone()
  255    255   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  256    256   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("export_arn", "A required field was not set"))?,
  257    257   
            ))
  258    258   
            .build()
  259    259   
            .map_err(|err| {
  260    260   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  261    261   
            })?;
         262  +
         263  +
        match cfg
         264  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         265  +
            .cloned()
         266  +
            .unwrap_or_default()
         267  +
        {
         268  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         269  +
                cfg.interceptor_state()
         270  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         271  +
            }
         272  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         273  +
                cfg.interceptor_state()
         274  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         275  +
            }
         276  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         277  +
                cfg.interceptor_state()
         278  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         279  +
            }
         280  +
            otherwise => {
         281  +
                ::tracing::warn!(
         282  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         283  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         284  +
                );
         285  +
            }
         286  +
        }
         287  +
  262    288   
        cfg.interceptor_state()
  263    289   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         290  +
  264    291   
        ::std::result::Result::Ok(())
  265    292   
    }
  266    293   
}
  267    294   
  268    295   
// The get_* functions below are generated from JMESPath expressions in the
  269    296   
// operationContextParams trait. They target the operation's input shape.
  270    297   
  271    298   
/// Error type for the `DescribeExportError` operation.
  272    299   
#[non_exhaustive]
  273    300   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/describe_global_table.rs

@@ -236,236 +297,324 @@
  256    256   
                    .clone()
  257    257   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  258    258   
                    .ok_or_else(|| {
  259    259   
                        ::aws_smithy_types::error::operation::BuildError::missing_field("global_table_name", "A required field was not set")
  260    260   
                    })?,
  261    261   
            ))
  262    262   
            .build()
  263    263   
            .map_err(|err| {
  264    264   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  265    265   
            })?;
         266  +
         267  +
        match cfg
         268  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         269  +
            .cloned()
         270  +
            .unwrap_or_default()
         271  +
        {
         272  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         273  +
                cfg.interceptor_state()
         274  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         275  +
            }
         276  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         277  +
                cfg.interceptor_state()
         278  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         279  +
            }
         280  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         281  +
                cfg.interceptor_state()
         282  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         283  +
            }
         284  +
            otherwise => {
         285  +
                ::tracing::warn!(
         286  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         287  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         288  +
                );
         289  +
            }
         290  +
        }
         291  +
  266    292   
        cfg.interceptor_state()
  267    293   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         294  +
  268    295   
        ::std::result::Result::Ok(())
  269    296   
    }
  270    297   
}
  271    298   
  272    299   
// The get_* functions below are generated from JMESPath expressions in the
  273    300   
// operationContextParams trait. They target the operation's input shape.
  274    301   
  275    302   
/// Error type for the `DescribeGlobalTableError` operation.
  276    303   
#[non_exhaustive]
  277    304   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/describe_global_table_settings.rs

@@ -242,242 +303,330 @@
  262    262   
                    .clone()
  263    263   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  264    264   
                    .ok_or_else(|| {
  265    265   
                        ::aws_smithy_types::error::operation::BuildError::missing_field("global_table_name", "A required field was not set")
  266    266   
                    })?,
  267    267   
            ))
  268    268   
            .build()
  269    269   
            .map_err(|err| {
  270    270   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  271    271   
            })?;
         272  +
         273  +
        match cfg
         274  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         275  +
            .cloned()
         276  +
            .unwrap_or_default()
         277  +
        {
         278  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         279  +
                cfg.interceptor_state()
         280  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         281  +
            }
         282  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         283  +
                cfg.interceptor_state()
         284  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         285  +
            }
         286  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         287  +
                cfg.interceptor_state()
         288  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         289  +
            }
         290  +
            otherwise => {
         291  +
                ::tracing::warn!(
         292  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         293  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         294  +
                );
         295  +
            }
         296  +
        }
         297  +
  272    298   
        cfg.interceptor_state()
  273    299   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         300  +
  274    301   
        ::std::result::Result::Ok(())
  275    302   
    }
  276    303   
}
  277    304   
  278    305   
// The get_* functions below are generated from JMESPath expressions in the
  279    306   
// operationContextParams trait. They target the operation's input shape.
  280    307   
  281    308   
/// Error type for the `DescribeGlobalTableSettingsError` operation.
  282    309   
#[non_exhaustive]
  283    310   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/describe_import.rs

@@ -232,232 +293,320 @@
  252    252   
                _input
  253    253   
                    .import_arn
  254    254   
                    .clone()
  255    255   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  256    256   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("import_arn", "A required field was not set"))?,
  257    257   
            ))
  258    258   
            .build()
  259    259   
            .map_err(|err| {
  260    260   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  261    261   
            })?;
         262  +
         263  +
        match cfg
         264  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         265  +
            .cloned()
         266  +
            .unwrap_or_default()
         267  +
        {
         268  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         269  +
                cfg.interceptor_state()
         270  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         271  +
            }
         272  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         273  +
                cfg.interceptor_state()
         274  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         275  +
            }
         276  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         277  +
                cfg.interceptor_state()
         278  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         279  +
            }
         280  +
            otherwise => {
         281  +
                ::tracing::warn!(
         282  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         283  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         284  +
                );
         285  +
            }
         286  +
        }
         287  +
  262    288   
        cfg.interceptor_state()
  263    289   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         290  +
  264    291   
        ::std::result::Result::Ok(())
  265    292   
    }
  266    293   
}
  267    294   
  268    295   
// The get_* functions below are generated from JMESPath expressions in the
  269    296   
// operationContextParams trait. They target the operation's input shape.
  270    297   
  271    298   
/// Error type for the `DescribeImportError` operation.
  272    299   
#[non_exhaustive]
  273    300   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/describe_kinesis_streaming_destination.rs

@@ -244,244 +305,332 @@
  264    264   
                _input
  265    265   
                    .table_name
  266    266   
                    .clone()
  267    267   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  268    268   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("table_name", "A required field was not set"))?,
  269    269   
            ))
  270    270   
            .build()
  271    271   
            .map_err(|err| {
  272    272   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  273    273   
            })?;
         274  +
         275  +
        match cfg
         276  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         277  +
            .cloned()
         278  +
            .unwrap_or_default()
         279  +
        {
         280  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         281  +
                cfg.interceptor_state()
         282  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         283  +
            }
         284  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         285  +
                cfg.interceptor_state()
         286  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         287  +
            }
         288  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         289  +
                cfg.interceptor_state()
         290  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         291  +
            }
         292  +
            otherwise => {
         293  +
                ::tracing::warn!(
         294  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         295  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         296  +
                );
         297  +
            }
         298  +
        }
         299  +
  274    300   
        cfg.interceptor_state()
  275    301   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         302  +
  276    303   
        ::std::result::Result::Ok(())
  277    304   
    }
  278    305   
}
  279    306   
  280    307   
// The get_* functions below are generated from JMESPath expressions in the
  281    308   
// operationContextParams trait. They target the operation's input shape.
  282    309   
  283    310   
/// Error type for the `DescribeKinesisStreamingDestinationError` operation.
  284    311   
#[non_exhaustive]
  285    312   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/describe_limits.rs

@@ -222,222 +283,310 @@
  242    242   
            .set_account_id_endpoint_mode(::std::option::Option::Some(
  243    243   
                cfg.load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
  244    244   
                    .cloned()
  245    245   
                    .unwrap_or_default()
  246    246   
                    .to_string(),
  247    247   
            ))
  248    248   
            .build()
  249    249   
            .map_err(|err| {
  250    250   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  251    251   
            })?;
         252  +
         253  +
        match cfg
         254  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         255  +
            .cloned()
         256  +
            .unwrap_or_default()
         257  +
        {
         258  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         259  +
                cfg.interceptor_state()
         260  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         261  +
            }
         262  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         263  +
                cfg.interceptor_state()
         264  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         265  +
            }
         266  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         267  +
                cfg.interceptor_state()
         268  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         269  +
            }
         270  +
            otherwise => {
         271  +
                ::tracing::warn!(
         272  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         273  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         274  +
                );
         275  +
            }
         276  +
        }
         277  +
  252    278   
        cfg.interceptor_state()
  253    279   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         280  +
  254    281   
        ::std::result::Result::Ok(())
  255    282   
    }
  256    283   
}
  257    284   
  258    285   
// The get_* functions below are generated from JMESPath expressions in the
  259    286   
// operationContextParams trait. They target the operation's input shape.
  260    287   
  261    288   
/// Error type for the `DescribeLimitsError` operation.
  262    289   
#[non_exhaustive]
  263    290   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/describe_table.rs

@@ -229,229 +290,317 @@
  249    249   
                _input
  250    250   
                    .table_name
  251    251   
                    .clone()
  252    252   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  253    253   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("table_name", "A required field was not set"))?,
  254    254   
            ))
  255    255   
            .build()
  256    256   
            .map_err(|err| {
  257    257   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  258    258   
            })?;
         259  +
         260  +
        match cfg
         261  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         262  +
            .cloned()
         263  +
            .unwrap_or_default()
         264  +
        {
         265  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         266  +
                cfg.interceptor_state()
         267  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         268  +
            }
         269  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         270  +
                cfg.interceptor_state()
         271  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         272  +
            }
         273  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         274  +
                cfg.interceptor_state()
         275  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         276  +
            }
         277  +
            otherwise => {
         278  +
                ::tracing::warn!(
         279  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         280  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         281  +
                );
         282  +
            }
         283  +
        }
         284  +
  259    285   
        cfg.interceptor_state()
  260    286   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         287  +
  261    288   
        ::std::result::Result::Ok(())
  262    289   
    }
  263    290   
}
  264    291   
  265    292   
// The get_* functions below are generated from JMESPath expressions in the
  266    293   
// operationContextParams trait. They target the operation's input shape.
  267    294   
  268    295   
/// Error type for the `DescribeTableError` operation.
  269    296   
#[non_exhaustive]
  270    297   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/describe_table_replica_auto_scaling.rs

@@ -242,242 +303,330 @@
  262    262   
                _input
  263    263   
                    .table_name
  264    264   
                    .clone()
  265    265   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  266    266   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("table_name", "A required field was not set"))?,
  267    267   
            ))
  268    268   
            .build()
  269    269   
            .map_err(|err| {
  270    270   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  271    271   
            })?;
         272  +
         273  +
        match cfg
         274  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         275  +
            .cloned()
         276  +
            .unwrap_or_default()
         277  +
        {
         278  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         279  +
                cfg.interceptor_state()
         280  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         281  +
            }
         282  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         283  +
                cfg.interceptor_state()
         284  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         285  +
            }
         286  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         287  +
                cfg.interceptor_state()
         288  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         289  +
            }
         290  +
            otherwise => {
         291  +
                ::tracing::warn!(
         292  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         293  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         294  +
                );
         295  +
            }
         296  +
        }
         297  +
  272    298   
        cfg.interceptor_state()
  273    299   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         300  +
  274    301   
        ::std::result::Result::Ok(())
  275    302   
    }
  276    303   
}
  277    304   
  278    305   
// The get_* functions below are generated from JMESPath expressions in the
  279    306   
// operationContextParams trait. They target the operation's input shape.
  280    307   
  281    308   
/// Error type for the `DescribeTableReplicaAutoScalingError` operation.
  282    309   
#[non_exhaustive]
  283    310   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/describe_time_to_live.rs

@@ -234,234 +295,322 @@
  254    254   
                _input
  255    255   
                    .table_name
  256    256   
                    .clone()
  257    257   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  258    258   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("table_name", "A required field was not set"))?,
  259    259   
            ))
  260    260   
            .build()
  261    261   
            .map_err(|err| {
  262    262   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  263    263   
            })?;
         264  +
         265  +
        match cfg
         266  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         267  +
            .cloned()
         268  +
            .unwrap_or_default()
         269  +
        {
         270  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         271  +
                cfg.interceptor_state()
         272  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         273  +
            }
         274  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         275  +
                cfg.interceptor_state()
         276  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         277  +
            }
         278  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         279  +
                cfg.interceptor_state()
         280  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         281  +
            }
         282  +
            otherwise => {
         283  +
                ::tracing::warn!(
         284  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         285  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         286  +
                );
         287  +
            }
         288  +
        }
         289  +
  264    290   
        cfg.interceptor_state()
  265    291   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         292  +
  266    293   
        ::std::result::Result::Ok(())
  267    294   
    }
  268    295   
}
  269    296   
  270    297   
// The get_* functions below are generated from JMESPath expressions in the
  271    298   
// operationContextParams trait. They target the operation's input shape.
  272    299   
  273    300   
/// Error type for the `DescribeTimeToLiveError` operation.
  274    301   
#[non_exhaustive]
  275    302   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/disable_kinesis_streaming_destination.rs

@@ -244,244 +305,332 @@
  264    264   
                _input
  265    265   
                    .table_name
  266    266   
                    .clone()
  267    267   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  268    268   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("table_name", "A required field was not set"))?,
  269    269   
            ))
  270    270   
            .build()
  271    271   
            .map_err(|err| {
  272    272   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  273    273   
            })?;
         274  +
         275  +
        match cfg
         276  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         277  +
            .cloned()
         278  +
            .unwrap_or_default()
         279  +
        {
         280  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         281  +
                cfg.interceptor_state()
         282  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         283  +
            }
         284  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         285  +
                cfg.interceptor_state()
         286  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         287  +
            }
         288  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         289  +
                cfg.interceptor_state()
         290  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         291  +
            }
         292  +
            otherwise => {
         293  +
                ::tracing::warn!(
         294  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         295  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         296  +
                );
         297  +
            }
         298  +
        }
         299  +
  274    300   
        cfg.interceptor_state()
  275    301   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         302  +
  276    303   
        ::std::result::Result::Ok(())
  277    304   
    }
  278    305   
}
  279    306   
  280    307   
// The get_* functions below are generated from JMESPath expressions in the
  281    308   
// operationContextParams trait. They target the operation's input shape.
  282    309   
  283    310   
/// Error type for the `DisableKinesisStreamingDestinationError` operation.
  284    311   
#[non_exhaustive]
  285    312   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/enable_kinesis_streaming_destination.rs

@@ -244,244 +305,332 @@
  264    264   
                _input
  265    265   
                    .table_name
  266    266   
                    .clone()
  267    267   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  268    268   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("table_name", "A required field was not set"))?,
  269    269   
            ))
  270    270   
            .build()
  271    271   
            .map_err(|err| {
  272    272   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  273    273   
            })?;
         274  +
         275  +
        match cfg
         276  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         277  +
            .cloned()
         278  +
            .unwrap_or_default()
         279  +
        {
         280  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         281  +
                cfg.interceptor_state()
         282  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         283  +
            }
         284  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         285  +
                cfg.interceptor_state()
         286  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         287  +
            }
         288  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         289  +
                cfg.interceptor_state()
         290  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         291  +
            }
         292  +
            otherwise => {
         293  +
                ::tracing::warn!(
         294  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         295  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         296  +
                );
         297  +
            }
         298  +
        }
         299  +
  274    300   
        cfg.interceptor_state()
  275    301   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         302  +
  276    303   
        ::std::result::Result::Ok(())
  277    304   
    }
  278    305   
}
  279    306   
  280    307   
// The get_* functions below are generated from JMESPath expressions in the
  281    308   
// operationContextParams trait. They target the operation's input shape.
  282    309   
  283    310   
/// Error type for the `EnableKinesisStreamingDestinationError` operation.
  284    311   
#[non_exhaustive]
  285    312   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/execute_statement.rs

@@ -225,225 +286,313 @@
  245    245   
            .set_account_id_endpoint_mode(::std::option::Option::Some(
  246    246   
                cfg.load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
  247    247   
                    .cloned()
  248    248   
                    .unwrap_or_default()
  249    249   
                    .to_string(),
  250    250   
            ))
  251    251   
            .build()
  252    252   
            .map_err(|err| {
  253    253   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  254    254   
            })?;
         255  +
         256  +
        match cfg
         257  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         258  +
            .cloned()
         259  +
            .unwrap_or_default()
         260  +
        {
         261  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         262  +
                cfg.interceptor_state()
         263  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         264  +
            }
         265  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         266  +
                cfg.interceptor_state()
         267  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         268  +
            }
         269  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         270  +
                cfg.interceptor_state()
         271  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         272  +
            }
         273  +
            otherwise => {
         274  +
                ::tracing::warn!(
         275  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         276  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         277  +
                );
         278  +
            }
         279  +
        }
         280  +
  255    281   
        cfg.interceptor_state()
  256    282   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         283  +
  257    284   
        ::std::result::Result::Ok(())
  258    285   
    }
  259    286   
}
  260    287   
  261    288   
// The get_* functions below are generated from JMESPath expressions in the
  262    289   
// operationContextParams trait. They target the operation's input shape.
  263    290   
  264    291   
/// Error type for the `ExecuteStatementError` operation.
  265    292   
#[non_exhaustive]
  266    293   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/execute_transaction.rs

@@ -232,232 +293,320 @@
  252    252   
            .set_account_id_endpoint_mode(::std::option::Option::Some(
  253    253   
                cfg.load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
  254    254   
                    .cloned()
  255    255   
                    .unwrap_or_default()
  256    256   
                    .to_string(),
  257    257   
            ))
  258    258   
            .build()
  259    259   
            .map_err(|err| {
  260    260   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  261    261   
            })?;
         262  +
         263  +
        match cfg
         264  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         265  +
            .cloned()
         266  +
            .unwrap_or_default()
         267  +
        {
         268  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         269  +
                cfg.interceptor_state()
         270  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         271  +
            }
         272  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         273  +
                cfg.interceptor_state()
         274  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         275  +
            }
         276  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         277  +
                cfg.interceptor_state()
         278  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         279  +
            }
         280  +
            otherwise => {
         281  +
                ::tracing::warn!(
         282  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         283  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         284  +
                );
         285  +
            }
         286  +
        }
         287  +
  262    288   
        cfg.interceptor_state()
  263    289   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         290  +
  264    291   
        ::std::result::Result::Ok(())
  265    292   
    }
  266    293   
}
  267    294   
  268    295   
// The get_* functions below are generated from JMESPath expressions in the
  269    296   
// operationContextParams trait. They target the operation's input shape.
  270    297   
  271    298   
/// Error type for the `ExecuteTransactionError` operation.
  272    299   
#[non_exhaustive]
  273    300   
#[derive(::std::fmt::Debug)]

tmp-codegen-diff/aws-sdk/sdk/dynamodb/src/operation/export_table_to_point_in_time.rs

@@ -242,242 +303,330 @@
  262    262   
                _input
  263    263   
                    .table_arn
  264    264   
                    .clone()
  265    265   
                    .filter(|f| !AsRef::<str>::as_ref(f).trim().is_empty())
  266    266   
                    .ok_or_else(|| ::aws_smithy_types::error::operation::BuildError::missing_field("table_arn", "A required field was not set"))?,
  267    267   
            ))
  268    268   
            .build()
  269    269   
            .map_err(|err| {
  270    270   
                ::aws_smithy_runtime_api::client::interceptors::error::ContextAttachedError::new("endpoint params could not be built", err)
  271    271   
            })?;
         272  +
         273  +
        match cfg
         274  +
            .load::<::aws_types::endpoint_config::AccountIdEndpointMode>()
         275  +
            .cloned()
         276  +
            .unwrap_or_default()
         277  +
        {
         278  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Preferred => {
         279  +
                cfg.interceptor_state()
         280  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModePreferred);
         281  +
            }
         282  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Required => {
         283  +
                cfg.interceptor_state()
         284  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeRequired);
         285  +
            }
         286  +
            ::aws_types::endpoint_config::AccountIdEndpointMode::Disabled => {
         287  +
                cfg.interceptor_state()
         288  +
                    .store_append(::aws_runtime::sdk_feature::AwsSdkFeature::AccountIdModeDisabled);
         289  +
            }
         290  +
            otherwise => {
         291  +
                ::tracing::warn!(
         292  +
                    "Attempted to track an SDK feature for `{otherwise:?}`, which is not recognized in the current version of the SDK. \
         293  +
                                            Consider upgrading to the latest version to ensure that it is properly tracked."
         294  +
                );
         295  +
            }
         296  +
        }
         297  +
  272    298   
        cfg.interceptor_state()
  273    299   
            .store_put(::aws_smithy_runtime_api::client::endpoint::EndpointResolverParams::new(params));
         300  +
  274    301   
        ::std::result::Result::Ok(())
  275    302   
    }
  276    303   
}
  277    304   
  278    305   
// The get_* functions below are generated from JMESPath expressions in the
  279    306   
// operationContextParams trait. They target the operation's input shape.
  280    307   
  281    308   
/// Error type for the `ExportTableToPointInTimeError` operation.
  282    309   
#[non_exhaustive]
  283    310   
#[derive(::std::fmt::Debug)]