Client Test

Client Test

rev. d838bf488731ae5e751cce0fe13f339a5b9be858

Files changed:

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/list_tags_of_resource/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::list_tags_of_resource::_list_tags_of_resource_output::ListTagsOfResourceOutputBuilder;
    3         -
    4      2   
pub use crate::operation::list_tags_of_resource::_list_tags_of_resource_input::ListTagsOfResourceInputBuilder;
    5      3   
           4  +
pub use crate::operation::list_tags_of_resource::_list_tags_of_resource_output::ListTagsOfResourceOutputBuilder;
           5  +
    6      6   
impl crate::operation::list_tags_of_resource::builders::ListTagsOfResourceInputBuilder {
    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::list_tags_of_resource::ListTagsOfResourceOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::list_tags_of_resource::ListTagsOfResourceError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

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

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/put_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::put_item::_put_item_output::PutItemOutputBuilder;
    3         -
    4      2   
pub use crate::operation::put_item::_put_item_input::PutItemInputBuilder;
    5      3   
           4  +
pub use crate::operation::put_item::_put_item_output::PutItemOutputBuilder;
           5  +
    6      6   
impl crate::operation::put_item::builders::PutItemInputBuilder {
    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::put_item::PutItemOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::put_item::PutItemError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -330,330 +372,372 @@
  350    350   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  351    351   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  352    352   
    ) -> Self {
  353    353   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  354    354   
            source,
  355    355   
            meta: meta.unwrap_or_default(),
  356    356   
        })
  357    357   
    }
  358    358   
}
  359    359   
  360         -
pub use crate::operation::query::_query_output::QueryOutput;
  361         -
  362    360   
pub use crate::operation::query::_query_input::QueryInput;
  363    361   
         362  +
pub use crate::operation::query::_query_output::QueryOutput;
         363  +
  364    364   
mod _query_input;
  365    365   
  366    366   
mod _query_output;
  367    367   
  368    368   
/// Builders
  369    369   
pub mod builders;
  370    370   
  371    371   
/// Paginator for this operation
  372    372   
pub mod paginator;

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/query/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::query::_query_output::QueryOutputBuilder;
    3         -
    4      2   
pub use crate::operation::query::_query_input::QueryInputBuilder;
    5      3   
           4  +
pub use crate::operation::query::_query_output::QueryOutputBuilder;
           5  +
    6      6   
impl crate::operation::query::builders::QueryInputBuilder {
    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::query::QueryOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::query::QueryError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/restore_table_from_backup.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::restore_table_from_backup::_restore_table_from_backup_output::RestoreTableFromBackupOutput;
  403         -
  404    402   
pub use crate::operation::restore_table_from_backup::_restore_table_from_backup_input::RestoreTableFromBackupInput;
  405    403   
         404  +
pub use crate::operation::restore_table_from_backup::_restore_table_from_backup_output::RestoreTableFromBackupOutput;
         405  +
  406    406   
mod _restore_table_from_backup_input;
  407    407   
  408    408   
mod _restore_table_from_backup_output;
  409    409   
  410    410   
/// Builders
  411    411   
pub mod builders;

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/restore_table_from_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::restore_table_from_backup::_restore_table_from_backup_output::RestoreTableFromBackupOutputBuilder;
    3         -
    4      2   
pub use crate::operation::restore_table_from_backup::_restore_table_from_backup_input::RestoreTableFromBackupInputBuilder;
    5      3   
           4  +
pub use crate::operation::restore_table_from_backup::_restore_table_from_backup_output::RestoreTableFromBackupOutputBuilder;
           5  +
    6      6   
impl crate::operation::restore_table_from_backup::builders::RestoreTableFromBackupInputBuilder {
    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::restore_table_from_backup::RestoreTableFromBackupOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::restore_table_from_backup::RestoreTableFromBackupError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -388,388 +427,427 @@
  408    408   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  409    409   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  410    410   
    ) -> Self {
  411    411   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  412    412   
            source,
  413    413   
            meta: meta.unwrap_or_default(),
  414    414   
        })
  415    415   
    }
  416    416   
}
  417    417   
  418         -
pub use crate::operation::restore_table_to_point_in_time::_restore_table_to_point_in_time_output::RestoreTableToPointInTimeOutput;
  419         -
  420    418   
pub use crate::operation::restore_table_to_point_in_time::_restore_table_to_point_in_time_input::RestoreTableToPointInTimeInput;
  421    419   
         420  +
pub use crate::operation::restore_table_to_point_in_time::_restore_table_to_point_in_time_output::RestoreTableToPointInTimeOutput;
         421  +
  422    422   
mod _restore_table_to_point_in_time_input;
  423    423   
  424    424   
mod _restore_table_to_point_in_time_output;
  425    425   
  426    426   
/// Builders
  427    427   
pub mod builders;

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/restore_table_to_point_in_time/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::restore_table_to_point_in_time::_restore_table_to_point_in_time_output::RestoreTableToPointInTimeOutputBuilder;
    3         -
    4      2   
pub use crate::operation::restore_table_to_point_in_time::_restore_table_to_point_in_time_input::RestoreTableToPointInTimeInputBuilder;
    5      3   
           4  +
