Client Test

Client Test

rev. d838bf488731ae5e751cce0fe13f339a5b9be858 (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/batch_execute_statement/builders.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::operation::batch_execute_statement::_batch_execute_statement_output::BatchExecuteStatementOutputBuilder;
    3         -
    4      2   
pub use crate::operation::batch_execute_statement::_batch_execute_statement_input::BatchExecuteStatementInputBuilder;
    5      3   
           4  +
pub use crate::operation::batch_execute_statement::_batch_execute_statement_output::BatchExecuteStatementOutputBuilder;
           5  +
    6      6   
impl crate::operation::batch_execute_statement::builders::BatchExecuteStatementInputBuilder {
    7      7   
    /// Sends a request with this input using the given client.
    8      8   
    pub async fn send_with(
    9      9   
        self,
   10     10   
        client: &crate::Client,
   11     11   
    ) -> ::std::result::Result<
   12     12   
        crate::operation::batch_execute_statement::BatchExecuteStatementOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::batch_execute_statement::BatchExecuteStatementError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/batch_get_item.rs

@@ -344,344 +383,383 @@
  364    364   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  365    365   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  366    366   
    ) -> Self {
  367    367   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  368    368   
            source,
  369    369   
            meta: meta.unwrap_or_default(),
  370    370   
        })
  371    371   
    }
  372    372   
}
  373    373   
  374         -
pub use crate::operation::batch_get_item::_batch_get_item_output::BatchGetItemOutput;
  375         -
  376    374   
pub use crate::operation::batch_get_item::_batch_get_item_input::BatchGetItemInput;
  377    375   
         376  +
pub use crate::operation::batch_get_item::_batch_get_item_output::BatchGetItemOutput;
         377  +
  378    378   
mod _batch_get_item_input;
  379    379   
  380    380   
mod _batch_get_item_output;
  381    381   
  382    382   
/// Builders
  383    383   
pub mod builders;

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/batch_get_item/builders.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::operation::batch_get_item::_batch_get_item_output::BatchGetItemOutputBuilder;
    3         -
    4      2   
pub use crate::operation::batch_get_item::_batch_get_item_input::BatchGetItemInputBuilder;
    5      3   
           4  +
pub use crate::operation::batch_get_item::_batch_get_item_output::BatchGetItemOutputBuilder;
           5  +
    6      6   
impl crate::operation::batch_get_item::builders::BatchGetItemInputBuilder {
    7      7   
    /// Sends a request with this input using the given client.
    8      8   
    pub async fn send_with(
    9      9   
        self,
   10     10   
        client: &crate::Client,
   11     11   
    ) -> ::std::result::Result<
   12     12   
        crate::operation::batch_get_item::BatchGetItemOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::batch_get_item::BatchGetItemError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/batch_write_item.rs

@@ -357,357 +396,396 @@
  377    377   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  378    378   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  379    379   
    ) -> Self {
  380    380   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  381    381   
            source,
  382    382   
            meta: meta.unwrap_or_default(),
  383    383   
        })
  384    384   
    }
  385    385   
}
  386    386   
  387         -
pub use crate::operation::batch_write_item::_batch_write_item_output::BatchWriteItemOutput;
  388         -
  389    387   
pub use crate::operation::batch_write_item::_batch_write_item_input::BatchWriteItemInput;
  390    388   
         389  +
pub use crate::operation::batch_write_item::_batch_write_item_output::BatchWriteItemOutput;
         390  +
  391    391   
mod _batch_write_item_input;
  392    392   
  393    393   
mod _batch_write_item_output;
  394    394   
  395    395   
/// Builders
  396    396   
pub mod builders;

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/batch_write_item/builders.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::operation::batch_write_item::_batch_write_item_output::BatchWriteItemOutputBuilder;
    3         -
    4      2   
pub use crate::operation::batch_write_item::_batch_write_item_input::BatchWriteItemInputBuilder;
    5      3   
           4  +
pub use crate::operation::batch_write_item::_batch_write_item_output::BatchWriteItemOutputBuilder;
           5  +
    6      6   
impl crate::operation::batch_write_item::builders::BatchWriteItemInputBuilder {
    7      7   
    /// Sends a request with this input using the given client.
    8      8   
    pub async fn send_with(
    9      9   
        self,
   10     10   
        client: &crate::Client,
   11     11   
    ) -> ::std::result::Result<
   12     12   
        crate::operation::batch_write_item::BatchWriteItemOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::batch_write_item::BatchWriteItemError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/create_backup.rs

@@ -367,367 +406,406 @@
  387    387   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  388    388   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  389    389   
    ) -> Self {
  390    390   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  391    391   
            source,
  392    392   
            meta: meta.unwrap_or_default(),
  393    393   
        })
  394    394   
    }
  395    395   
}
  396    396   
  397         -
