Client Test

Client Test

rev. 7254d43655ed63111c94f599437f2b0d3f55446e (ignoring whitespace)

Files changed:

tmp-codegen-diff/codegen-client-test/ebs/rust-client-codegen/src/types/builders.rs

@@ -1,1 +0,6 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::types::_tag::TagBuilder;
           2  +
pub use crate::types::_changed_block::ChangedBlockBuilder;
    3      3   
    4      4   
pub use crate::types::_block::BlockBuilder;
    5      5   
    6         -
pub use crate::types::_changed_block::ChangedBlockBuilder;
           6  +
pub use crate::types::_tag::TagBuilder;

tmp-codegen-diff/codegen-client-test/ebs/rust-client-codegen/src/types/error.rs

@@ -1,1 +35,35 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::types::error::_validation_exception::ValidationError;
    3         -
    4         -
pub use crate::types::error::_service_quota_exceeded_exception::ServiceQuotaExceededError;
           2  +
pub use crate::types::error::_access_denied_exception::AccessDeniedError;
    5      3   
    6         -
pub use crate::types::error::_resource_not_found_exception::ResourceNotFoundError;
           4  +
pub use crate::types::error::_internal_server_exception::InternalServerError;
    7      5   
    8      6   
pub use crate::types::error::_request_throttled_exception::RequestThrottledError;
    9      7   
   10         -
pub use crate::types::error::_internal_server_exception::InternalServerError;
           8  +
pub use crate::types::error::_resource_not_found_exception::ResourceNotFoundError;
   11      9   
   12         -
pub use crate::types::error::_conflict_exception::ConflictError;
          10  +
pub use crate::types::error::_service_quota_exceeded_exception::ServiceQuotaExceededError;
          11  +
          12  +
pub use crate::types::error::_validation_exception::ValidationError;
   13     13   
   14     14   
pub use crate::types::error::_concurrent_limit_exceeded_exception::ConcurrentLimitExceededError;
   15     15   
   16         -
pub use crate::types::error::_access_denied_exception::AccessDeniedError;
          16  +
pub use crate::types::error::_conflict_exception::ConflictError;
   17     17   
   18     18   
mod _access_denied_exception;
   19     19   
   20     20   
mod _concurrent_limit_exceeded_exception;
   21     21   
   22     22   
mod _conflict_exception;
   23     23   
   24     24   
mod _internal_server_exception;
   25     25   
   26     26   
mod _request_throttled_exception;

tmp-codegen-diff/codegen-client-test/ebs/rust-client-codegen/src/types/error/builders.rs

@@ -1,1 +0,16 @@
    1      1   
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
    2         -
pub use crate::types::error::_validation_exception::ValidationErrorBuilder;
    3         -
    4         -
pub use crate::types::error::_service_quota_exceeded_exception::ServiceQuotaExceededErrorBuilder;
           2  +
pub use crate::types::error::_access_denied_exception::AccessDeniedErrorBuilder;
    5      3   
    6         -
pub use crate::types::error::_resource_not_found_exception::ResourceNotFoundErrorBuilder;
           4  +
pub use crate::types::error::_internal_server_exception::InternalServerErrorBuilder;
    7      5   
    8      6   
pub use crate::types::error::_request_throttled_exception::RequestThrottledErrorBuilder;
    9      7   
   10         -
pub use crate::types::error::_internal_server_exception::InternalServerErrorBuilder;
           8  +
pub use crate::types::error::_resource_not_found_exception::ResourceNotFoundErrorBuilder;
   11      9   
   12         -
pub use crate::types::error::_conflict_exception::ConflictErrorBuilder;
          10  +
pub use crate::types::error::_service_quota_exceeded_exception::ServiceQuotaExceededErrorBuilder;
          11  +
          12  +
pub use crate::types::error::_validation_exception::ValidationErrorBuilder;
   13     13   
   14     14   
pub use crate::types::error::_concurrent_limit_exceeded_exception::ConcurrentLimitExceededErrorBuilder;
   15     15   
   16         -
pub use crate::types::error::_access_denied_exception::AccessDeniedErrorBuilder;
          16  +
pub use crate::types::error::_conflict_exception::ConflictErrorBuilder;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/datetime_offsets.rs

@@ -381,381 +420,420 @@
  401    401   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  402    402   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  403    403   
    ) -> Self {
  404    404   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  405    405   
            source,
  406    406   
            meta: meta.unwrap_or_default(),
  407    407   
        })
  408    408   
    }
  409    409   
}
  410    410   
  411         -
pub use crate::operation::datetime_offsets::_datetime_offsets_output::DatetimeOffsetsOutput;
  412         -
  413    411   
pub use crate::operation::datetime_offsets::_datetime_offsets_input::DatetimeOffsetsInput;
  414    412   
         413  +