pub use crate::operation::restore_table_to_point_in_time::_restore_table_to_point_in_time_output::RestoreTableToPointInTimeOutputBuilder;
           5  +
    6      6   
impl crate::operation::restore_table_to_point_in_time::builders::RestoreTableToPointInTimeInputBuilder {
    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::restore_table_to_point_in_time::RestoreTableToPointInTimeOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::restore_table_to_point_in_time::RestoreTableToPointInTimeError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -330,330 +372,372 @@
  350    350   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  351    351   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  352    352   
    ) -> Self {
  353    353   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  354    354   
            source,
  355    355   
            meta: meta.unwrap_or_default(),
  356    356   
        })
  357    357   
    }
  358    358   
}
  359    359   
  360         -
pub use crate::operation::scan::_scan_output::ScanOutput;
  361         -
  362    360   
pub use crate::operation::scan::_scan_input::ScanInput;
  363    361   
         362  +
pub use crate::operation::scan::_scan_output::ScanOutput;
         363  +
  364    364   
mod _scan_input;
  365    365   
  366    366   
mod _scan_output;
  367    367   
  368    368   
/// Builders
  369    369   
pub mod builders;
  370    370   
  371    371   
/// Paginator for this operation
  372    372   
pub mod paginator;

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/scan/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::scan::_scan_output::ScanOutputBuilder;
    3         -
    4      2   
pub use crate::operation::scan::_scan_input::ScanInputBuilder;
    5      3   
           4  +
pub use crate::operation::scan::_scan_output::ScanOutputBuilder;
           5  +
    6      6   
impl crate::operation::scan::builders::ScanInputBuilder {
    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::scan::ScanOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::scan::ScanError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/tag_resource.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::tag_resource::_tag_resource_output::TagResourceOutput;
  378         -
  379    377   
pub use crate::operation::tag_resource::_tag_resource_input::TagResourceInput;
  380    378   
         379  +
pub use crate::operation::tag_resource::_tag_resource_output::TagResourceOutput;
         380  +
  381    381   
mod _tag_resource_input;
  382    382   
  383    383   
mod _tag_resource_output;
  384    384   
  385    385   
/// Builders
  386    386   
pub mod builders;

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/tag_resource/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::tag_resource::_tag_resource_output::TagResourceOutputBuilder;
    3         -
    4      2   
pub use crate::operation::tag_resource::_tag_resource_input::TagResourceInputBuilder;
    5      3   
           4  +
pub use crate::operation::tag_resource::_tag_resource_output::TagResourceOutputBuilder;
           5  +
    6      6   
impl crate::operation::tag_resource::builders::TagResourceInputBuilder {
    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::tag_resource::TagResourceOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::tag_resource::TagResourceError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -486,486 +525,525 @@
  506    506   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  507    507   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  508    508   
    ) -> Self {
  509    509   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  510    510   
            source,
  511    511   
            meta: meta.unwrap_or_default(),
  512    512   
        })
  513    513   
    }
  514    514   
}
  515    515   
  516         -
pub use crate::operation::transact_get_items::_transact_get_items_output::TransactGetItemsOutput;
  517         -
  518    516   
pub use crate::operation::transact_get_items::_transact_get_items_input::TransactGetItemsInput;
  519    517   
         518  +
pub use crate::operation::transact_get_items::_transact_get_items_output::TransactGetItemsOutput;
         519  +
  520    520   
mod _transact_get_items_input;
  521    521   
  522    522   
mod _transact_get_items_output;
  523    523   
  524    524   
/// Builders
  525    525   
pub mod builders;

tmp-codegen-diff/codegen-client-test/dynamo/rust-client-codegen/src/operation/transact_get_items/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::transact_get_items::_transact_get_items_output::TransactGetItemsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::transact_get_items::_transact_get_items_input::TransactGetItemsInputBuilder;
    5      3   
           4  +
pub use crate::operation::transact_get_items::_transact_get_items_output::TransactGetItemsOutputBuilder;
           5  +
    6      6   
impl crate::operation::transact_get_items::builders::TransactGetItemsInputBuilder {
    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::transact_get_items::TransactGetItemsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::transact_get_items::TransactGetItemsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

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

@@ -514,514 +553,553 @@
  534    534   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  535    535   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  536    536   
    ) -> Self {
  537    537   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  538    538   
            source,
  539    539   
            meta: meta.unwrap_or_default(),
  540    540   
        })
  541    541   
    }
  542    542   
}
  543    543   
  544         -
pub use crate::operation::transact_write_items::_transact_write_items_output::TransactWriteItemsOutput;
  545         -
  546    544   
pub use crate::operation::transact_write_items::_transact_write_items_input::TransactWriteItemsInput;
  547    545   
         546  +
pub use crate::operation::transact_write_items::_transact_write_items_output::TransactWriteItemsOutput;
         547  +
  548    548   
mod _transact_write_items_input;
  549    549   
  550    550   
mod _transact_write_items_output;
  551    551   
  552    552   
/// Builders
  553    553   
pub mod builders;