pub use crate::operation::create_backup::_create_backup_output::CreateBackupOutput;
  398         -
  399    397   
pub use crate::operation::create_backup::_create_backup_input::CreateBackupInput;
  400    398   
         399  +
pub use crate::operation::create_backup::_create_backup_output::CreateBackupOutput;
         400  +
  401    401   
mod _create_backup_input;
  402    402   
  403    403   
mod _create_backup_output;
  404    404   
  405    405   
/// Builders
  406    406   
pub mod builders;

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/create_backup/builders.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::operation::create_backup::_create_backup_output::CreateBackupOutputBuilder;
    3         -
    4      2   
pub use crate::operation::create_backup::_create_backup_input::CreateBackupInputBuilder;
    5      3   
           4  +
pub use crate::operation::create_backup::_create_backup_output::CreateBackupOutputBuilder;
           5  +
    6      6   
impl crate::operation::create_backup::builders::CreateBackupInputBuilder {
    7      7   
    /// Sends a request with this input using the given client.
    8      8   
    pub async fn send_with(
    9      9   
        self,
   10     10   
        client: &crate::Client,
   11     11   
    ) -> ::std::result::Result<
   12     12   
        crate::operation::create_backup::CreateBackupOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::create_backup::CreateBackupError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/create_global_table.rs

@@ -350,350 +389,389 @@
  370    370   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  371    371   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  372    372   
    ) -> Self {
  373    373   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  374    374   
            source,
  375    375   
            meta: meta.unwrap_or_default(),
  376    376   
        })
  377    377   
    }
  378    378   
}
  379    379   
  380         -
pub use crate::operation::create_global_table::_create_global_table_output::CreateGlobalTableOutput;
  381         -
  382    380   
pub use crate::operation::create_global_table::_create_global_table_input::CreateGlobalTableInput;
  383    381   
         382  +
pub use crate::operation::create_global_table::_create_global_table_output::CreateGlobalTableOutput;
         383  +
  384    384   
mod _create_global_table_input;
  385    385   
  386    386   
mod _create_global_table_output;
  387    387   
  388    388   
/// Builders
  389    389   
pub mod builders;

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/create_global_table/builders.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::operation::create_global_table::_create_global_table_output::CreateGlobalTableOutputBuilder;
    3         -
    4      2   
pub use crate::operation::create_global_table::_create_global_table_input::CreateGlobalTableInputBuilder;
    5      3   
           4  +
pub use crate::operation::create_global_table::_create_global_table_output::CreateGlobalTableOutputBuilder;
           5  +
    6      6   
impl crate::operation::create_global_table::builders::CreateGlobalTableInputBuilder {
    7      7   
    /// Sends a request with this input using the given client.
    8      8   
    pub async fn send_with(
    9      9   
        self,
   10     10   
        client: &crate::Client,
   11     11   
    ) -> ::std::result::Result<
   12     12   
        crate::operation::create_global_table::CreateGlobalTableOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::create_global_table::CreateGlobalTableError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/create_table.rs

@@ -337,337 +376,376 @@
  357    357   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  358    358   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  359    359   
    ) -> Self {
  360    360   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  361    361   
            source,
  362    362   
            meta: meta.unwrap_or_default(),
  363    363   
        })
  364    364   
    }
  365    365   
}
  366    366   
  367         -
pub use crate::operation::create_table::_create_table_output::CreateTableOutput;
  368         -
  369    367   
pub use crate::operation::create_table::_create_table_input::CreateTableInput;
  370    368   
         369  +
pub use crate::operation::create_table::_create_table_output::CreateTableOutput;
         370  +
  371    371   
mod _create_table_input;
  372    372   
  373    373   
mod _create_table_output;
  374    374   
  375    375   
/// Builders
  376    376   
pub mod builders;

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/create_table/builders.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::operation::create_table::_create_table_output::CreateTableOutputBuilder;
    3         -
    4      2   
pub use crate::operation::create_table::_create_table_input::CreateTableInputBuilder;
    5      3   
           4  +
pub use crate::operation::create_table::_create_table_output::CreateTableOutputBuilder;
           5  +
    6      6   