pub use crate::operation::datetime_offsets::_datetime_offsets_output::DatetimeOffsetsOutput;
         414  +
  415    415   
mod _datetime_offsets_input;
  416    416   
  417    417   
mod _datetime_offsets_output;
  418    418   
  419    419   
/// Builders
  420    420   
pub mod builders;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/datetime_offsets/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::datetime_offsets::_datetime_offsets_output::DatetimeOffsetsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::datetime_offsets::_datetime_offsets_input::DatetimeOffsetsInputBuilder;
    5      3   
           4  +
pub use crate::operation::datetime_offsets::_datetime_offsets_output::DatetimeOffsetsOutputBuilder;
           5  +
    6      6   
impl crate::operation::datetime_offsets::builders::DatetimeOffsetsInputBuilder {
    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::datetime_offsets::DatetimeOffsetsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::datetime_offsets::DatetimeOffsetsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/empty_input_and_empty_output.rs

@@ -370,370 +409,409 @@
  390    390   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  391    391   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  392    392   
    ) -> Self {
  393    393   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  394    394   
            source,
  395    395   
            meta: meta.unwrap_or_default(),
  396    396   
        })
  397    397   
    }
  398    398   
}
  399    399   
  400         -
pub use crate::operation::empty_input_and_empty_output::_empty_input_and_empty_output_output::EmptyInputAndEmptyOutputOutput;
  401         -
  402    400   
pub use crate::operation::empty_input_and_empty_output::_empty_input_and_empty_output_input::EmptyInputAndEmptyOutputInput;
  403    401   
         402  +
pub use crate::operation::empty_input_and_empty_output::_empty_input_and_empty_output_output::EmptyInputAndEmptyOutputOutput;
         403  +
  404    404   
mod _empty_input_and_empty_output_input;
  405    405   
  406    406   
mod _empty_input_and_empty_output_output;
  407    407   
  408    408   
/// Builders
  409    409   
pub mod builders;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/empty_input_and_empty_output/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::empty_input_and_empty_output::_empty_input_and_empty_output_output::EmptyInputAndEmptyOutputOutputBuilder;
    3         -
    4      2   
pub use crate::operation::empty_input_and_empty_output::_empty_input_and_empty_output_input::EmptyInputAndEmptyOutputInputBuilder;
    5      3   
           4  +
pub use crate::operation::empty_input_and_empty_output::_empty_input_and_empty_output_output::EmptyInputAndEmptyOutputOutputBuilder;
           5  +
    6      6   
impl crate::operation::empty_input_and_empty_output::builders::EmptyInputAndEmptyOutputInputBuilder {
    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::empty_input_and_empty_output::EmptyInputAndEmptyOutputOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::empty_input_and_empty_output::EmptyInputAndEmptyOutputError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/endpoint_operation.rs

@@ -334,334 +373,373 @@
  354    354   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  355    355   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  356    356   
    ) -> Self {
  357    357   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  358    358   
            source,
  359    359   
            meta: meta.unwrap_or_default(),
  360    360   
        })
  361    361   
    }
  362    362   
}
  363    363   
  364         -
pub use crate::operation::endpoint_operation::_endpoint_operation_output::EndpointOperationOutput;
  365         -
  366    364   
pub use crate::operation::endpoint_operation::_endpoint_operation_input::EndpointOperationInput;
  367    365   
         366  +
pub use crate::operation::endpoint_operation::_endpoint_operation_output::EndpointOperationOutput;
         367  +
  368    368   
mod _endpoint_operation_input;
  369    369   
  370    370   
mod _endpoint_operation_output;
  371    371   
  372    372   
/// Builders
  373    373   
pub mod builders;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/endpoint_operation/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::endpoint_operation::_endpoint_operation_output::EndpointOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::endpoint_operation::_endpoint_operation_input::EndpointOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::endpoint_operation::_endpoint_operation_output::EndpointOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::endpoint_operation::builders::EndpointOperationInputBuilder {
    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::endpoint_operation::EndpointOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::endpoint_operation::EndpointOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/endpoint_with_host_label_operation.rs

@@ -361,361 +400,400 @@
  381    381   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  382    382   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  383    383   
    ) -> Self {
  384    384   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  385    385   
            source,
  386    386   
            meta: meta.unwrap_or_default(),
  387    387   
        })
  388    388   
    }
  389    389   
}
  390    390   
  391         -
pub use crate::operation::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_output::EndpointWithHostLabelOperationOutput;
  392         -
  393    391   
pub use crate::operation::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_input::EndpointWithHostLabelOperationInput;
  394    392   
         393  +
pub use crate::operation::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_output::EndpointWithHostLabelOperationOutput;
         394  +
  395    395   
mod _endpoint_with_host_label_operation_input;
  396    396   
  397    397   
mod _endpoint_with_host_label_operation_output;
  398    398   
  399    399   
/// Builders
  400    400   
pub mod builders;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/endpoint_with_host_label_operation/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::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_output::EndpointWithHostLabelOperationOutputBuilder;
    3         -
    4      2   
pub use crate::operation::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_input::EndpointWithHostLabelOperationInputBuilder;
    5      3   
           4  +
pub use crate::operation::endpoint_with_host_label_operation::_endpoint_with_host_label_operation_output::EndpointWithHostLabelOperationOutputBuilder;
           5  +
    6      6   
impl crate::operation::endpoint_with_host_label_operation::builders::EndpointWithHostLabelOperationInputBuilder {
    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::endpoint_with_host_label_operation::EndpointWithHostLabelOperationOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::endpoint_with_host_label_operation::EndpointWithHostLabelOperationError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/fractional_seconds.rs

@@ -339,339 +378,378 @@
  359    359   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  360    360   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  361    361   
    ) -> Self {
  362    362   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  363    363   
            source,
  364    364   
            meta: meta.unwrap_or_default(),
  365    365   
        })
  366    366   
    }
  367    367   
}
  368    368   
  369         -
pub use crate::operation::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutput;
  370         -
  371    369   
pub use crate::operation::fractional_seconds::_fractional_seconds_input::FractionalSecondsInput;
  372    370   
         371  +
pub use crate::operation::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutput;
         372  +
  373    373   
mod _fractional_seconds_input;
  374    374   
  375    375   
mod _fractional_seconds_output;
  376    376   
  377    377   
/// Builders
  378    378   
pub mod builders;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/fractional_seconds/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::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::fractional_seconds::_fractional_seconds_input::FractionalSecondsInputBuilder;
    5      3   
           4  +
pub use crate::operation::fractional_seconds::_fractional_seconds_output::FractionalSecondsOutputBuilder;
           5  +
    6      6   
impl crate::operation::fractional_seconds::builders::FractionalSecondsInputBuilder {
    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::fractional_seconds::FractionalSecondsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::fractional_seconds::FractionalSecondsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/greeting_with_errors.rs

@@ -447,447 +486,486 @@
  467    467   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  468    468   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  469    469   
    ) -> Self {
  470    470   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  471    471   
            source,
  472    472   
            meta: meta.unwrap_or_default(),
  473    473   
        })
  474    474   
    }
  475    475   
}
  476    476   
  477         -
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
  478         -
  479    477   
pub use crate::operation::greeting_with_errors::_greeting_with_errors_input::GreetingWithErrorsInput;
  480    478   
         479  +
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutput;
         480  +
  481    481   
mod _greeting_with_errors_input;
  482    482   
  483    483   
mod _greeting_with_errors_output;
  484    484   
  485    485   
/// Builders
  486    486   
pub mod builders;

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/greeting_with_errors/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::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutputBuilder;
    3         -
    4      2   
pub use crate::operation::greeting_with_errors::_greeting_with_errors_input::GreetingWithErrorsInputBuilder;
    5      3   
           4  +
pub use crate::operation::greeting_with_errors::_greeting_with_errors_output::GreetingWithErrorsOutputBuilder;
           5  +
    6      6   
impl crate::operation::greeting_with_errors::builders::GreetingWithErrorsInputBuilder {
    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::greeting_with_errors::GreetingWithErrorsOutput,
   13     13   
        ::aws_smithy_runtime_api::client::result::SdkError<
   14     14   
            crate::operation::greeting_with_errors::GreetingWithErrorsError,
   15     15   
            ::aws_smithy_runtime_api::client::orchestrator::HttpResponse,

tmp-codegen-diff/codegen-client-test/ec2_query/rust-client-codegen/src/operation/host_with_path_operation.rs

@@ -331,331 +370,370 @@
  351    351   
        source: ::std::boxed::Box<dyn ::std::error::Error + ::std::marker::Send + ::std::marker::Sync + 'static>,
  352    352   
        meta: ::std::option::Option<::aws_smithy_types::error::ErrorMetadata>,
  353    353   
    ) -> Self {
  354    354   
        Self::Unhandled(crate::error::sealed_unhandled::Unhandled {
  355    355   
            source,
  356    356   
            meta: meta.unwrap_or_default(),
  357    357   
        })
  358    358   
    }
  359    359   
}
  360    360   
  361         -
pub use crate::operation::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutput;
  362         -
  363    361   
pub use crate::operation::host_with_path_operation::_host_with_path_operation_input::HostWithPathOperationInput;
  364    362   
         363  +
pub use crate::operation::host_with_path_operation::_host_with_path_operation_output::HostWithPathOperationOutput;
         364  +
  365    365   
mod _host_with_path_operation_input;
  366    366   
  367    367   
mod _host_with_path_operation_output;
  368    368   
  369    369   
/// Builders
  370    370   
pub mod builders;