impl crate::operation::create_table::builders::CreateTableInputBuilder {
    7      7   
    /// Sends a request with this input using the given client.
    8      8   
    pub async fn send_with(
    9      9   
        self,
   10     10   
        client: &crate::Client,
   11     11   
    ) -> ::std::result::Result<
   12     12   
        crate::operation::create_table::CreateTableOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::create_table::CreateTableError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/delete_backup.rs

@@ -347,347 +386,386 @@
  367    367   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  368    368   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  369    369   
    ) -> Self {
  370    370   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  371    371   
            source,
  372    372   
            meta: meta.unwrap_or_default(),
  373    373   
        })
  374    374   
    }
  375    375   
}
  376    376   
  377         -
pub use crate::operation::delete_backup::_delete_backup_output::DeleteBackupOutput;
  378         -
  379    377   
pub use crate::operation::delete_backup::_delete_backup_input::DeleteBackupInput;
  380    378   
         379  +
pub use crate::operation::delete_backup::_delete_backup_output::DeleteBackupOutput;
         380  +
  381    381   
mod _delete_backup_input;
  382    382   
  383    383   
mod _delete_backup_output;
  384    384   
  385    385   
/// Builders
  386    386   
pub mod builders;

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/delete_backup/builders.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::operation::delete_backup::_delete_backup_output::DeleteBackupOutputBuilder;
    3         -
    4      2   
pub use crate::operation::delete_backup::_delete_backup_input::DeleteBackupInputBuilder;
    5      3   
           4  +
pub use crate::operation::delete_backup::_delete_backup_output::DeleteBackupOutputBuilder;
           5  +
    6      6   
impl crate::operation::delete_backup::builders::DeleteBackupInputBuilder {
    7      7   
    /// Sends a request with this input using the given client.
    8      8   
    pub async fn send_with(
    9      9   
        self,
   10     10   
        client: &crate::Client,
   11     11   
    ) -> ::std::result::Result<
   12     12   
        crate::operation::delete_backup::DeleteBackupOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::delete_backup::DeleteBackupError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/delete_item.rs

@@ -372,372 +411,411 @@
  392    392   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  393    393   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  394    394   
    ) -> Self {
  395    395   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  396    396   
            source,
  397    397   
            meta: meta.unwrap_or_default(),
  398    398   
        })
  399    399   
    }
  400    400   
}
  401    401   
  402         -
pub use crate::operation::delete_item::_delete_item_output::DeleteItemOutput;
  403         -
  404    402   
pub use crate::operation::delete_item::_delete_item_input::DeleteItemInput;
  405    403   
         404  +
pub use crate::operation::delete_item::_delete_item_output::DeleteItemOutput;
         405  +
  406    406   
mod _delete_item_input;
  407    407   
  408    408   
mod _delete_item_output;
  409    409   
  410    410   
/// Builders
  411    411   
pub mod builders;

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/delete_item/builders.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::operation::delete_item::_delete_item_output::DeleteItemOutputBuilder;
    3         -
    4      2   
pub use crate::operation::delete_item::_delete_item_input::DeleteItemInputBuilder;
    5      3   
           4  +
pub use crate::operation::delete_item::_delete_item_output::DeleteItemOutputBuilder;
           5  +
    6      6   
impl crate::operation::delete_item::builders::DeleteItemInputBuilder {
    7      7   
    /// Sends a request with this input using the given client.
    8      8   
    pub async fn send_with(
    9      9   
        self,
   10     10   
        client: &crate::Client,
   11     11   
    ) -> ::std::result::Result<
   12     12   
        crate::operation::delete_item::DeleteItemOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::delete_item::DeleteItemError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/delete_table.rs

@@ -347,347 +386,386 @@
  367    367   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  368    368   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  369    369   
    ) -> Self {
  370    370   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  371    371   
            source,
  372    372   
            meta: meta.unwrap_or_default(),
  373    373   
        })
  374    374   
    }
  375    375   
}
  376    376   
  377         -
pub use crate::operation::delete_table::_delete_table_output::DeleteTableOutput;
  378         -
  379    377   
pub use crate::operation::delete_table::_delete_table_input::DeleteTableInput;
  380    378   
         379  +
pub use crate::operation::delete_table::_delete_table_output::DeleteTableOutput;
         380  +
  381    381   
mod _delete_table_input;
  382    382   
  383    383   
mod _delete_table_output;
  384    384   
  385    385   
/// Builders
  386    386   
pub mod builders;